全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: colts516

[已解决] 网站打不开,如何排查是lnmp哪里的问题?

[复制链接]
发表于 2012-8-23 14:42:23 | 显示全部楼层
好吧,你被墙了
发表于 2012-8-23 14:42:34 | 显示全部楼层
php -v 看看什么提示
 楼主| 发表于 2012-8-23 14:50:36 | 显示全部楼层
zhaohengde 发表于 2012-8-23 14:42
php -v 看看什么提示


[root@localhost ~]# php -v
PHP 5.2.17p1 (cli) (built: Aug  7 2012 13:32:55)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies


谢谢,帮忙看看!
 楼主| 发表于 2012-8-23 14:52:08 | 显示全部楼层
本帖最后由 colts516 于 2012-8-23 14:53 编辑
小夜 发表于 2012-8-23 14:22
/root/lnmp reload 如果nginx没报错,那垦定可以访问的。
如果还是访问不了,尝试把 nginx.conf 中的第一个 ...



Reload LNMP...
Reload Nginx configure...
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok    语法is OK
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful 测试成功
Nginx program is reloding!      这里停顿了很久。然后出现下面的。
Reloading service MySQL                                    [  OK  ]
Reload service php-fpm  done
发表于 2012-8-23 15:32:59 | 显示全部楼层
首先看是不是你域名的问题
先用其它域名绑定看能不能访问
然后再排查是不是服务器的问题
发表于 2012-8-23 19:35:57 | 显示全部楼层
ping 可以ping 通? 网站ping下 可以找到DNS么 还是被屏蔽了?换VPN看看 或者上17ce
发表于 2012-8-23 19:53:50 | 显示全部楼层
重启nginx 看看
 楼主| 发表于 2012-8-23 23:42:27 | 显示全部楼层
shineme 发表于 2012-8-23 19:35
ping 可以ping 通? 网站ping下 可以找到DNS么 还是被屏蔽了?换VPN看看 或者上17ce ...

使用IP都无法访问。
ip应该可以访问到lnmp的首页。
发表于 2012-8-23 23:45:22 | 显示全部楼层
service iptables stop
chkconfig iptables off
 楼主| 发表于 2012-8-24 10:50:54 | 显示全部楼层
lazyzhu 发表于 2012-8-23 23:45
service iptables stop
chkconfig iptables off

OK 了!谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-5 14:47 , Processed in 0.083257 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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