Carlsen 发表于 2012-4-5 12:11:38

lnmp一键安装后无法访问

emshost的主机,因为前一天突然所有网站无法访问,找了很多方法没用。就重新装了系统CentOS 32bit.

之后跟着就重新安装了lnmp0.8 full包。感觉所有都正常,然后连二级域名和IP都没有办法访问。但是SSH和ping都正常。

重启VPS或者/root/lnmp restart 都没用。返回信息:



=========================================================================
Manager for LNMP V0.8,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
Shutting down php_fpm . done
PHP-FPM program is stop
Shutting down MySQL.                                       
MySQL program is stop
Starting LNMP...
Nginx start successfully!
Starting php_fpm Failed loading /usr/local/php/lib/php/extensions/no-debug-non-z                  ts-20090626/eaccelerator.so:/usr/local/php/lib/php/extensions/no-debug-non-zts                  -20090626/eaccelerator.so: cannot open shared object file: No such file or direc                  tory
Failed loading /usr/local/ioncube/ioncube_loader_lin_5.3.so:/usr/local/ioncube                  /ioncube_loader_lin_5.3.so: undefined symbol: gc_remove_zval_from_buffer
done
PHP-FPM start successfully!
Starting MySQL.                                          
MySQL start successfully!




安装lnmp.log信息:


^[[H^[[2J=========================================================================
LNMP V0.8 for CentOS/RadHat Linux VPSWritten by Licess
=========================================================================
A tool to auto-compile & install Nginx+MySQL+PHP on Linux
For more information please visit http://www.lnmp.org/
=========================================================================
Please input domain:
(Default domain: www.lnmp.org):===========================
domain=vps.cgbb.net
===========================
===========================
Please input the root password of mysql:
(Default password: root):===========================
mysqlrootpwd=46475196
===========================
Press any key to start...
error: package httpd is not installed
error: package mysql is not installed
error: package php is not installed
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: httpd
Determining fastest mirrors
* base: centos.mirror.facebook.net
* extras: ftp.osuosl.org
* updates: mirror.san.fastserv.com
Package(s) httpd available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: php
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: ftp.osuosl.org
* updates: mirror.san.fastserv.com
Package(s) php available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: mysql-server
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: ftp.osuosl.org
* updates: mirror.san.fastserv.com
Package(s) mysql-server available, but not installed.
No Match for argument: mysql
Package(s) mysql available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: php-mysql
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: ftp.osuosl.org
* updates: mirror.san.fastserv.com
Package(s) php-mysql available, but not installed.
No Packages marked for removal
"lnmp.log" 39308L, 3179956C

lnmp.log太多,没办法全部复制,又不能下载。

军哥,求解决。

我同一家的VPS,昨晚也无法访问,一夜没搞,今天突然好了。求解释啊。。。谢了。:Q


netstat 之后看到端口21/22/80/3306都有。

[ 本帖最后由 Carlsen 于 2012-4-5 12:22 编辑 ]

licess 发表于 2012-4-5 13:58:41

这个问题已经说了很多遍了,提问前先看FAQ
99%是iptables的问题,停掉或删掉iptables就行了

Carlsen 发表于 2012-4-5 19:08:38

:(在这之前我已经看过了,当时都不行的。

不过现在解决了,应该是VPS商的问题。在没有做改动的情况下,今天下午能够访问了。
页: [1]
查看完整版本: lnmp一键安装后无法访问