brookshsu 发表于 2011-12-31 13:39:57

出现502 Bad Gateway,php_fpm failed

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

CENTOS6.0 64位

出现502 Bad Gateway,php_fpmfailed

LOG
http://173.224.209.21/lnmp.log

brookshsu 发表于 2011-12-31 13:46:55

Starting LNMP...
Starting MySQL SUCCESS!
Starting php_fpmfailed
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

brookshsu 发表于 2011-12-31 14:29:36

# vi /etc/ld.so.conf
# /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

licess 发表于 2011-12-31 16:48:01

可能libmhash没安装上,看看/usr/lib 下面有没有,或find 找一下,没有就重装一下mhash

brookshsu 发表于 2011-12-31 17:37:04

/usr/lib 下面有这个文件

brookshsu 发表于 2011-12-31 17:38:54

我想卸载点所有经过lnmp安装的软件,如何卸载

licess 发表于 2011-12-31 20:17:28

./uninstall.sh
页: [1]
查看完整版本: 出现502 Bad Gateway,php_fpm failed