veryad 发表于 2011-3-23 12:24:32

VPS备份了一下之后,网站打不开了,很奇怪。

重启lnmp的时候好像有一个错误,但不知道是什么,希望站长能指点一下,谢谢。


# /root/lnmp restart
=========================================================================
Manager for LNMP V0.6,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...
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
/root/lnmp: line 67: kill: (2317) - 没有那个进程
Nginx program is reloding!
Shutting down MySQL.                                       [确定]
Starting MySQL.                                          [确定]
Shutting down php_fpmdone
Starting php_fpmdone

veryad 发表于 2011-3-23 12:30:03

原帖由 licess 于 2011-3-22 14:15 发表
可能是防火墙的原因,执行如下命令:
/etc/init.d/iptables stop

如果是centos 再执行:chkconfig iptables off
debian的话执行update-rc.d -f iptables remove

按照这个操作了一下,居然又行了。

licess 发表于 2011-3-23 12:33:30

回复 1# 的帖子

nginx没有运行,/usr/local/nginx/sbin/nginx 执行以下就行
页: [1]
查看完整版本: VPS备份了一下之后,网站打不开了,很奇怪。