全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

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

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

[复制链接]
发表于 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)
 楼主| 发表于 2011-11-26 23:35:47 | 显示全部楼层
网站只是做图片服务器,不知什么时候无法访问的。

VPS重启过,LNMP 重启过,都不行
发表于 2011-11-26 23:35:57 | 显示全部楼层
php-fpm is stop!
 楼主| 发表于 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.
发表于 2011-11-26 23:36:41 | 显示全部楼层
你应该贴这个命令后的信息。。/root/lnmp restart
 楼主| 发表于 2011-11-26 23:37:13 | 显示全部楼层
原帖由 乌鸦 于 2011-11-26 23:35 发表
php-fpm is stop!


网站只是做图片服务器, 没有任何PHP,这个应该无关吧
发表于 2011-11-26 23:37:53 | 显示全部楼层
原帖由 乌鸦 于 2011-11-26 23:36 发表
你应该贴这个命令后的信息。。/root/lnmp restart
发表于 2011-11-26 23:38:14 | 显示全部楼层
额,不是502。。IPTABLES状态呢。。
 楼主| 发表于 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!
 楼主| 发表于 2011-11-26 23:43:00 | 显示全部楼层
原帖由 乌鸦 于 2011-11-26 23:38 发表
额,不是502。。IPTABLES状态呢。。


是这个问题

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

本版积分规则

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

GMT+8, 2025-1-20 07:14 , Processed in 0.066074 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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