apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Thu 2021-10-21 11:24:09 UTC; 41s ago
Process: 497 ExecStop=/usr/sbin/apachectl stop (code=exited, status=1/FAILURE)
Process: 487 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=1/FA
Process: 2158 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILU
Main PID: 1356 (code=exited, status=0/SUCCESS)
Oct 21 11:24:09 ip-172-31-0-189 systemd[1]: Starting The Apache HTTP Server...
Oct 21 11:24:09 ip-172-31-0-189 apachectl[2158]: AH00558: apache2: Could not rel
Oct 21 11:24:09 ip-172-31-0-189 apachectl[2158]: Action 'start' failed.
Oct 21 11:24:09 ip-172-31-0-189 apachectl[2158]: The Apache error log may have m
Oct 21 11:24:09 ip-172-31-0-189 systemd[1]: apache2.service: Control process exi
Oct 21 11:24:09 ip-172-31-0-189 systemd[1]: apache2.service: Failed with result
Oct 21 11:24:09 ip-172-31-0-189 systemd[1]: Failed to start The Apache HTTP Serv
ubuntu@ip-172-31-0-189:~$ /lib/systemd/system/apache2.service; enabled; vendor p
edit:
[Thu Oct 21 12:41:35.061157 2021] [ssl:emerg] [pid 3721] AH02311: Fatal error initialising mod_ssl, exiting.
See /var/log/apache2/error.log for more information
[Thu Oct 21 12:41:35.061161 2021] [ssl:emerg] [pid 3721] AH02564: Failed to configure encrypted (?) private key domain.ca:443:0,
check /etc/ssl/certs/domain.ca.key AH00016: Configuration Failed