[Freedombox-discuss] Plinth - bad gateway

Dietmar ndcdhimdsa at gmx.de
Sun May 22 20:05:51 UTC 2016


Am Montag, den 23.05.2016, 00:51 +0530 schrieb Sunil Mohan Adapa:
> On 05/22/2016 11:55 PM, Dietmar wrote:
> > The issue I have is that when I am accessing plinth I get
> >> Bad Gateway
> >> The proxy server received an invalid response from an upstream server
> >> ______________________________________________________________________
> >> Apache/2.4.20 (Debian) Server at 192.xxx.x.xxx Port 443
> > 
> > This happened after I installed ikiwiki-hosting-web in order to get
> > ikisite. I wanted to use it to do ikiwiki backups. 
> > That package installed also a bunch of other server-stuff which I guess
> > did something that locks out plinth now. I removed ikiwiki-hosting-web
> > again, also did a plinth --setup, no change. 
> > I have no proxy running, neither privoxy. Iceweasel is configured to use
> > "no proxy". 
> > Interestingly, I can get into ikiwiki. I have no clue how to get this
> > back.
> 
> If I were you I would check:
> 
> - Is plinth running properly?  curl http://localhost:8000/plinth/user/login/
This returns the content of an html document

> 
> - What does apache error log say?
[Sun May 22 19:46:13.664141 2016] [proxy:error] [pid 1108] (32)Broken
pipe: [client 192.xxx.x.xxx:45225] AH01084: pass request body failed to
127.0.0.1:8000 (127.0.0.1)
[Sun May 22 19:46:13.664481 2016] [proxy_http:error] [pid 1108] [client
192.xxx.x.xxx:45225] AH01097: pass request body failed to 127.0.0.1:8000
(127.0.0.1) from 192.xxx.x.xxx ()

> 
> - Is Apache sending a requests to Plinth?  If necessary stop Plinth and
> spawn a sample listener using 'nc -l 8000'.
This give a "Service Unavailable", after sudo service plinth start, I
get again the time-out or Bad Gateway
> 
> - Are there residual configuration files in
> /etc/apache2/sites-available/ or conf-available?  
There are some changes in mods-enabled:
lrwxrwxrwx 1 root root 26 Mai 22 16:32 ssl.conf
-> ../mods-available/ssl.conf
lrwxrwxrwx 1 root root 26 Mai 22 16:32 ssl.load
-> ../mods-available/ssl.load
lrwxrwxrwx 1 root root 29 Mai 22 16:32 suexec.load
-> ../mods-available/suexec.load

"suexec" rings a bell when I installed ikisite, but I am not sure.

> Did the installation
> modify apache2.conf?
Probably not:
-rw-r--r-- 1 root root  7116 Apr 10 15:03 apache2.conf

> 
So my guess are the mods, but I am not sure how to correct those. Are
there "templates".

I have to close this for today, have to get to work tomorrow early, but
I will work on it in the evening.

Dietmar




More information about the Freedombox-discuss mailing list