执行 /root/lnmp kill 后无法打开网站,怎么恢复
一时手贱 执行了 /root/lnmpkill之后 发现网站打不开了/root/lnmp status
Nginx is running now!
MySQL running (3004)
提示 Nginx运行正常啊而且防火墙80端口也没有关闭 为什么呢?
netstat -tnl 没有发现80端口。
重启服务器:
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
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 . done
Starting php_fpm Failed loading /usr/local/zend/ZendOptimizer.so:/usr/local/zend/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
done
如何解决???
[ 本帖最后由 zhxyun 于 2010-5-22 11:05 编辑 ]
回复 1# 的帖子
解决方法:关闭SELINX,执行: /usr/sbin/setenforce 0 (立刻生效不用重启)https://bbs.vpser.net/thread-1143-1-1.html 谢谢!已经解决!:lol
页:
[1]