Ubuntu12.04nginx不能启动,出现nginx: [emerg] bind() to [::]:80 fail

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
PENG_CHAO
帖子: 2
注册时间: 2013-01-11 19:36
系统: ubuntu
送出感谢: 0
接收感谢: 0

Ubuntu12.04nginx不能启动,出现nginx: [emerg] bind() to [::]:80 fail

#1

帖子 PENG_CHAO » 2013-03-10 10:44

* Starting nginx nginx
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[ OK ]
占用80端口的进程也关掉了,
该kill的进程都kill了,还是这样,IPV6也禁止了啊,没用,哪位帮下忙啊
头像
ud狼图腾
帖子: 75
注册时间: 2010-03-23 11:20
送出感谢: 8 次
接收感谢: 2 次

Re: Ubuntu12.04nginx不能启动,出现nginx: [emerg] bind() to [::]:80

#2

帖子 ud狼图腾 » 2013-03-10 18:19

sudo service apache2 stop........... :em09
百度给个面试机会呗。。
xiaozhe339
帖子: 2
注册时间: 2011-06-29 10:08
送出感谢: 0
接收感谢: 0

Re: Ubuntu12.04nginx不能启动,出现nginx: [emerg] bind() to [::]:80

#3

帖子 xiaozhe339 » 2013-03-29 13:18

说明端口被占用了。。$ netstat -tnlp 找到端口的进程然后KILL掉
回复

回到 “服务器基础应用”