全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 3674|回复: 21
打印 上一主题 下一主题

[疑问] LNMP重定向出现问题了,求高手帮忙,急啊!!!!

[复制链接]
跳转到指定楼层
1#
发表于 2011-9-8 13:33:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我的网站www.cityhg.com,本来做了个论坛也放在/home/wwwroot/bbs目录,但是为了和主站直接有数据交换方便,把论坛移到/home/wwwroot/cityhg/bbs了,修改了bbs.cityhg.com.conf,但是突然网站全部不能访问了,我的论坛是开了伪静态的,没办法,删除了论坛数据、论坛域名文件、伪静态配置文件,重启VPS可以发现网站还是打不开,求帮忙,非常感谢!!!!
2#
 楼主| 发表于 2011-9-8 13:35:42 | 只看该作者
=========================================================================
Manager for LNMP V0.7  ,  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!
SUCCESS! Reloading service MySQL
Reload service php-fpm  done
[root@cityhg vhost]# /root/lnmp restart
=========================================================================
Manager for LNMP V0.7  ,  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. SUCCESS!
MySQL program is stop
Starting LNMP...
[warn]: conflicting server name "www.cityhg.com" on 0.0.0.0:80, ignored
[warn]: conflicting server name "cityhg.com" on 0.0.0.0:80, ignored
Nginx start successfully!
Starting php_fpm Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so:  /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so: cannot open shared object file: No such file or directory
done
PHP-FPM start successfully!
Starting MySQL. SUCCESS!
MySQL start successfully!
[root@cityhg vhost]# /root/lnmp reload
=========================================================================
Manager for LNMP V0.7  ,  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!
SUCCESS! Reloading service MySQL
Reload service php-fpm  done
3#
发表于 2011-9-8 13:39:52 | 只看该作者
伪静态文件有问题? 折腾吧
4#
发表于 2011-9-8 13:39:59 | 只看该作者
重新绑定域名bbs到/home/wwwroot/cityhg/bbs 重启
5#
 楼主| 发表于 2011-9-8 14:22:01 | 只看该作者
多些飞天金猪的帮助,不过我试了您说的方法,还是没有好
请问还有朋友能帮下忙吗?
6#
发表于 2011-9-8 14:24:22 | 只看该作者
bbs.cityhg.com.conf 里面的server规则发来看看
7#
 楼主| 发表于 2011-9-8 14:36:34 | 只看该作者
我直接删除了bbs.cityhg.com.conf
8#
发表于 2011-9-8 14:37:41 | 只看该作者
   偶是小白~
9#
发表于 2011-9-8 14:41:45 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
10#
 楼主| 发表于 2011-9-8 14:41:48 | 只看该作者
现在就求我的主网站www能保住,唉
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-24 01:06 , Processed in 0.088450 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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