HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Start apache on boot
Operating System - HP-UX
1833704
Members
2252
Online
110062
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-24-2006 06:23 AM
08-24-2006 06:23 AM
Start apache on boot
Hi, I am trying to get apache to start on boot. Does anyone know how to do this in HP-UX. On my Linux machine I could just add the start command to rc.local, but that doesn't exist on HP-UX. Thanks for the help.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2006 06:27 AM
08-24-2006 06:27 AM
Re: Start apache on boot
Hi Eric:
You simply need to configure a start and a kill (stop) script in '/sbin/init.d/'.
The standard start/stop paradigm is described in the very short white-paper below. Don't let the release of 10.x fool you. The model applies through all HP-UX releases today.
http://www.docs.hp.com/en/934/startup.pdf
A short summary of the paper actually appears in the manpages for 'rc(1M)'.
http://www.docs.hp.com/en/B2355-60127/rc.1M.html
Note that there is a template script that you should copy ('/sbin/init.d/template') to form the basis for your custom script.
Regards!
...JRF...
You simply need to configure a start and a kill (stop) script in '/sbin/init.d/'.
The standard start/stop paradigm is described in the very short white-paper below. Don't let the release of 10.x fool you. The model applies through all HP-UX releases today.
http://www.docs.hp.com/en/934/startup.pdf
A short summary of the paper actually appears in the manpages for 'rc(1M)'.
http://www.docs.hp.com/en/B2355-60127/rc.1M.html
Note that there is a template script that you should copy ('/sbin/init.d/template') to form the basis for your custom script.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2006 06:37 AM
08-24-2006 06:37 AM
Re: Start apache on boot
you need to configure startup/shutdown script
/sbin/rc3.d/S900apache --> startup script.
/sbin/rc2.d/K100apache --> killing script.
Both are soft links pointing to /sbin/init.d/apache script which you have to create from /sbin/init.d/template.
/etc/rc.config.d/apache --> use variable value "0" or "1" to tell script "not to run" or "run" at boot.
/sbin/rc3.d/S900apache --> startup script.
/sbin/rc2.d/K100apache --> killing script.
Both are soft links pointing to /sbin/init.d/apache script which you have to create from /sbin/init.d/template.
/etc/rc.config.d/apache --> use variable value "0" or "1" to tell script "not to run" or "run" at boot.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP