On 04/02/10 21:52, Ravi Roy wrote:Hiaddress 0.0.0.0:80 <http://0.0.0.0:80>
I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is that when
I try to start and stop it using "sudo /etc/rc.d/init.d/httpd start /
stop / restart"
It gives me the following, I googgled a lot but could not really find a
solution.
1.Command : $ sudo /etc/rc.d/init.d/httpd start
Error Message :
Starting httpd: (98)Address already in use: make_sock: could not bind toaddress 0.0.0.0:80 <http://0.0.0.0:80>
no listening sockets available, shutting down
Unable to open logs
[FAILED]
2. Command : $ sudo /etc/rc.d/init.d/httpd stop
Error message :
Stopping httpd: [FAILED]
3.Command : $sudo /etc/rc.d/init.d/httpd restart
Error message :
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to
no listening sockets available, shutting down
Unable to open logs
[FAILED]
Can sombody help me on this please?
Thanks!
-RR
Some other process is already running at port number 80. Use netstat -ltnp | grep ':80' to get the process name and pid.