[root@centos ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 4096
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 4096
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[root@centos ~]# /root/lnmp restart
=========================================================================
Manager for LNMP V0.5 , 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
Nginx program is reloding!
Shutting down MySQL SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm /usr/local/php/sbin/php-fpm: line 69: kill: (18535) - 没有那个进程
................................... failed
Starting php_fpm done 作者: wjhhxl 时间: 2012-4-18 08:14 本帖最后由 wjhhxl 于 2012-4-18 08:16 编辑
[root@centos ~]# /root/lnmp kill
=========================================================================
Manager for LNMP V0.5 , 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}
=========================================================================
mysql: no process killed
php-cgi: no process killed
[root@centos ~]# /root/lnmp start
=========================================================================
Manager for LNMP V0.5 , 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}
=========================================================================
Starting LNMP...
Nginx is successful start!
Starting php_fpm done
Starting MySQL SUCCESS! 作者: 完美 时间: 2012-4-18 08:17
fpm启动失败啊,检查php配置文件。作者: wjhhxl 时间: 2012-4-18 08:21
[root@centos ~]# /etc/init.d/php-fpm start
-bash: /etc/init.d/php-fpm: 没有那个文件或目录作者: 完美 时间: 2012-4-18 08:38
你升级没装好吧。
杯具了。
建议重装下lnmp
数据库、host配置文件
移动下位置装完再放回去就可以了。