Operating System - HP-UX
1845709 Members
3657 Online
110247 Solutions
New Discussion

Re: Sybase Startup Script

 
James Quade
New Member

Sybase Startup Script

Hello All,
I am trying to run Sybase on machine start up: a D370,HPUX 11.0, Sybase 11.9.2.I am linked from S99sybase in /sbin/rc3.d to /sbin/init.d/sybase (see att). My rc.log shows 'Sybase Servers have been started' as the last entry, however I see no sybase procces running. I've checked /var/SybaseLogs/error.log and all that is shown is Sybase shutting down.Any ideas?
4 REPLIES 4
Brian Markus
Valued Contributor

Re: Sybase Startup Script

I noticed you don't have the - in the su. I've had troubles in the past starting databases with out it. The - will tell the system to use that users .profile Most Databases have a lot of environment variables set, and will not work with out your profiles.

su - oracle -c dbstart 2>&1

Hope this helps.
When a sys-admin say's maybe, they don't mean 'yes'!
James Quade
New Member

Re: Sybase Startup Script

Brian,
Thanks, I tried that, I started getting tty not a typewriter in my rc.log and no startup. It did appear that it got a little farther along though. Still working on it.
Jim
James Quade
New Member

Re: Sybase Startup Script

Hello all,
Well I tried adding nohup

nohup su sybase -c
The processes seem to all start up, will have my dba check it out.
Thanks again
Brian Markus
Valued Contributor

Re: Sybase Startup Script

Try re-directing the standard out and standard error to /dev/null
When a sys-admin say's maybe, they don't mean 'yes'!