I tried to run the foreman installer but it throwed lot of errors related to httpd service:
2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com systemd[1]: Starting The Apache HTTP Server... 2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com httpd[18624]: AH00526: Syntax error on line 67 of /etc/httpd/conf.d/05-foreman-ssl.conf: 2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com httpd[18624]: SSLCertificateFile: file '/etc/puppetlabs/puppet/ssl/certs/training.foreman.com.pem' does not exist or is empty 2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE 2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com systemd[1]: httpd.service: Failed with result 'exit-code'.
Could someone please look into this issue & address it.
Regards,
Shahid
2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com systemd[1]: Failed to start The Apache HTTP Server. 2021-11-12 05:35:41 [ERROR ] [configure] /Stage[main]/Apache::Service/Service[httpd]/ensure: change from 'stopped' to 'running' failed: Systemd start for httpd failed!
2021-11-12 05:35:41 [ERROR ] [configure] journalctl log for httpd:
2021-11-12 05:35:41 [ERROR ] [configure] -- Logs begin at Fri 2021-11-12 05:31:02 UTC, end at Fri 2021-11-12 05:35:41 UTC. --
2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com systemd[1]: Starting The Apache HTTP Server... 2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com httpd[18624]: AH00526: Syntax error on line 67 of /etc/httpd/conf.d/05-foreman-ssl.conf: 2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com httpd[18624]: SSLCertificateFile: file '/etc/puppetlabs/puppet/ssl/certs/training.foreman.com.pem' does not exist or is empty 2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE 2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com systemd[1]: httpd.service: Failed with result 'exit-code'. 2021-11-12 05:35:41 [ERROR ] [configure] Nov 12 05:35:41 training.foreman.com systemd[1]: Failed to start The Apache HTTP Server.