800y 发表于 2011-7-13 19:55:07

军哥,重启出问题,求助

最近几个VPS,好像是添加了主机,一重启就出问题。

# /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...
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l
Nginx program is stop
PHP-FPM program is not runing!
MySQL program is not runing!
Starting LNMP...
Nginx is runing!

800y 发表于 2011-7-13 19:57:39

好像有一步是这个提示:

set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/none.conf
Test Nginx configure file......
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
Restart Nginx......
: invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
=========================================================================
Add Virtual Host for LNMP V0.7,Written by Licess
=========================================================================
For more information please visit http://www.lnmp.org/
我把刚才添加的几个配置文件都删除了,还是不行。

800y 发表于 2011-7-13 20:07:16

php -v

PHP 5.2.17 (cli) (built: Jul7 2011 22:29:39)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v4.0.9, Copyright (c) 2002-2011, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

/usr/local/nginx/sbin/nginx -t

the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful

800y 发表于 2011-7-13 20:13:17

终于解决了,把vps重启了一下,好了!

licess 发表于 2011-7-13 20:40:04

前面的提示只不过是那几个程序没运行,所以会有1#的提示
页: [1]
查看完整版本: 军哥,重启出问题,求助