dyfire 发表于 2010-7-17 13:04:20

vps重启以后ngnix,mysql貌似都没有启动

手动执行
./root/lnmp restart



结果如下,麻烦版主解决一下,=

================================================
Reload LNMP...
Reload Nginx configure...
: conflicting server name "www.52niuniu.net" on 0.0.0.0:80, ignored
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l
Nginx program is reloding!
Shutting down MySQL
. *
Starting MySQL
. *
Shutting down php_fpm kill: 139: No such process

................................... failed
Starting php_fpm PHP Fatal error: eAccelerator 0.9.5.3 can not be loaded twice in Unknown on line 0
failed
===================================================

licess 发表于 2010-7-17 13:50:55

回复 1# 的帖子

nginx 和 eAccelerator 都出现了错误提示肯定启动不了,根据错误提示修改配置文件。

hackin 发表于 2010-7-18 01:01:53

/usr/local/nginx/sbin/nginx -t##查看配置文件有没有错如果没有错
/usr/local/nginx/sbin/nginx ##执行启动nginx

fastCGi是以php-fpm管理方式启动的
/usr/local/php/sbin/php-fpm start         ##启动fastCGI

/etc/init.d/mysql start    ##启动数据库
页: [1]
查看完整版本: vps重启以后ngnix,mysql貌似都没有启动