- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- startup script
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
03-24-2004 08:28 PM
03-24-2004 08:28 PM
startup script
we wrote a startup sctipts and put in rc2.d but whenever the server reboot.... i will see message like "sleep command not found"... "su command not found" when the sctipt being excuted.
but if i run the script manually, it started fine with no error.
any idea y?
thannks for all help :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 08:29 PM
03-24-2004 08:29 PM
Re: startup script
:-) John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 08:30 PM
03-24-2004 08:30 PM
Re: startup script
Maybe you not have whole path of the commands.
Try with that.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 08:31 PM
03-24-2004 08:31 PM
Re: startup script
i.e. /usr/bin/sleep
or /usr/bin/su
and it should work
With best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 08:31 PM
03-24-2004 08:31 PM
Re: startup script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 08:40 PM
03-24-2004 08:40 PM
Re: startup script
Or replace sleep with /usr/bin/sleep.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 08:42 PM
03-24-2004 08:42 PM
Re: startup script
intially the script was written in full path
eg, /usr/bin/sleep i changed it into
eg,
PATH = /usr/bin
sleep 15 /xxx/xxxx/xx
but it still dont work and cause the server to crashed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 08:45 PM
03-24-2004 08:45 PM
Re: startup script
Can you attach the script ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 08:47 PM
03-24-2004 08:47 PM
Re: startup script
Also, posting the script might be useful to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 09:16 PM
03-24-2004 09:16 PM
Re: startup script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 09:34 PM
03-24-2004 09:34 PM
Re: startup script
1. Give the full path in the script.
2. Check the control variable defined in rc.config.d which is controlling the script.
3. Start & Stop the script defined in init.d manually.
4. Use init command to change the init level to confirm whether the script starts or not.
5. Start sequence S900 and Kill sequence K100 is Ok.
sks