1827814 Members
2414 Online
109969 Solutions
New Discussion

Apache does not start

 
SOLVED
Go to solution
Igor Sovin
Super Advisor

Apache does not start

Hi!

I have installed HPUXWSATW-B216-1111.depot on my HP-UX 11i v1 box.
tried to start apache
/opt/hpws/apache/bin/apachectl start

and then the process hangs on
CNTRL C not working.
I can stop the process only with kill -9, connecting to my box from another host by telnet.
From ps -ef |grep apache I see
root 24693 24689 127 10:27:29 pts/ta 0:19 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
root 24689 10726 0 10:27:29 pts/ta 0:00 /usr/bin/sh /opt/hpws/apache/bin/apachectl start
it seems apache started, but why process hangs on?

From browser i get error "The connection was refuser when attempting to contact fox.snos.ru"
while trying to open apache index page.

9 REPLIES 9
Yang Qin_1
Honored Contributor

Re: Apache does not start

It may help if you stop all apache related processes with "/sbin/init.d/apache stop" and "kill -9 ####". Then check file /etc/rc.config.d/apacheconf and make sure APACHE_START=1. run

/sbin/init.d/apache start

When your apache daemons started properly, you should be able to browse your web page if you /opt/hpws/apache/conf/httpd.conf is configured properly.

Yang
Karsten Löperick
Valued Contributor

Re: Apache does not start

Hello Igor,

no answer yet but a question:
- What does the apache-log says ?
Specially the /../apache/logs/error_log
Is there anything more than the browser message ?

Greetings
Karsten

Nothing is impossible
Senthil Prabu.S_1
Trusted Contributor

Re: Apache does not start

Hi,
I guess something wrong with your apache configuration. So before starting, try to check your apache config with following option,

#root@ganga> ./apachectl configtest

Then, you should get something like following output;

#Syntax OK

HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Igor Sovin
Super Advisor

Re: Apache does not start

1 APACHE_START=1 set, /sbin/init.d/apache start also hangs on
2 Directory /opt/hpws/apache/logs is empty
3 ./apachectl configtest hangs
Karsten Löperick
Valued Contributor

Re: Apache does not start

Hi again,

have you checked the checksum of the apache depot file ? If its possible that your depot was a bit confused/destroyed. So usually after a correct download and a installation without errors and no additional configurations you must be able to browse your own webpage http://
(as Yang told you before).
What I recommend now is to remove the depot,download a new apache depot, verify the checksum and install it again.

btw: I hope there is no additional hardware error on your machine

Greetings
Karsten
Nothing is impossible
Igor Sovin
Super Advisor

Re: Apache does not start

OK I'll do that now
Igor Sovin
Super Advisor

Re: Apache does not start

Downloaded depot again, checked md5 checksum.
Downloaded correctly.

After swinstall try to start apache
./apachectl start

unfortunetly it hangs on again.
Karsten Löperick
Valued Contributor
Solution

Re: Apache does not start

Igor,
I assume you have downloaded the right version. Will say: If you download the IPv6 Version - it will not running under IPv4 environment. Does your box contains another progs or maybe processes with a high cpu consumption ?
So, unfortunately I do not have another idea yet.

Greetings
Karsten
Nothing is impossible
Igor Sovin
Super Advisor

Re: Apache does not start

Yeap, the problem seems to be caused by HPWS version with IPv6. Right you are!
Now I've Installed more older version and apache runs fine.
Thanks to all!