Operating System - HP-UX
1849621 Members
8011 Online
104044 Solutions
New Discussion

Re: apache will neither start nor stop

 
SOLVED
Go to solution
Oliver Schmitz
Regular Advisor

apache will neither start nor stop

Hi again,

after I finally finnished the installation of my hpapache I got more problems:

In the documentation it is mentioned that the apache (/opt/hpapache2/bin/apachectl) is started automatically.
I did a ps -ef |grep apachectl (and more) and saw that it is not running.
Tried a start and the shell hangs (no reaction to nothing).

What shall I do to test the proper functionality of this apache? Are there patches needed or something else to pay attention to?

Thanks again and best regards,

Oliver
Oliver Schmitz
3 REPLIES 3
Michael Schulte zur Sur
Honored Contributor
Solution

Re: apache will neither start nor stop

Hi,

Look for httpd.
Have you run /opt/hpapache2/bin/apachectl start?

greetings,

Michael
Helen French
Honored Contributor

Re: apache will neither start nor stop

You can try this:

# /opt/hpapache2/bin/apachectl start

Also, to start automatically, check the configuration file for apache under /etc/rc.config.d and make the values to 1 in order to start. After that, you can also start it by:

# /sbin/init.d/hpws_apache start

# ps -aef | grep http (check if apache is running)
Life is a promise, fulfill it!
Robert-Jan Goossens
Honored Contributor

Re: apache will neither start nor stop

Hi Oliver,

Are you shure apache is installed in /opt/hpapache2/bin check this doc.

http://www.software.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=HPUXWSATW101001

Check if your PATH has been set to the new apache bin directory.

# echo $PATH

Hope this helps,
Robert-Jan