首页 » 互联网资讯 » 正文

nginx无法重新启动

root@li551-219:~# /usr/local/nginx/sbin/nginx –t
nginx: invalid option: “–t”
root@li551-219:~# /usr/local/nginx/sbin/nginx
nginx: [warn] conflicting server name “www.XXXXXXXX.com” on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name “XXXXXXXX.com” on 0.0.0.0:80, ignored
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()

然后我再linode后台重启了下,还是这样


/usr/local/nginx/sbin/nginx -t 是对的,你用中文输入法下的-肯定会报错

ningx已经能够运行,在运行肯定报错

lnmp官网上有专门的启动关闭脚本,自行阅读

vpsnine.com

发表评论