httpd (no pid file) not running while restarting apache

Posted by user59503 on Server Fault See other posts from Server Fault or by user59503
Published on 2010-11-08T06:35:32Z Indexed on 2010/12/22 20:56 UTC
Read the original article Hit count: 275

Filed under:
|
|
|
|

Hi

I am working on ubuntu. I got the error messages while try to restart apache.

root@XXX:/etc/init.d# sudo /etc/init.d/apache2 restart
 * Restarting web server apache2                                                                                                              apache2: Could not reliably determine the server's fully qualified domain name,                                                               using xxx.xxx.xx.xxx for ServerName
httpd (no pid file) not running
apache2: Could not reliably determine the server's fully qualified domain name,                                                               using xxx.xxx.xx.xxx for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

I got the following message when tried netstat -pant

tcp        0   0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          32748       9950/httpd

tcp      429      0 xxx.xxx.xx.xxx:80       xxx.xxx.xx.xxx:xxxxx    CLOSE_WAIT  0          0          

© Server Fault or respective owner

Related posts about apache

Related posts about ubuntu