longyushen 发表于 2012-11-6 09:55:18

安装了lnmp0.9之后不能访问(还是不行,得再请军哥进来看看)

安装了之后,提示域名无法解析,但是我的域名一直能解析了的,
bbs.jnustu.net
不知道为什么现在却打不开,各项启动都成功了
以下是安装日志


[ 本帖最后由 longyushen 于 2012-11-6 13:33 编辑 ]

licess 发表于 2012-11-6 10:30:45

我这边能打开

longyushen 发表于 2012-11-6 12:40:06

回复 2# 的帖子

刚刚又重装了一次,可以了,但是,一旦服务器重启之后就不行
服务器启动成功的
/usr/local/nginx/conf$ /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
Shutting down php_fpm . done
PHP-FPM program is stop
Shutting down MySQL..[纭畾]

MySQL program is stop
Starting LNMP...
Nginx start successfully!
Starting php_fpmdone
PHP-FPM start successfully!
Starting MySQL.[纭畾]

MySQL start successfully!

longyushen 发表于 2012-11-6 12:41:53

:( 军哥,救急啊
:Q

longyushen 发表于 2012-11-6 12:52:07

回复 2# 的帖子

是不是还要httpd服务要启动的?但是我输入service httpd restart却说没找到httpd服务

licess 发表于 2012-11-6 13:09:22

重启后,打不开的话,执行/root/lnmp status 看看
什么系统?

longyushen 发表于 2012-11-6 13:23:35

回复 6# 的帖子

centos 5.8的系统

longyushen 发表于 2012-11-6 13:25:22

安装完成后的提示和执行命令后如图所示

1

[ 本帖最后由 longyushen 于 2012-11-6 13:28 编辑 ]

longyushen 发表于 2012-11-6 13:52:45

标题

刚刚安装完是可以的,就是重启后就不可以了,可不能每次重启都重装lnmp吧

licess 发表于 2012-11-6 18:49:58

打不开的时候,执行/root/lnmp status 看看

longyushen 发表于 2012-11-7 00:03:31

回复 10# 的帖子

执行结果如8楼所示

licess 发表于 2012-11-7 08:05:42

那样的话vps上nginx之类的都在正常运行,可能不是nginx方面的问题,检查iptables等可能因素

longyushen 发表于 2012-11-7 11:37:35

已确定是端口问题,现在正常了,只是当初安装LNMP的时候暂时打开了80,重启后80口没有自动打开导致的

longyushen 发表于 2012-11-7 11:38:10

回复 12# 的帖子

已确定是端口问题,现在正常了,只是当初安装LNMP的时候暂时打开了80,重启后80口没有自动打开导致的
页: [1]
查看完整版本: 安装了lnmp0.9之后不能访问(还是不行,得再请军哥进来看看)