- 积分
- 28
- 威望
-
- 金钱
-
- 注册时间
- 2012-3-6
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
系统 cnetos 32bit[root@MyVPS1482 ~]# uname -a
Linux 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查看服务状态如下:
[root@MyVPS1482 ~]# ./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) [ OK ]
使用/root/lnmp0.8/lnmp restart重启报错如下:
[root@MyVPS1482 ~]# ./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. [ OK ]
MySQL program is stop
Starting LNMP...
nginx: [emerg] 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 [ERROR] fpm_conf_init_main(), line 517: failed to load co nfiguration file: failed to parse conf file
failed
PHP-FPM start successfully!
Starting MySQL. [ OK ]
MySQL start successfully!
[root@MyVPS1482 ~]#
以下是/etc/init.d/nginx的start/restart结果
[root@MyVPS1482 ~]# /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 [sigspec]
nginx not runningnginx: [emerg] open() "/usr/local/nginx/conf/nginx.conf" failed (2: No such file or directory)
nginx already running.
[root@MyVPS1482 ~]# /etc/init.d/nginx start
Starting nginx daemon: nginxnginx: [emerg] open() "/usr/local/nginx/conf/nginx.conf" failed (2: No such file or directory)
nginx already running. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|