全球主机交流论坛

标题: LNMP 0.4 VPS重启后网站打不开了 [打印本页]

作者: itisfine    时间: 2010-4-21 09:28
标题: LNMP 0.4 VPS重启后网站打不开了
已经运行了
/root/lnmp start
/usr/local/php/sbin/php-fpm start

网站还是打不开怎么办?
作者: cpuer    时间: 2010-4-21 09:29
标题: 回复 1# 的帖子
运行上述命令后有什么提示?
作者: itisfine    时间: 2010-4-21 09:30
# /root/lnmp start
=========================================================================
Manager for LNMP V0.4  ,  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}
=========================================================================
Starting LNMP...
Nginx is runing!
-bash-3.2# /usr/local/php/sbin/php-fpm start
Starting php_fpm  done
作者: cpuer    时间: 2010-4-21 09:41
标题: 回复 3# 的帖子
这里面 nginx和php都已经启动了,是不是防火墙开起来了
作者: itisfine    时间: 2010-4-21 09:43
不大懂,,如果是防火墙的话应该怎么弄? 多谢!
作者: itisfine    时间: 2010-4-21 09:55
防火墙关了还是没用

-bash-3.2# /root/lnmp restart
=========================================================================
Manager for LNMP V0.4  ,  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}
=========================================================================
Reload LNMP...
Reload Nginx configure...
[warn]: conflicting server name "xxxx.info" on 0.0.0.0:80, ignored
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
[emerg]: open() "/home/wwwroot/logs/nginx_error.log" failed (2: No such file or directory)
configuration file /usr/local/nginx/conf/nginx.conf test failed
/root/lnmp: line 67: kill: (25809) - No such process
Nginx program is reloding!
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm . done
Starting php_fpm  done

貌似nginx没有运行?
作者: iamfly    时间: 2010-4-21 09:56
运行TOP命令看看
作者: usa    时间: 2010-4-21 10:13
什么也别动,重启后等3-5分钟。。。这个问题我早说过。。。
作者: cpuer    时间: 2010-4-21 10:27
标题: 回复 6# 的帖子
[warn]: conflicting server name "xxxx.info" on 0.0.0.0:80, ignored
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
[emerg]: open() "/home/wwwroot/logs/nginx_error.log" failed (2: No such file or directory)
configuration file /usr/local/nginx/conf/nginx.conf test failed
/root/lnmp: line 67: kill: (25809) - No such process

貌似有报错,/home/wwwroot/logs/nginx_error.log 文件不存在,被你删除了? 自己新建一个去。
作者: itisfine    时间: 2010-4-21 10:29
原帖由 usa 于 2010-4-21 10:13 发表
什么也别动,重启后等3-5分钟。。。这个问题我早说过。。。


十多分钟了哦,还是不行。
作者: cpuer    时间: 2010-4-21 10:30
标题: 回复 10# 的帖子
9楼。
作者: itisfine    时间: 2010-4-21 10:45
结合8 9 楼的方法,,终于可以了。
多谢各位热心帮忙。
作者: cnx    时间: 2010-4-21 10:50
标题: 回复 12# 的帖子





欢迎光临 全球主机交流论坛 (https://loc.193.gs/) Powered by Discuz! X3.4