全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 4158|回复: 12
打印 上一主题 下一主题

[疑问] LNMP 0.4 VPS重启后网站打不开了

[复制链接]
跳转到指定楼层
1#
发表于 2010-4-21 09:28:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
已经运行了
/root/lnmp start
/usr/local/php/sbin/php-fpm start

网站还是打不开怎么办?
2#
发表于 2010-4-21 09:29:05 | 只看该作者

回复 1# 的帖子

运行上述命令后有什么提示?
3#
 楼主| 发表于 2010-4-21 09:30:14 | 只看该作者
# /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
4#
发表于 2010-4-21 09:41:53 | 只看该作者

回复 3# 的帖子

这里面 nginx和php都已经启动了,是不是防火墙开起来了
5#
 楼主| 发表于 2010-4-21 09:43:47 | 只看该作者
不大懂,,如果是防火墙的话应该怎么弄? 多谢!
6#
 楼主| 发表于 2010-4-21 09:55:21 | 只看该作者
防火墙关了还是没用

-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没有运行?
7#
发表于 2010-4-21 09:56:35 | 只看该作者
运行TOP命令看看
8#
发表于 2010-4-21 10:13:48 | 只看该作者
什么也别动,重启后等3-5分钟。。。这个问题我早说过。。。
9#
发表于 2010-4-21 10:27:14 | 只看该作者

回复 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 文件不存在,被你删除了? 自己新建一个去。
10#
 楼主| 发表于 2010-4-21 10:29:45 | 只看该作者
原帖由 usa 于 2010-4-21 10:13 发表
什么也别动,重启后等3-5分钟。。。这个问题我早说过。。。


十多分钟了哦,还是不行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-24 19:20 , Processed in 0.112112 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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