VPS侦探论坛

 找回密码
 注册
查看: 18843|回复: 27

刚装的0.9发现php-fpm启动不了。访问控针提示502

[复制链接]
发表于 2013-5-22 11:24:13 | 显示全部楼层 |阅读模式

root@debian:/usr/nload-0.7.4# /root/lnmp restart
=========================================================================
Manager for LNMP V0.9  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Nginx program is stop
PHP-FPM program is not runing!
Shutting down MySQL
......
MySQL program is stop
Starting LNMP...
Nginx start successfully!
/root/lnmp: line 46: /usr/local/php/sbin/php-fpm: 没有那个文件或目录
PHP-FPM start successfully!
Starting MySQL
..
MySQL start successfully!
root@debian:/usr/nload-0.7.4#
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-5-22 12:03:54 | 显示全部楼层


php没编译安装成功,按置顶帖要求上传日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-5-22 12:04:04 | 显示全部楼层

php没编译安装成功,按置顶帖要求上传日志
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-5-22 13:05:08 | 显示全部楼层



原帖由 licess 于 2013-5-22 12:04 发表
php没编译安装成功,按置顶帖要求上传日志



日志里的个人信息编辑掉了。其它的没动。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-5-22 20:10:14 | 显示全部楼层

/usr/lnmp0.9-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/usr/lnmp0.9-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/usr/lnmp0.9-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
/usr/lnmp0.9-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status

删除lnmp安装目录,重新解压,把安装脚本里的libiconv 的configure 最后面加上一个--enable-static试试
./uninstall.sh 后重新安装

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

 楼主| 发表于 2013-5-22 20:18:49 | 显示全部楼层

原帖由 licess 于 2013-5-22 20:10 发表
/usr/lnmp0.9-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/usr/lnmp0.9-full/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libic ...


在debian.sh里。只找到类式这种。
tar zxvf libiconv-1.14.tar.gz
cd libiconv-1.14/
./configure
make && make install
cd ../

cd $cur_dir


要加这里???
上面还找到几处都是下载的链接。
 楼主| 发表于 2013-5-22 20:22:28 | 显示全部楼层

还是要改别的文件。请军哥说详细些。谢谢。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-5-22 20:42:15 | 显示全部楼层

我已在实际的服务器中。和虚拟机中。。debian6.07  64位下 和debian7 64位下。分别实验。。。都是PHP-FPM program is not runing!


在0.8出来时。装过还好用的。现在装0.8也不行。好像0.8也比原来的改进了。。。。nginx版本等也和原来的不一样了。原来的是0.8几

[ 本帖最后由 cnmt 于 2013-5-22 20:45 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-5-22 21:05:43 | 显示全部楼层

回复 6# 的帖子



删除lnmp0.9目录,重新下载lnmp,并解压,先运行./uninstall.sh

再修改debian.sh里前面你发的那部分里的
./configure 后加--enable-static

再开始安装

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

 楼主| 发表于 2013-5-24 09:25:02 | 显示全部楼层



cd libiconv-1.14/
./configure --enable-static
make && make install
cd ../
我是这样加的对吧。
--enable-static前面加了一个空格。现在试一下。一会来报告。
 楼主| 发表于 2013-5-24 10:54:42 | 显示全部楼层

还是不行啊。我已上传日志您看下。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
 楼主| 发表于 2013-5-24 13:48:17 | 显示全部楼层

军哥帮看看。好几天了一直没装上。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-5-24 14:22:56 | 显示全部楼层
是在原来上面覆盖安装的还是全新安装的

这个问题我在其他有这个问题的机器上是测试过了的,按我说的方法可以正常编译安装上
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-5-24 14:31:13 | 显示全部楼层
原帖由 licess 于 2013-5-24 14:22 发表
是在原来上面覆盖安装的还是全新安装的

这个问题我在其他有这个问题的机器上是测试过了的,按我说的方法可以正常编译安装上


按照你说的方法。./uninstall.sh后。。。又装的。我去年。用debian6.03装的0.8也成功。。今天又把去年那个lnmp0.8-full找出来。装了一下也不行。(软件版本已经升级了不是去年的版本了。)

[ 本帖最后由 cnmt 于 2013-5-24 14:35 编辑 ]

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

 楼主| 发表于 2013-5-24 14:32:26 | 显示全部楼层
你看一下这个。。。手动装的话在php 5.217下说是不行了。http://www.nginx.cn/231.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-25 06:38 , Processed in 0.031783 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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