[mythtv-users] alt lightweight web servers for MythTV?

James Miller gajs-f0el at dea.spamcon.org
Wed Apr 15 18:52:46 UTC 2015


On Wed, 15 Apr 2015, James Miller wrote:

> Ok. I discovered I can downgrade to 5.4.39, which I've done. Now, when I 
> do either "curl http://localhost" or "curl http://localhost/test.php" I 
> get "Bad Gateway" html code, as follows:
>
> <html>
> <head><title>502 Bad Gateway</title></head>
> <body bgcolor="white">
> <center><h1>502 Bad Gateway</h1></center>
> <hr><center>nginx/1.7.6</center>
> </body>
> </html>

When I take a look at the nginx error log, I see the following line:

[crit] 29899#0: *3 connect() to unix:/run/php-fpm.socket failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /test.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.socket:", host: "localhost"

So, some kind of php-fpm socket failure (whatever that means). I'll have 
to do some more sleuthing to try and better understand.


More information about the mythtv-users mailing list