VPS侦探论坛

 找回密码
 注册
查看: 9027|回复: 2

执行 /root/lnmp kill 后无法打开网站,怎么恢复

[复制链接]
发表于 2010-5-22 10:53:12 | 显示全部楼层 |阅读模式

一时手贱 执行了   /root/lnmp  kill  之后 发现网站打不开了

/root/lnmp status

  1. Nginx is running now!
  2. MySQL running (3004)                                       [  OK  ]
复制代码


提示 Nginx运行正常啊  而且防火墙80端口也没有关闭 为什么呢?

netstat -tnl 没有发现80端口。


重启服务器:

  1. Reload LNMP...
  2. Reload Nginx configure...
  3. the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
  4. configuration file /usr/local/nginx/conf/nginx.conf test is successful
  5. kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
  6. Nginx program is reloding!
  7. Shutting down MySQL.                                       [  OK  ]
  8. Starting MySQL.                                            [  OK  ]
  9. Shutting down php_fpm . done
  10. Starting php_fpm Failed loading /usr/local/zend/ZendOptimizer.so:  /usr/local/zend/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
  11. done
复制代码




如何解决???

[ 本帖最后由 zhxyun 于 2010-5-22 11:05 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-5-25 12:47:15 | 显示全部楼层

回复 1# 的帖子



解决方法:关闭SELINX,执行: /usr/sbin/setenforce 0 (立刻生效不用重启)

https://bbs.vpser.net/thread-1143-1-1.html
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-5-25 16:54:10 | 显示全部楼层

谢谢!已经解决!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-8 09:27 , Processed in 0.026001 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表