It often happens that apache crashes and nginx shows a Bad gateway error.
The problem is that if I input "systemctl restart httpd" it shows no error message, everything seems like apache has restarted, but the bad gateway error persists.
The only way I can fix this is by rebooting the server or by modifying the site php properties from php-fpm + apache to fastcgi + apache.
My server is a centos 7 linux with plesk 12.5.30
As I have monit installed to monitor the apache process this problem causes that monit is uanble to avoid the server from being unavailable.
Can anybody help me unserstanding what to restart in order to have apache back up again and avoid the bad gateway error?
The problem is that if I input "systemctl restart httpd" it shows no error message, everything seems like apache has restarted, but the bad gateway error persists.
The only way I can fix this is by rebooting the server or by modifying the site php properties from php-fpm + apache to fastcgi + apache.
My server is a centos 7 linux with plesk 12.5.30
As I have monit installed to monitor the apache process this problem causes that monit is uanble to avoid the server from being unavailable.
Can anybody help me unserstanding what to restart in order to have apache back up again and avoid the bad gateway error?