Hi, All
After I installed a lava instance and access it from browser, it says:
Bad Gateway
The proxy server received an invalid response from an upstream server. ------------------------------ Apache/2.2.22 (Ubuntu) Server at 192.168.9.109 Port 80
And in the /var/log/apache2/error.log file, I can see following information:
[Fri Jan 04 13:04:37 2013] [error] [client 192.168.9.109] uwsgi: unable to connect to uWSGI server: Permission denied [Fri Jan 04 13:04:37 2013] [debug] mod_deflate.c(615): [client 192.168.9.109] Zlib: Compressed 311 to 235 : URL /fastmodel
Anyone know why and how can I make it work again?
YongQin Liu yongqin.liu@linaro.org writes:
Hi, All
After I installed a lava instance and access it from browser, it says:
Bad Gateway
The proxy server received an invalid response from an upstream server.
Apache/2.2.22 (Ubuntu) Server at 192.168.9.109 Port 80
And in the /var/log/apache2/error.log file, I can see following information:
[Fri Jan 04 13:04:37 2013] [error] [client 192.168.9.109] uwsgi: unable to connect to uWSGI server: Permission denied [Fri Jan 04 13:04:37 2013] [debug] mod_deflate.c(615): [client 192.168.9.109] Zlib: Compressed 311 to 235 : URL /fastmodel
Anyone know why and how can I make it work again?
That's odd. maybe permissions on the uwsgi socket?
These are the permissions for my instance:
mwhudson@narsil:~$ ls -l /srv/lava/instances/dev/run/uwsgi.sock srw-rw---- 1 lava-dev www-data 0 Jan 3 10:50 /srv/lava/instances/dev/run/uwsgi.sock
Cheers, mwh
seems the same:(
18:39:32 liuyq:scripts$ ll /srv/lava/instances/fastmodel/run/uwsgi.sock srw-rw---- 1 liuyq www-data 0 Jan 6 09:32 /srv/lava/instances/fastmodel/run/uwsgi.sock= 18:39:33 liuyq:scripts$ ls -l /srv/lava/instances/fastmodel/run/uwsgi.sock srw-rw---- 1 liuyq www-data 0 Jan 6 09:32 /srv/lava/instances/fastmodel/run/uwsgi.sock 18:40:22 liuyq:scripts$
On 7 January 2013 04:28, Michael Hudson-Doyle michael.hudson@linaro.orgwrote:
/srv/lava/instances/dev/run/uwsgi.sock
linaro-validation@lists.linaro.org