VPS侦探论坛

 找回密码
 注册
查看: 5054|回复: 1

升级lnmpa问题,请教!!

[复制链接]
发表于 2012-1-31 18:34:08 | 显示全部楼层 |阅读模式

/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@uvads lnmp0.8-full]# /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: [warn] 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 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-1-31 19:12:52 | 显示全部楼层


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

访问到默认的域名肯定是带www的域名没有绑定上
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 14:26 , Processed in 0.025605 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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