我刚刚安装了Ubuntu14.04的最新更新。一切似乎都很正常。rtorrent在工作。nginx正在运行php5-fpm正在运行,但是当我尝试用rutorrent连接到rtorrent时,rutorrent出现了,但没有连接到rtorrent。
我确实注意到了一件事--由于某种原因,我的ip地址发生了变化。它是192.168.0.34,现在是192.168.0.36,但是连接正常,rtorrent正在上传和下载。
我发现它很难诊断,因为所有的个别部分似乎都在工作,但整体不是。我真的很感激你能帮我诊断和解决这个问题。
这是我所犯的错误
[26.06.2014 00:13:59] Bad response from server: (502 [error,getplugins]) <html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.6.0</center> </body> </html>
[26.06.2014 00:13:59] Bad response from server: (502 [error,getuisettings]) <html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.6.0</center> </body> </html> 发布于 2014-06-26 14:08:13
这对我来说是个很大的问题,同时你也发布了你的问题。问题似乎是/var/run/php5-fpm.sock的权限更改。
我通过在/etc/php5/fpm/pool.d/www.conf中取消对这些设置的注释来修正它:
listen.owner = www-data
listen.group = www-data
listen.mode = 0660根据这个Ubuntu论坛线程看来,最新的安全更新将套接字的默认所有者和组更改为根,而不是www-data。我非常失望的是,他们推动了这一变化,这在这个问题上是一种倒退。
https://askubuntu.com/questions/488203
复制相似问题