we are experiencing some weird issues with the httpd.service, it doesn't start
Please let me know if you know by any chance how to resolve this issue
Failed to start the Apache HTTP Server/ job for httpd.service failed because control process exited with error code
even if we add ServerName 127.0.0.1 - it doesn't fix the problem at the end of sudo nano /etc/apache2/apache2.conf
Any help would be greatly appreciated! below are some logs
[root@freepbx ~]# sudo systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@freepbx ~]# sudo systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@freepbx ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2024-10-21 17:34:19 AEDT; 3s ago
Docs: man:httpd(8) man:apachectl(8)
Process: 29645
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 29645 (code=exited, status=1/FAILURE)
Oct 21 17:34:19 freepbx.sangoma.local systemd[1]: Starting The Apache HTTP Server... Oct 21 17:34:19 freepbx.sangoma.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Oct 21 17:34:19 freepbx.sangoma.local systemd[1]: Failed to start The Apache HTTP Server.
Oct 21 17:34:19 freepbx.sangoma.local systemd[1]: Unit httpd.service entered failed state.
Oct 21 17:34:19 freepbx.sangoma.local systemd[1]: httpd.service failed.
[root@freepbx ~]# cd /var/log/httpd
[root@freepbx httpd]# tail -f error_log
[Mon Oct 21 17:34:10.305554 2024] [suexec:notice] [pid 29635] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 21 17:34:10.309979 2024] [ssl:emerg] [pid 29635] AH01903: Failed to configure CA certificate chain!
[Mon Oct 21 17:34:10.309989 2024] [ssl:emerg] [pid 29635] AH02312: Fatal error initialising mod_ssl, exiting.
[Mon Oct 21 17:34:19.136853 2024] [suexec:notice] [pid 29645] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 21 17:34:19.137369 2024] [ssl:emerg] [pid 29645] AH01903: Failed to configure CA certificate chain!
[Mon Oct 21 17:34:19.137377 2024] [ssl:emerg] [pid 29645] AH02312: Fatal error initialising mod_ssl, exiting.
I am expecting to start httpd.service Rebooting, upgrading, refreshing, reloading the freepbx server I have tried adding ServerName 127.0.0.1 - it doesn't fix the problem at the end of sudo nano /etc/apache2/apache2.conf