全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 2134|回复: 14

[Windows VPS] 网站不能正常访问 技术帝

[复制链接]
发表于 2012-7-17 16:39:37 | 显示全部楼层 |阅读模式
RT REBOOT了下系统就访问不了,IP可以PING通,/etc/init.d/nginx restart


Starting nginx daemon: nginxnginx: [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()
nginx already running.

就是不能访问,如何查看LNMP是否正常状态?
发表于 2012-7-17 16:40:16 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2012-7-17 16:40:21 | 显示全部楼层
樓下是。
发表于 2012-7-17 16:43:08 | 显示全部楼层
今天抽风。。。

关键字,抽风,高墙!
发表于 2012-7-17 16:44:22 | 显示全部楼层
killall nginx;再重启试试看输出什么
 楼主| 发表于 2012-7-17 16:45:06 | 显示全部楼层
我是景安的。
发表于 2012-7-17 16:46:02 | 显示全部楼层
卸载 httpd  80端口被占用了
发表于 2012-7-17 16:48:11 来自手机 | 显示全部楼层
你80端口被占用了?你用lsof -i:80查看一下那个进程在占用端口,把它杀了。
 楼主| 发表于 2012-7-17 16:51:18 | 显示全部楼层
360安全卫士 发表于 2012-7-17 16:44
killall nginx;再重启试试看输出什么

[root@localhost ~]# killall nginx
[root@localhost ~]# /etc/init.d/nginx start
Starting nginx daemon: nginx.
[root@localhost ~]# /etc/init.d/nginx restart
Restarting nginx daemon: nginxnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
.
[root@localhost ~]#

依然不能访问。
 楼主| 发表于 2012-7-17 16:51:50 | 显示全部楼层
SalesHosting 发表于 2012-7-17 16:48
你80端口被占用了?你用lsof -i:80查看一下那个进程在占用端口,把它杀了。

[root@localhost ~]# lsof -i:80
COMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME
nginx   3234 root    6u  IPv4  10277       TCP *:http (LISTEN)
nginx   3235  www    6u  IPv4  10277       TCP *:http (LISTEN)

这样的结果。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-7 23:52 , Processed in 0.163218 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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