LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   httpd locked up (https://www.linuxquestions.org/questions/linux-software-2/httpd-locked-up-99171/)

jchristman 10-01-2003 06:06 PM

httpd locked up
 
I have a problem with httpd on redhat 9 when I try to start it

I get the following error:

Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
[FAILED]

If I reset the conf file to use a differant port it works fine.
My question is how do I get the port back.

trickykid 10-01-2003 08:22 PM

Find out what other service is running and using port 80.

A good command to use is netstat and or ps -aux might give you an idea what could be running.

man netstat for more details and options.

jchristman 10-02-2003 10:21 AM

No other service is using port 80 I know because I killed all possible programs with out killing the need services to keep the machine running.

I did the stop command and it said in the logs shuting down gracefully
and according to the logs It should say after this shutdown successful
and it does not it just stops which is correct the machine died in a restart
It hung its self and I had to manually shut it down
So httpd still thinks it has an open connection on port 80 that did not shutdown this has to be written to a lock file or somewhere.


All times are GMT -5. The time now is 03:32 PM.