- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- System 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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-19-2001 08:15 PM
тАО08-19-2001 08:15 PM
System startup script
Need help on the following
1. Where are startup scripts kept in HP-UX 11
2. How do I code the shell scripts to start programs. In Linux, there is the /etc/rc/init.d/rc2.d .. rc3.d etc. What is the HP-UX equivalent?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2001 08:20 PM
тАО08-19-2001 08:20 PM
Re: System startup script
The configuration files for the startup scripts are in /etc/rc.config.d and the scripts themselves are in /sbin/init.d directory.
These scripts are linked from /sbin/rc?.d, where ? is the run-level.
Unfortunately in HP-UX (AFAIK) there is no command to enable/disable startup scripts like in Linux where we can use something like chkconfig.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2001 08:25 PM - last edited on тАО07-07-2022 04:16 AM by Sunitha_Mod
тАО08-19-2001 08:25 PM - last edited on тАО07-07-2022 04:16 AM by Sunitha_Mod
Re: System startup script
Hi Masood,
You'll find HP-UX 11.00 to be similar to what you know with Linux.
Startup scripts are stored in /sbin/init.d
Start/Stop links are stored in /sbin/rc*.d
where * is the numeric run level
Configuration files are stored in /etc/rc.config.d
The document /usr/share/doc/start_up.txt is probably your best starting point.
All the best,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2001 08:27 PM
тАО08-19-2001 08:27 PM
Re: System startup script
I don't exactly remember but there was a document in /usr/share/doc directory called startup.txt
That should give you more information about how the startup/shutdown scripts work in HP (both 10.x and 11.x)
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2001 10:52 PM
тАО08-19-2001 10:52 PM
Re: System startup script
The attached pdf should be helpful for you in writing startup scripts.
...BPK...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2001 11:55 PM
тАО08-19-2001 11:55 PM
Re: System startup script
Thanks for the tip.
Rgds