VPS侦探论坛

 找回密码
 注册
查看: 4795|回复: 1

nginx无法重新启动

[复制链接]
发表于 2012-12-19 13:42:53 | 显示全部楼层 |阅读模式

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后台重启了下,还是这样
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-12-19 16:50:37 | 显示全部楼层


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

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

lnmp官网上有专门的启动关闭脚本,自行阅读
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-24 05:26 , Processed in 0.027973 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表