- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Startup Sevice during boot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 02:15 AM
09-22-2005 02:15 AM
Startup Sevice during boot
My problem:
We have a HP-UX Server running Sybase (Datebase) and it service needs to be UP every time that the HP-UX start (or restart).
I need to do a script to automatic this service during the boot.
Where Can I put this script to run the Sybase automatic? /etc/rc ??
And a script manual?
We don´t have a rc.local file in HP-UX. Isn´t right?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 02:21 AM
09-22-2005 02:21 AM
Re: Startup Sevice during boot
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=959103
Regards
Torsten
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 02:43 AM
09-22-2005 02:43 AM
Re: Startup Sevice during boot
To stop at run level 2 on the way down
cd /sbin/rc3.d
ln -s /sbin/init.d/sybasestart S800startsybase
cd /sbin/rc2.d
ln -s /sbin/init.d/sybasestart K200stopsybase
/sbin/init.d
There is a script called template there.
Copy that to sybasestart
Modify it so it switches to the sybase user id(the id that owns the binaries) and starts the database.
I am assuming sybase provided scripts to start the database.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 04:08 AM
09-22-2005 04:08 AM
Re: Startup Sevice during boot
Here is a good doc , that explains the RC startup process at boot time, and hopefully u can put the sybase script .
1. /etc/rc.config.d/your_file [Configuration file ]
2. /sbin/init.d/your_file [ Execution file ]
3. /sbin/rc#.d/SXXX [ Execution script Link]
4. /sbin/rc(#-1).d/K(1000-XXX).. [ Stop script]
Hope this will help ..
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 04:08 AM
09-22-2005 04:08 AM
Re: Startup Sevice during boot
Here is a good doc , that explains the RC startup process at boot time, and hopefully u can put the sybase script .
1. /etc/rc.config.d/your_file [Configuration file ]
2. /sbin/init.d/your_file [ Execution file ]
3. /sbin/rc#.d/SXXX [ Execution script Link]
4. /sbin/rc(#-1).d/K(1000-XXX).. [ Stop script]
Hope this will help ..
Cheers,
Raj.