报错apachectl restart

httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address [::]:80
(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

 

解决办法1.用命令的绝对路径。

/usr/local/apache2/bin/apachectl restart

 

 

解决办法

killall -9 httpd

在重新启动

apachectl restart

 

posted @ 2015-12-06 11:22  dennyLinux  阅读(507)  评论(0编辑  收藏  举报