VPS侦探论坛

 找回密码
 注册
查看: 6611|回复: 6

reboot时,nginx不启动

[复制链接]
发表于 2012-8-26 23:58:09 | 显示全部楼层 |阅读模式

完整安装,无任何更改。
安装完重启显示
=========================================================================
Manager for LNMP V0.9  ,  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}
=========================================================================
Nginx is stop!
php-fpm is runing!
SUCCESS! MySQL running (1474)

chkconfig --list显示有此条信息:
nginx           0ff   1ff   2n    3n    4n    5n    6ff

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-8-26 23:59:18 | 显示全部楼层


手工启动nginx可以成功。显示如下
Starting nginx daemon: nginx.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-8-27 00:12:19 | 显示全部楼层

继续提供信息


[root@AY12082305315218f3070 ~]# /root/lnmp status
=========================================================================
Manager for LNMP V0.9  ,  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}
=========================================================================
Nginx is stop!
php-fpm is runing!
SUCCESS! MySQL running (1475)
[root@AY12082305315218f3070 ~]# ps aux|grep nginx
root      1578  0.0  0.1   3992   692 pts/0    R+   00:07   0:00 grep nginx
[root@AY12082305315218f3070 ~]# kill 1578
-bash: kill: (1578) - No such process
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-8-27 00:14:02 | 显示全部楼层

内存好像低的恐怖




真实内存使用 34.04 MB , 真实内存空闲 469.25 MB , 使用率 6.76 %
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-8-27 18:18:26 | 显示全部楼层

系统是centos5.4 32位

军哥能不能帮忙看一下

[ 本帖最后由 yew30 于 2012-8-27 18:46 编辑 ]

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

发表于 2012-8-27 20:05:43 | 显示全部楼层

安装日志没有任何问题
/usr/local/nginx/sbin/nginx -t 测试看看
/etc/init.d/nginx start  启动试试
如果只是reboot没启动可能启动项有问题,可以加到/etc/rc.local  里试试
 楼主| 发表于 2012-8-27 20:19:31 | 显示全部楼层

/usr/local/nginx/sbin/nginx -t OK
/etc/init.d/nginx start 可以启动。没有任何错误提示。

换了6.2的系统,一切正常,谢谢军哥。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-23 17:15 , Processed in 0.027795 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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