VPS侦探论坛

 找回密码
 注册
查看: 6897|回复: 4

军哥,重启出问题,求助

[复制链接]
发表于 2011-7-13 19:55:07 | 显示全部楼层 |阅读模式

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

[root@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 [sigspec]
Nginx program is stop
PHP-FPM program is not runing!
MySQL program is not runing!
Starting LNMP...
Nginx is runing!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 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......
[error]: 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/
我把刚才添加的几个配置文件都删除了,还是不行。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-7-13 20:07:16 | 显示全部楼层

php -v

PHP 5.2.17 (cli) (built: Jul  7 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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-7-13 20:13:17 | 显示全部楼层



终于解决了,把vps重启了一下,好了!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-7-13 20:40:04 | 显示全部楼层

前面的提示只不过是那几个程序没运行,所以会有1#的提示

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-12-27 10:37 , Processed in 0.026138 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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