容器技术交流

 找回密码
 立即注册
查看: 4454|回复: 2

刚安装完就502 Bad Gateway

[复制链接]
发表于 2009-12-4 10:59:25 | 显示全部楼层 |阅读模式
[root@anyx2 famp5.1.0]# nginx-stop;/apache-stop
-bash: nginx-stop: command not found
httpd (no pid file) not running
[root@anyx2 famp5.1.0]# webserver-restart
-bash: webserver-restart: command not found
[root@anyx2 famp5.1.0]# /webserver-restart
httpd (no pid file) not running
spawn-fcgi.c.197: child spawned successfully: PID: 15453
PHP Warning:  [eAccelerator] Can not create shared memory area in Unknown on line 0
PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0
spawn-fcgi.c.218: child exited with: 254, Unknown error 254
spawn-fcgi.c.127: bind failed: Address already in use
[root@anyx2 famp5.1.0]# /nginx-stop;/apache-stop
spawn-fcgi.c.127: bind failed: Address already in use
httpd (no pid file) not running
[root@anyx2 famp5.1.0]# webserver-restart
-bash: webserver-restart: command not found
[root@anyx2 famp5.1.0]# /webserver-restart
httpd (no pid file) not running
spawn-fcgi.c.197: child spawned successfully: PID: 15573
PHP Warning:  [eAccelerator] Can not create shared memory area in Unknown on line 0
PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0
spawn-fcgi.c.218: child exited with: 254, Unknown error 254
spawn-fcgi.c.127: bind failed: Address already in use
 楼主| 发表于 2009-12-4 11:15:39 | 显示全部楼层
太无语了。
bigcastle 该用户已被删除
发表于 2010-5-14 14:06:12 | 显示全部楼层
参照这个http://blog.chinaunix.net/u2/68301/showart_1074584.html
重新安装一下spawn-fcgi再复制 到/usr/local/nginx/sbin 目录 下即可,之后删除httplight 并重启nginx
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-5-11 10:09 , Processed in 0.027537 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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