zy2060537 发表于 2012-1-31 18:34:08

升级lnmpa问题,请教!!

/root/lnmpa status
=========================================================================
Manager for LNMPA V0.8,Written by Licess
=========================================================================
LNMPA is a tool to auto-compile & install Nginx+MySQL+PHP+Apache on Linux
This script is a tool to Manage status of LNMPA
For more information please visit http://www.lnmp.org

Usage: /root/lnmpa {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is runing!
/etc/init.d/httpd: line 112: lynx: command not found
SUCCESS! MySQL running (27490)

这个又没有问题?

/root/lnmpa restatus
=========================================================================
Manager for LNMPA V0.8,Written by Licess
=========================================================================
LNMPA is a tool to auto-compile & install Nginx+MySQL+PHP+Apache on Linux
This script is a tool to Manage status of LNMPA
For more information please visit http://www.lnmp.org

Usage: /root/lnmpa {start|stop|reload|restart|kill|status}
=========================================================================
Usage: /root/lnmpa {start|stop|reload|restart|kill|status}
# /root/lnmpa restart
=========================================================================
Manager for LNMPA V0.8,Written by Licess
=========================================================================
LNMPA is a tool to auto-compile & install Nginx+MySQL+PHP+Apache on Linux
This script is a tool to Manage status of LNMPA
For more information please visit http://www.lnmp.org

Usage: /root/lnmpa {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Nginx program is stop
Shutting down MySQL. SUCCESS!
MySQL program is stop
Starting LNMPA...
nginx: the "log_format" directive may be used only on "http" level in /usr/local/nginx/conf/nginx.conf:93
Nginx start successfully!
Starting MySQL. SUCCESS!
MySQL start successfully!


添加第2个和第3个域名,不加3W能打开网站,一旦加上3W就转到第一个域名首页,这个该如何解决?请教!!
在第2和第3域名里面
/usr/local/apache/conf/vhost
这里修改了server name前添加了3W,打开域名正常,而打开不加3W就转到第一个域名,

[ 本帖最后由 zy2060537 于 2012-1-31 18:41 编辑 ]

licess 发表于 2012-1-31 19:12:52

前面的2个问题,搜索错误信息都能在论坛里找到解决方法

访问到默认的域名肯定是带www的域名没有绑定上
页: [1]
查看完整版本: 升级lnmpa问题,请教!!