/etc/init.d/httpd restart启动Apache服务出现
Starting httpd: (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:80no listening sockets available, shutting downUnable to open logs
翻译如下:
启动httpd:(98)已经在使用地址:make_sock:不能绑定到地址:[:]:80(98)已经在使用地址:make_sock:不能绑定到地址0.0.0.0:80no监听套接字,关闭downunable打开日志
解决方法:原因是有进程占用Apache所使用的80端口,使用命令
netstat -lnp|grep 80查看那个程序占用80端口,使用kill -9 端口号 杀掉进程。
重启Apache /etc/init.d/httpd restart
相关阅读:
日志分析工具Awstats实战之Apache篇-多站点日志分析 http://www.linuxidc.com/Linux/2013-11/92273.htm
在Ubuntu 13.10 下安装支持SSL的Apache http://www.linuxidc.com/Linux/2013-11/92266.htm
再谈伪装Apache版本防止入侵Web服务器 http://www.linuxidc.com/Linux/2013-10/91179.htm
Apache Python 模块mod_wsgi的编译安装 http://www.linuxidc.com/Linux/2013-09/90637.htm
企业Shell脚本分析及切割Apache日志实战 http://www.linuxidc.com/Linux/2013-09/90627.htm
Linux网站架构系列之Apache----部署篇 http://www.linuxidc.com/Linux/2013-11/92304.htm
