This is a discussion on Restarting Services within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have installed the HP Webserver depot thing from the ITRC website ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have installed the HP Webserver depot thing from the ITRC website and all is hunky dory except, whenever I want to change the config of apache I end up rebooting the whole system because I dont know how to restart a single service. So how do you restart a service without restarting the entire system Thanks - -- Chris Blackburn E-Mail: cblackburn36NOSPAM@softhome.net E-Mail: cblackburn36@NOSPAMgmail.com PGP Public Key: http://makeashorterlink.com/?C2AF31929 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCYjm9xsNEmi5WofsRAjohAJ9nyuJ+E3sXFoAn5MKHlU wHW/N7pACgwDS1 98DLv5SMP5e9OFk01kg7bTE= =BgS2 -----END PGP SIGNATURE----- |
| |||
| Chris Blackburn wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I have installed the HP Webserver depot thing from the ITRC website and > all is hunky dory except, whenever I want to change the config of apache > I end up rebooting the whole system because I dont know how to restart a > single service. If you mean apache, with "/opt/hpws/apache/bin/apachectl restart". > So how do you restart a service without restarting the entire system Other services, wich are started at boot / halted at shutdown, with /sbin/init.d/$NAME stop ; /sbin/init.d/$NAME start. Lars |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lars Bausch wrote: | Other services, wich are started at boot / halted at shutdown, with | /sbin/init.d/$NAME stop ; /sbin/init.d/$NAME start. Thanks, worked a treat - -- Chris Blackburn E-Mail: cblackburn36NOSPAM@softhome.net E-Mail: cblackburn36@NOSPAMgmail.com PGP Public Key: http://makeashorterlink.com/?C2AF31929 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCYmY4xsNEmi5WofsRAmGyAJ9divX+xLoHU5Gh4iqKzR Uq2JgoHACg7+1w cSUz3O/Z3nUzGhtjzVFi6mQ= =pcwx -----END PGP SIGNATURE----- |
| ||||
| Chris Blackburn wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I have installed the HP Webserver depot thing from the ITRC website and > all is hunky dory except, whenever I want to change the config of apache > I end up rebooting the whole system because I dont know how to restart a > single service. > > So how do you restart a service without restarting the entire system Chris - in general, each service is different - in the case of apache, use /opt/apache/bin/apachectl graceful (replace the path to the apache bin directory with the path where you installed it). This restarts apache in the most "graceful" way. John -- ################################################## ###################### # John Foley # Maildrop: IL02 - Room EA 900 # # IT & Systems Administration # Email: john.foley@motorola.com # # Applied Technology Department # Phone: (847) 576-8719 # # Motorola, Inc. # Fax: (847) 576-6521 # # 1301 East Algonquin Rd. # Cell: (847) 344-3026 (Nextel) # # Schaumburg, Illinois 60196 (USA) # Pager: (877) 240-2724 (Skytel) # ################################################## ###################### (this email sent using Mozilla on Windows) |