Apache on Centos 7 shows AH01114: HTTP: failed to make connection to backend 127.0.0.1
by sirius_lee from LinuxQuestions.org on (#5S3HC)
This is a server with Centos 7 and Apache and Tomcat installed 4 years ago and it stopped working few days ago. After looking into error_log file I've noticed that the certificate has expired:
Unable to verify certificate 'Server-Cert'. Add "NSSEnforceValidCerts off" to nss.conf so the server can start until the problem can be resolved. And I followed this tutorial to update it: https://programmerah.com/apache-cann...expired-36077/
It all seemed well, but now it shows an 503 error on the main page: example.com and the other url: example.com/rest/login.jsp works just fine.
The error is:
https://ibb.co/cDsDQff
The conf file is:
https://ibb.co/QpVX8r0https://ibb.co/FgzY8QW
And the netstat -tulpn gives back this: Netstat, so the server is not listening anithing on the port 5000 and I have half of the website working and the other half - 503 service unvailable.
https://ibb.co/H7VVKPs
I've tried setting SElinux to permissive mode and /usr/sbin/setsebool httpd_can_network_connect 1 as well as putting retry=0 into ProxyPass but nothing helped...
Any ideas would be more than welcome.
Thank you guys!
Unable to verify certificate 'Server-Cert'. Add "NSSEnforceValidCerts off" to nss.conf so the server can start until the problem can be resolved. And I followed this tutorial to update it: https://programmerah.com/apache-cann...expired-36077/
It all seemed well, but now it shows an 503 error on the main page: example.com and the other url: example.com/rest/login.jsp works just fine.
The error is:
https://ibb.co/cDsDQff
The conf file is:
https://ibb.co/QpVX8r0https://ibb.co/FgzY8QW
And the netstat -tulpn gives back this: Netstat, so the server is not listening anithing on the port 5000 and I have half of the website working and the other half - 503 service unvailable.
https://ibb.co/H7VVKPs
I've tried setting SElinux to permissive mode and /usr/sbin/setsebool httpd_can_network_connect 1 as well as putting retry=0 into ProxyPass but nothing helped...
Any ideas would be more than welcome.
Thank you guys!