VPS侦探论坛

 找回密码
 注册
查看: 6504|回复: 6

出现502 Bad Gateway,php_fpm failed

[复制链接]
发表于 2011-12-31 13:39:57 | 显示全部楼层 |阅读模式

刚刚在photonvps上安装了lnmp,安装错误

CENTOS6.0 64位

出现502 Bad Gateway,php_fpm  failed

LOG
http://173.224.209.21/lnmp.log
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-12-31 13:46:55 | 显示全部楼层


Starting LNMP...
Starting MySQL SUCCESS!
Starting php_fpm  failed
Starting nginx daemon: nginx.

Starting php_fpm /usr/local/php/bin/php-cgi: error while loading shared libraries: libmhash.so.2: cannot open shared object file: No such file or directory
failed
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-12-31 14:29:36 | 显示全部楼层

[root@vps lib]# vi /etc/ld.so.conf
[root@vps lib]# /sbin/ldconfig -v
/sbin/ldconfig: /etc/ld.so.conf.d/kernel-2.6.32-71.29.1.el6.x86_64.conf:6: duplicate hwcap 1 nosegneg
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-194.11.4.el5.conf:6: hwcap index 1 already defined as nosegneg
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-12-31 16:48:01 | 显示全部楼层



可能libmhash没安装上,看看/usr/lib 下面有没有,或find 找一下,没有就重装一下mhash
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-12-31 17:37:04 | 显示全部楼层

/usr/lib 下面有这个文件

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2011-12-31 17:38:54 | 显示全部楼层

我想卸载点所有经过lnmp安装的软件,如何卸载
发表于 2011-12-31 20:17:28 | 显示全部楼层

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

本版积分规则

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

GMT+8, 2024-9-22 01:08 , Processed in 0.028346 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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