容器技术交流

 找回密码
 立即注册
查看: 3619|回复: 5

老大。我的5。1。0为什么apache工作正常,nginx的80口切换不过来啊

[复制链接]
发表于 2009-11-22 12:15:16 | 显示全部楼层 |阅读模式
为什么呢?
我在后台切换到 nginx,结果apache停止了。但是 80口起不来, 8888口正常的。
 楼主| 发表于 2009-11-22 15:42:32 | 显示全部楼层
提示
[root@localhost sbin]# ./nginx-start
spawn-fcgi.c.197: child spawned successfully: PID: 3208
2009/11/22 16:26:51 [emerg] 3209#0: invalid number of arguments in "server_name" directive in /usr/local/nginx/conf/vhost.conf:5
spawn-fcgi.c.127: bind failed: Address already in use

错误
 楼主| 发表于 2009-11-22 15:43:02 | 显示全部楼层
晕死了。不知道什么错误了。
 楼主| 发表于 2009-11-22 15:51:06 | 显示全部楼层
晕死。解决了。 居然是那个"server_name的问题。 里面是空的, 没设置 居然就启动不起来。
 楼主| 发表于 2009-11-22 15:51:28 | 显示全部楼层
这样就完美了。
 楼主| 发表于 2009-11-22 15:52:03 | 显示全部楼层
乖乖 还是nginx 占内存少啊。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-11 07:52 , Processed in 0.028452 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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