笨笨熊 发表于 2010-6-22 00:18:40

我VPS重启之后,网站无法访问,帮忙解决一下!

本人太菜!太抱歉!


我重启Vps以后,输入下面的命令
# /root/lnmp restart
=========================================================================
Manager for LNMP V0.4,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...
: unexpected end of file, expecting ";" or "}" in /usr/local/nginx/conf/mime.types:81
configuration file /usr/local/nginx/conf/nginx.conf test failed
cat: /usr/local/nginx/logs/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l
Nginx program is reloding!
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpmdone
Starting php_fpmdone
#

网站无法访问。请问什么原因,各位大哥大姐帮忙解决一下!谢谢了!是lnmp的原因吗?

licess 发表于 2010-6-22 00:25:14

回复 1# 的帖子

: unexpected end of file, expecting ";" or "}" in /usr/local/nginx/conf/mime.types:81

按错误提示是这个文件有问题,找个nginx的mime.types文件覆盖就可以。

笨笨熊 发表于 2010-6-22 00:31:32

军哥,我按照覆盖了
现在是这个提示
还是打不开

# /root/lnmp restart
=========================================================================
Manager for LNMP V0.4,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
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l
Nginx program is reloding!
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm . done
Starting php_fpmdone
#



谢谢你!

笨笨熊 发表于 2010-6-22 00:31:55

回复 2# 的帖子

军哥,我按照覆盖了
现在是这个提示
还是打不开

# /root/lnmp restart
=========================================================================
Manager for LNMP V0.4,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
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l
Nginx program is reloding!
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
Shutting down php_fpm . done
Starting php_fpmdone
#



谢谢你!
页: [1]
查看完整版本: 我VPS重启之后,网站无法访问,帮忙解决一下!