View Full Version : Please -- Please -- Please -- Your Help
mohaksa
Hi,
Can some one help me please?
I get this error massage when I try to run httpd.
How can I fix it?
-------------------------------------------------
httpd failed. The error was: 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]
-------------------------------------------------
whirlpool
This is a very apache specific error, I guess you should correspond with apache mailling lists for usefull suggestions.
habdin
Salamo 3alaikom ya akhi,
I am not that expert in web servers after all, I will try to guess the possible error and the possible correction for you to do. I think those network and linux administrators could correct me if I am wrong.
It seems that httpd could not be connected to via the address 0.0.0.0 (this is an IP address) over the port 80 (the port to be addressed on IP 0.0.0.0: usually web servers listen to port 80). You should know the proper IP address for the machine that hosts the web server (in case you have the web server running on your own PC and have assigned your PC the 127.0.0.1 IP) your http.conf should try to listen to 127.0.0.1:80 (IP:port format). Try to edit the /etc/httpd/conf/httpd.conf and add the local IP address to the Listen line option (you might find Listen 80, change it to Listen 127.0.0.1:80 or whatever IP:80). It is wise to backup the httpd.conf before doing so.
NB: I am describing the solution for httpd 2.x. Other note you didn't mention your distribution nor the apache version you are having. You should have done so.
Finally, Salam.
mohaksa
Hi,
Thank you for your time guys :)
I changed the IP to 127.0.0.1:80
However, it did not work
I get this massage now
----------------------------------------------------
httpd failed. The error was: Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 127.0.0.1:80
no listening sockets available, shutting down
[FAILED]
----------------------------------------------------------
Thank You
sattia
provide the following files in order to be able to help.
info about ur distro .. kernel ...etc
output of netstat -nap before u start apache
httpd.conf
vBulletin v3.0.1, Copyright ©2000-2004, Jelsoft Enterprises Ltd.