lnmp安装错误,有详细的log,请军哥看看
系统 cnetos 32bit# uname -aLinux MyVPS1482 2.6.18-308.1.1.el5xen #1 SMP Wed Mar 7 05:38:01 EST 2012 i686 i686 i386 GNU/Linux
在线安装lnmp0.8,以下是log文件
提示安装完成,但是/root目录下并未有lnmp命令,使用/root/lnmp0.8/lnmp查看服务状态如下:
# ./lnmp0.8/lnmp status
=========================================================================
Manager for LNMP V0.8,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 stop!
MySQL running (1807)
使用/root/lnmp0.8/lnmp restart重启报错如下:
# ./lnmp0.8/lnmp restart
=========================================================================
Manager for LNMP V0.8,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...
Nginx program is not runing!
PHP-FPM program is not runing!
Shutting down MySQL.
MySQL program is stop
Starting LNMP...
nginx: open() "/usr/local/nginx/conf/nginx.conf" failed (2: No such file or directory)
Nginx start successfully!
Starting php_fpm I/O warning : failed to load external entity "/usr/local/php/et c/php-fpm.conf"
Mar 30 11:05:30.976971 fpm_conf_init_main(), line 517: failed to load co nfiguration file: failed to parse conf file
failed
PHP-FPM start successfully!
Starting MySQL.
MySQL start successfully!
#
以下是/etc/init.d/nginx的start/restart结果
# /etc/init.d/nginx restart
Restarting nginx daemon: nginxcat: /usr/local/nginx/logs/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l
nginx not runningnginx: open() "/usr/local/nginx/conf/nginx.conf" failed (2: No such file or directory)
nginx already running.
# /etc/init.d/nginx start
Starting nginx daemon: nginxnginx: open() "/usr/local/nginx/conf/nginx.conf" failed (2: No such file or directory)
nginx already running. /usr/local/nginx/conf/nginx.conf 这个配置文件不存在,把lnmp0.8 安装目录conf下的nginx.conf 拷过去
/usr/local/php/etc/php-fpm.conf也用lnmp0.8 安装目录conf下的php-fpm.conf 覆盖/usr/local/php/etc/php-fpm.conf这个
重启再看看
回复 2# 的帖子
已经ok,按照提示凡是没有的。conf文件都手动从lnmp0.8中拷贝过去了thansk
页:
[1]