编译安装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
相关阅读:
相关推荐
zhangxiaocc 2020-06-28
滴水穿石点石成金 2020-11-12
wanshiyingg 2020-09-29
wuShiJingZuo 2020-09-25
jiangtie 2020-08-15
offbeatmine 2020-06-14
websph 2020-06-14
learnpy 2020-06-11
chouliqingke 2020-06-09
追迷梦境 2020-06-07
bapinggaitianli 2020-06-04
小小小石头 2020-05-30
xushxbigbear微信 2020-05-16
chenchuang 2020-05-10
89467505 2020-05-08
playis 2020-05-04
ningningmingming 2020-05-01
LychieFan 2020-04-30