Operating System - HP-UX
1819831 Members
2957 Online
109607 Solutions
New Discussion юеВ

Re: restarting httpd service. ?

 
SOLVED
Go to solution
rveri
Super Advisor

restarting httpd service. ?

Hi All,

I am going to place modified httpd.conf file (as per the request from the other team), in /opt/hpapache2/conf/ directory , to replace the current httpd.conf file.

I need to restart the httpd service after replacing the file.

How to restart the httpd service .


Thanks,
veri.
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: restarting httpd service. ?

cd /sbin/init.d
./apache stop
./apache start
If it ain't broke, I can fix that.
LiPEnS
Valued Contributor

Re: restarting httpd service. ?

Hi
/sbin/init.d/hpws_apache stop
/sbin/init.d/hpws_apache start

Regards
Rick Garland
Honored Contributor

Re: restarting httpd service. ?

Depending on version of apache and where installed.

/opt/hpws/apache/bin/apachectl restart

This is the version that came with the HPUX OS.
This command will stop and restart the service.

The
/sbin/init.d/apache stop
/sbin/init.d/apache/start
will work as well.

Raj D.
Honored Contributor

Re: restarting httpd service. ?

Hi ,

# cd /sbin/init.d

# ./hpapache2 stop
# ./hpapache2 start

The file name depends on the version of Apache Web server.

hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
rveri
Super Advisor

Re: restarting httpd service. ?

Thanks all.