yew30 发表于 2012-8-26 23:58:09

reboot时,nginx不启动

完整安装,无任何更改。
安装完重启显示
=========================================================================
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         0:off   1:off   2:on    3:on    4:on    5:on    6:off

yew30 发表于 2012-8-26 23:59:18

手工启动nginx可以成功。显示如下
Starting nginx daemon: nginx.

yew30 发表于 2012-8-27 00:12:19

继续提供信息

# /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)
# ps aux|grep nginx
root      15780.00.1   3992   692 pts/0    R+   00:07   0:00 grep nginx
# kill 1578
-bash: kill: (1578) - No such process

yew30 发表于 2012-8-27 00:14:02

内存好像低的恐怖

真实内存使用 34.04 MB , 真实内存空闲 469.25 MB , 使用率 6.76 %

yew30 发表于 2012-8-27 18:18:26

系统是centos5.4 32位

军哥能不能帮忙看一下

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

licess 发表于 2012-8-27 20:05:43

安装日志没有任何问题
/usr/local/nginx/sbin/nginx -t 测试看看
/etc/init.d/nginx start启动试试
如果只是reboot没启动可能启动项有问题,可以加到/etc/rc.local里试试

yew30 发表于 2012-8-27 20:19:31

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

换了6.2的系统,一切正常,谢谢军哥。
页: [1]
查看完整版本: reboot时,nginx不启动