Auto Start Sybase script not working
- From: "asdf" <asdf@xxxxxxxx>
- Date: Thu, 27 Sep 2007 20:36:55 -0400
Successfully installed Sybase ASE 15 on RH 4
I'm able to start it by running 'erverstart ./RUN_SYBASE'
However I'm unable to write a working script to start the
server upon each reboot.
I've found the following dicussion
http://www.webservertalk.com/archive87-2005-10-1250521.html
and tried implementing this for version 15.
Here is what my script looks like roughly:
---------------------------
#!/bin/bash
unset lang
cd /opt/sybase/ASE-15_0/install
su -c "./startserver -f ./RUN_SYBASE" root
su -c "./startserver -f ./RUN_SYBASE_BS" root
-----------------------------
When I'm logged in as root and execute the script it all works well
but during reboot 'var/log/messages' reports that script was executed
but the server isn't running when I do 'showserver'.
It looks like permissions error but I'm not sure how to troubleshoot it.
I've installed ASE as a root which I know isn't the best thing to do but
this is just a test environment.
Any idea on how to modify the script to have the server startup
automatically are much appreciated.
.
- Follow-Ups:
- Re: Auto Start Sybase script not working
- From: Benny Nielsen
- Re: Auto Start Sybase script not working
- From: J.O. Aho
- Re: Auto Start Sybase script not working
- Prev by Date: Re: A little bash/perl programming help?
- Next by Date: Re: Xbuntu
- Previous by thread: Re: A little bash/perl programming help?
- Next by thread: Re: Auto Start Sybase script not working
- Index(es):
Relevant Pages
|