This happened after the server went down all of sudden, we couldn't access it only a minute later, when we attempted apache restart. the error below occurred:
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 65 of /usr/local/psa/admin/conf/generated/13342807890.71533800_server.include: Syntax error on line 5 of /usr/local/psa/admin/conf/ip_vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/[WEBSITE_NAME]/conf/13271658660.95918800_httpd_ip_default.include: Permission denied
Due to business confidentiality, I replaced the actual website name with
[WEBSITE_NAME] in this question.
httpd -k start stop works fine without errors, but service
httpd restart/start/stop fails. I tried
chcon -t httpd_config_t on the listed conf files but to no avail. I also
/usr/local/psa/admin/sbin/websrvmng -v -a but that didn't work either
The [WEBSITE_NAME] have been added from the start and restart was working fine. I don't think it's a permission issue with that site directory. It seems it has to do with SElinux. Something happened to it either when server went down or some changes I don't know about.
How would I go about debugging this issue?