Auto Start Sybase script not working



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.




.



Relevant Pages

  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)
  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script Runs perfectly fine from the command prompt. ... # This is the main Apache HTTP server configuration file. ... LoadModule actions_module modules/mod_actions.so ...
    (perl.beginners)
  • Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)
  • Re: Regarding a selection for mobile code/scripting language
    ... Client Side scripting, so the server can send script commands to the client. ... I decided they should be scripted and mobile code. ...
    (Vuln-Dev)
  • Re: HTTPSConnection script fails, but only on some servers (long)
    ... (HTTP/CONNECT + switch to HTTPS) ... wget and my python script. ... >>The python script works with server A, ... the problem seems to depend on both the client ...
    (comp.lang.python)