Unix Technical Forum

Restarting Services

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 08:05 PM
Chris Blackburn
 
Posts: n/a
Default Restarting Services

-----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-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 08:05 PM
Lars Bausch
 
Posts: n/a
Default Re: Restarting Services

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 08:05 PM
Chris Blackburn
 
Posts: n/a
Default Re: Restarting Services

-----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-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 08:05 PM
John Foley
 
Posts: n/a
Default Re: Restarting Services

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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com