zhanghong 发表于 2018-11-23 07:19:33

编译安装Apache出现无法启动服务问题

  /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



页: [1]
查看完整版本: 编译安装Apache出现无法启动服务问题