AMH 社区首页
AMH社区 - 开放自由有价值的社区
[综合话题] 网站502 Bad Gateway错误,求解 |
|
---|---|
didishu |
didishu 发表于 2015-01-30 22:19:03
本帖最后由 didishu 于 2015-1-30 23:21 编辑
网站正常运行一年多了,今天突然出现这样的错误提示: 502 Bad Gateway - 502.html 看网上说原因挺多的,目前唯一能排除的是硬盘空间问题。希望达人提供解决办法,谢谢。 有这样的错误日志:*570 connect () to unix:/tmp/php-cgi-evtrans.com.sock failed (2: No such file or directory) while connecting to upstream, client: 66.249.73.134, server: evtrans.com, request: "GET /en/quotesHTTP/1.1", upstream: "fastcgi://unix:tmp/php-cgi-evtrans.com.sock:", host: "www.evtrans.com"
点赞,加油! (0分)
2015-01-30 22:19:03 1
|
didishu |
不知道重启nginx行不行呢?有达人麻烦告诉一下,谢谢。
回复
2015-01-31 20:57:47 2
|
didishu |
在线等达人帮助。
现在我试图修改php-fpm.conf时,提示“permission denied"
回复
2015-02-02 10:08:47 3
|
amysql |
是使用4.2吗
重启面板看返回的信息与是否正常 执行 /etc/init.d/amh-start
回复
2015-02-02 10:16:57 4
AMH面板 - 好用高效低占用、安全可靠极稳定 |
didishu |
老大发话了。
是4.2版本。 执行/etc/init.d/amh-start后,返回信息如下: [root@AY13080412391203006cZ ~]# /etc/init.d/amh-start ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [OK] Nginx stop ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com Shutting down MySQL SUCCESS! /etc/init.d/amh-start: line 10: kill: (10465) - No such process /etc/init.d/amh-start: line 10: kill: (10466) - No such process /etc/init.d/amh-start: line 10: kill: (25627) - No such process /etc/init.d/amh-start: line 10: kill: (25628) - No such process /etc/init.d/amh-start: line 10: kill: (25629) - No such process ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com Starting MySQL. SUCCESS! [OK] MySQL start ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [Notice] All PHP start... ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [Notice] evtrans.com PHP start... [OK] evtrans.com PHP start ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [Notice] roloon.com PHP start... [OK] roloon.com PHP start Starting pure-config.pl: Running: /usr/local/sbin/pure-ftpd --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lpuredb:/etc/pureftpd.pdb -lunix -L10000:8 -m4 -s -U 133:022 -u100 -k99 -Z -p10100:10110 ============================================================= [LNMP/Nginx] Amysql Host - AMH 4.2 http://Amysql.com [OK] Nginx start
回复
2015-02-02 10:22:47 5
|
amysql |
回复
2015-02-02 10:30:29 6
|
didishu |
错误日志里的提示有什么蛛丝蚂迹呢?
修改php-fpm.conf时,提示“permission denied",是权限不够吧?又该怎么授权?谢谢了。
回复
2015-02-02 10:36:30 7
|
amysql |
permission denied是没权限。
你是怎么修改,是用root账号吗
回复
2015-02-02 10:51:30 8
|
didishu |
是用root账号,登录进去之后,还是改不了。显示permission denied
回复
2015-02-02 10:57:25 9
|
amysql |
pm root 我去看。
回复
2015-02-02 10:59:47 10
|