Operating System - HP-UX
1833784 Members
2765 Online
110063 Solutions
New Discussion

How to turn off web services in my HPUX machine

 
SOLVED
Go to solution
itreyger
Frequent Advisor

How to turn off web services in my HPUX machine

I am running Apache as a web server. Please let me know. Thanks
8 REPLIES 8
Robert-Jan Goossens
Honored Contributor
Solution

Re: How to turn off web services in my HPUX machine

Hi,

You are not telling us if this the default HP apache install.

# /sbin/init.d/apache stop
# mv /sbin/init.d/apache /sbin/init.d/ORG.apache

Regards,
Robert-Jan
Patrick Wallek
Honored Contributor

Re: How to turn off web services in my HPUX machine

The most basic form:

# apachectl stop

Ivan Krastev
Honored Contributor

Re: How to turn off web services in my HPUX machine

Use:
/sbin/init.d/hpws_apache stop

And disable auto start in /etc/rc.config.d/hpws_apacheconf :

export HPWS_APACHE_START=0


regards,
ivan
Steven E. Protter
Exalted Contributor

Re: How to turn off web services in my HPUX machine

Shalom,

There are startup parameters in:
hpws_apacheconf
hpws_tomcatconf
hpws_webminconf
hpws_xmltoolsconf

All four should be disabled to avoid error messages and keep web services off at boot time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
itreyger
Frequent Advisor

Re: How to turn off web services in my HPUX machine

I have done apachect1 stop and also hpws_apache stop and made sure that it will not set to 1. I am still getting reports that web site is still running.Thanks
itreyger
Frequent Advisor

Re: How to turn off web services in my HPUX machine

I entered following URL and getting web page http://host IP/supercell/
What should I do web services. I followed everybody's recommendations but still web page is active.Thanks
itreyger
Frequent Advisor

Re: How to turn off web services in my HPUX machine

I was able to get "Page cannot be found"
when I ran following command:


# /sbin/init.d/apache stop

Thanks
itreyger
Frequent Advisor

Re: How to turn off web services in my HPUX machine

Thanks Robert-Jan Goossens