Content
[proxy_http:error] HTTP: failed to make connection to backend: 127.0.0.1
Added by Michael Chinn over 4 years ago
New install on Debian 10. Used the installation guide here:
https://docs.openproject.org/installation-and-operations/installation/packaged/#debian-installation
[root@openproject]: ~># openproject run check
[ok] MySQL configuration is working
[ok] Web server is running
[ok] openproject server is running
[ok] openproject background job worker is running
sending test email using sendmail...
[ok] test email sent to root@localhost
when I try to access the site I get a "Service Unavailable". The log (/var/log/apache2/error.log) shows:
[Tue Sep 01 00:10:36.085016 2020] [core:notice] [pid 578:tid 140251952170112] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 01 01:11:09.806898 2020] [proxy:error] [pid 588:tid 140251925272320] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:6000 (127.0.0.1) failed
[Tue Sep 01 01:11:09.806978 2020] [proxy_http:error] [pid 588:tid 140251925272320] [client 156.96.117.151:53617] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
[Tue Sep 01 01:54:48.380741 2020] [proxy:error] [pid 588:tid 140251908486912] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:6000 (127.0.0.1) failed
I guess the proxy (on port 6000) is not running??
[root@openproject]: ~># netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 563/sshd
tcp 0 0 127.0.0.1:45432 0.0.0.0:* LISTEN 671/postgres
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 827/master
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 474/memcached
tcp6 0 0 :::22 :::* LISTEN 563/sshd
tcp6 0 0 :::25 :::* LISTEN 827/master
tcp6 0 0 :::80
No proxy (Unicorn) running...
Checking the processes (ps):
$ ps aux
openpro+ 6795 96.6 15.4 310832 156664 ? Rl 02:11 0:13 /opt/openproject/vendor/bundle/ruby/2.6.0/bin/unicorn --config-file config/unicorn.rb --host 127.0.0.1 --port 6000 --env production
postgres 6799 1.0 1.7 214900 17576 ? Ss 02:11 0:00 postgres: 10/main: openproject openproject 127.0.0.1(40818) idle
This shows Unicorn being started on port 6000 but... It doesn't start?
Help?
Thanks
Replies (1)
[SOLVED] Update: (2020-10-01) I did a fresh install on a robust, stand-alone server (8-core + 16GB RAM). The install went smoothly. And the app runs as advertised. I think running this on a rented VPS leaves much to be desired.