VPS侦探论坛

 找回密码
 注册
查看: 5285|回复: 2

lnmp一键安装后无法访问

[复制链接]
发表于 2012-4-5 12:11:38 | 显示全部楼层 |阅读模式

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.                                       [  OK  ]
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.                                            [  OK  ]
MySQL start successfully!


安装lnmp.log信息:

^[[H^[[2J=========================================================================
LNMP V0.8 for CentOS/RadHat Linux VPS  Written 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,昨晚也无法访问,一夜没搞,今天突然好了。求解释啊。。。谢了。


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

[ 本帖最后由 Carlsen 于 2012-4-5 12:22 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-5 13:58:41 | 显示全部楼层


这个问题已经说了很多遍了,提问前先看FAQ
99%是iptables的问题,停掉或删掉iptables就行了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-4-5 19:08:38 | 显示全部楼层

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

不过现在解决了,应该是VPS商的问题。在没有做改动的情况下,今天下午能够访问了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-22 17:18 , Processed in 0.025822 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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