root@digitechpk:~# systemctl status apache2
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-12-21 16:39:47 UTC; 4min 20s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 7880 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 63ms
Dec 21 16:39:47 digitechpk.us.to systemd[1]: Starting The Apache HTTP Server...
Dec 21 16:39:47 digitechpk.us.to apachectl[7882]: AH00526: Syntax error on line 32 of /etc/apac>
Dec 21 16:39:47 digitechpk.us.to apachectl[7882]: SSLCertificateChainFile: file '/home/admin/co>
Dec 21 16:39:47 digitechpk.us.to systemd[1]: apache2.service: Control process exited, code=exit>
Dec 21 16:39:47 digitechpk.us.to systemd[1]: apache2.service: Failed with result 'exit-code'.
Dec 21 16:39:47 digitechpk.us.to systemd[1]: Failed to start The Apache HTTP Server.
root@digitechpk:~# systemctl --no-pager -l status apache2
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-12-21 18:13:12 UTC; 4min 21s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 42015 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 19ms
Dec 21 18:13:12 digitechpk.us.to systemd[1]: Starting The Apache HTTP Server...
Dec 21 18:13:12 digitechpk.us.to apachectl[42017]: AH00526: Syntax error on line 32 of /etc/apache2/conf.d/domains/digitechpk.us.to.ssl.conf:
Dec 21 18:13:12 digitechpk.us.to apachectl[42017]: SSLCertificateChainFile: file '/home/admin/conf/web/digitechpk.us.to/ssl/digitechpk.us.to.ca' does not exist or is empty
Dec 21 18:13:12 digitechpk.us.to systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Dec 21 18:13:12 digitechpk.us.to systemd[1]: apache2.service: Failed with result 'exit-code'.
Dec 21 18:13:12 digitechpk.us.to systemd[1]: Failed to start The Apache HTTP Server.