打印

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

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

手动执行
./root/lnmp restart



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

================================================
Reload LNMP...
Reload Nginx configure...
[warn]: 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 [sigspec]
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] eAccelerator 0.9.5.3 can not be loaded twice in Unknown on line 0
failed
===================================================

TOP

回复 1# 的帖子

nginx 和 eAccelerator 都出现了错误提示肯定启动不了,根据错误提示修改配置文件。
Licess,专于VPS,精于VPS美国VPS推荐
代购VPS、域名、服务器,代维 QQ:503228080 旺旺:lzhenbao
淘宝网店:http://shop63846532.taobao.com/ 拍拍店:http://503228080.paipai.com/
本联系方式仅提供代购及相关付费服务,lnmp相关问题请直接发帖。

TOP

/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    ##启动数据库

TOP