全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1885|回复: 13
打印 上一主题 下一主题

[疑问] LNMP的,一切看起来都正常,但无法访问网站

[复制链接]
跳转到指定楼层
1#
发表于 2011-11-26 23:34:47 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
VPS IP地址 Ping 正常
LNMP 状态:

[root@vpsname ~]# /root/lnmp status
=========================================================================
Manager for LNMP V0.7  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is runing!
php-fpm is stop!
SUCCESS! MySQL running (988)
2#
 楼主| 发表于 2011-11-26 23:35:47 | 只看该作者
网站只是做图片服务器,不知什么时候无法访问的。

VPS重启过,LNMP 重启过,都不行
3#
发表于 2011-11-26 23:35:57 | 只看该作者
php-fpm is stop!
4#
 楼主| 发表于 2011-11-26 23:36:27 | 只看该作者
Unable to connect
      
      
      
      
      
        
        
          Firefox can't establish a connection to the server at 66.29.*.*.
            
        

  The site could be temporarily unavailable or too busy. Try again in a few
    moments.
  If you are unable to load any pages, check your computer's network
    connection.
  If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.
5#
发表于 2011-11-26 23:36:41 | 只看该作者
你应该贴这个命令后的信息。。/root/lnmp restart
6#
 楼主| 发表于 2011-11-26 23:37:13 | 只看该作者
原帖由 乌鸦 于 2011-11-26 23:35 发表
php-fpm is stop!


网站只是做图片服务器, 没有任何PHP,这个应该无关吧
7#
发表于 2011-11-26 23:37:53 | 只看该作者
原帖由 乌鸦 于 2011-11-26 23:36 发表
你应该贴这个命令后的信息。。/root/lnmp restart
8#
发表于 2011-11-26 23:38:14 | 只看该作者
额,不是502。。IPTABLES状态呢。。
9#
 楼主| 发表于 2011-11-26 23:39:32 | 只看该作者
原帖由 乌鸦 于 2011-11-26 23:36 发表
你应该贴这个命令后的信息。。/root/lnmp restart


[root@vpsname ~]# /root/lnmp restart
=========================================================================
Manager for LNMP V0.7  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Nginx program is stop
PHP-FPM program is not runing!
Shutting down MySQL. SUCCESS!
MySQL program is stop
Starting LNMP...
[warn]: conflicting server name "image.mydomain.com" on 0.0.0.0:80, ignored
Nginx start successfully!
/root/lnmp: line 46: /usr/local/php/sbin/php-fpm: No such file or directory
PHP-FPM start successfully!
Starting MySQL. SUCCESS!
MySQL start successfully!
10#
 楼主| 发表于 2011-11-26 23:43:00 | 只看该作者
原帖由 乌鸦 于 2011-11-26 23:38 发表
额,不是502。。IPTABLES状态呢。。


是这个问题

怎么能自动关闭 IPTABLES 服务?不然每次商家服务器重启都会出问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-21 18:36 , Processed in 0.088860 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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