军哥你一定要帮我啊!centos上安装lnmp始终无法成功。
我在vmware虚拟机centos平台上,安装lnmp始终无法成功。安装其他的软件如lanmp mapn,等也都无法成功。都有20天了。安装了很多次。
我在全球主机交流论坛上为此事也发了很多贴子,也没解决。
如此贴:
http://www.hostloc.com/thread-46415-1-1.html
http://www.hostloc.com/thread-46975-1-1.html
还有其他贴子。
我现在把安装时的log发给你,这个log是我安装lnmp0.6时产生的。
拜托你给我看看,实在是没办法了。
[ 本帖最后由 wjhhxl 于 2011-2-15 07:47 编辑 ]
回复 1# 的帖子
每次都是安装下面这段代码时,停住很长时间不动。make: Entering directory `/root/lnmp0.6-full/mysql-5.1.48/mysql-test'
make: Entering directory `/root/lnmp0.6-full/mysql-5.1.48/mysql-test'
make: Nothing to be done for `install-exec-am'.
make INSTALL_TO_DIR="/usr/local/mysql/mysql-test" install_test_files
make: Entering directory `/root/lnmp0.6-full/mysql-5.1.48/mysql-test'
停在这个地方很长时间很正常。
Starting php_fpm Failed loading /usr/local/zend/ZendOptimizer.so:/usr/local/zend/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
done 解决方法:https://bbs.vpser.net/thread-1143-1-1.html 谢谢军哥,真是厉害,一招就解决别人从未解决过的问题!
现在好像重启成功了,可仍然打不开虚拟机上的网站,不知道是怎么回事,
重启信息如下:
# /root/lnmp restart
=========================================================================
Manager for LNMP V0.6,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}
=========================================================================
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
Nginx program is reloding!
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm . done
Starting php_fpmdone
# 再想麻烦一下,
Restarting nginx daemon: nginx Remaining processes: 11978
请问我以前安装程序(好像是其他的lanmp程序,老出现这样的问题,是怎么回事。
也是安装不了。
回复 3# 的帖子
无法访问虚拟机的应该是iptables的问题,执行:/etc/init.d/iptables stop,再访问试试 一切解决,军哥你太强悍了,我照你的方法,不仅lnmp可以访问,我安装mapn,也可以访问。太强了,军哥你真是太强了。
不过,我在重启mapn(并非你的软件),还是有提示这一句
Restarting nginx daemon: nginx Remaining processes: 12504
但奇怪的是,现在不影响网站访问了。
[ 本帖最后由 wjhhxl 于 2011-2-15 07:48 编辑 ]
回复 6# 的帖子
提示的nginx进程ID是多少 原帖由 licess 于 2011-2-14 20:06 发表 https://bbs.vpser.net/images/common/back.gif无法访问虚拟机的应该是iptables的问题,执行:/etc/init.d/iptables stop,再访问试试
刚才重启了。发现又要执行一次这个命令才能访问
看来此方法只是临时解决问题,郁闷!
回复 8# 的帖子
centos的话执行:chkconfig iptables off或yum remove iptables 直接删除。 谢谢!!!!!!!!
页:
[1]