raksmart活动促销

分享

写回答

发帖

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

国外VPS云主机 国外VPS云主机 1653 人阅读 | 1 人回复

发表于 2011-9-8 13:31:33 | 显示全部楼层 |阅读模式

我的网站www.cityhg.com,本来做了个论坛也放在/home/wwwroot/bbs目录,但是为了和主站直接有数据交换方便,把论坛移到/home/wwwroot/cityhg/bbs了,修改了bbs.cityhg.com.conf,但是突然网站全部不能访问了,我的论坛是开了伪静态的,没办法,删除了论坛数据、论坛域名文件、伪静态配置文件,重启VPS可以发现网站还是打不开,求帮忙,非常感谢!!!!

回答|共 1 个

hadas

发表于 2011-9-8 13:35:57 | 显示全部楼层

=========================================================================
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
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则