Unable restart Apache2

Dear team,

i;m error restart the apache2 server after install ssl. anyone can help?

below the error:

~$ sudo service apache2 start
Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xeu apache2.service” for details.
~$ sudo service apache2 status
× apache2.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2025-05-06 09:59:31 +08; 27s ago
Docs: Apache HTTP Server Version 2.4 Documentation - Apache HTTP Server Version 2.4
Process: 119141 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 28ms

May 06 09:59:31 inetstorage systemd[1]: Starting apache2.service - The Apache HTTP Server…
May 06 09:59:31 inetstorage apachectl[119143]: (98)Address already in use: AH00072: make_sock: coul>
May 06 09:59:31 inetstorage apachectl[119143]: (98)Address already in use: AH00072: make_sock: coul>
May 06 09:59:31 inetstorage apachectl[119143]: no listening sockets available, shutting down
May 06 09:59:31 inetstorage apachectl[119143]: AH00015: Unable to open logs
May 06 09:59:31 inetstorage systemd[1]: apache2.service: Control process exited, code=exited, statu>
May 06 09:59:31 inetstorage systemd[1]: apache2.service: Failed with result ‘exit-code’.
May 06 09:59:31 inetstorage systemd[1]: Failed to start apache2.service - The Apache HTTP Server.

You seem to have it running. What if you run a restart of apache2 instead of start? Or stop first then start?

still error;
$ sudo systemctl start apache2.service
Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xeu apache2.service” for details.
$ sudo systemctl stop apache2.service
$ sudo systemctl restart apache2.service
Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xeu apache2.service” for details.

Is there another web server or service running on your machine already listening on port 443 when you enabled HTTPS in Apache?

The following may help you troubleshoot the issue:

https://www.digitalocean.com/community/tutorials/apache-network-error-ah00072-make_sock-could-not-bind-to-address

https://www.google.com/search?q=Address+already+in+use+AH00072

Maybe you can send us the output from:

journalctl -xeu apache2.service

You might check also

netstat -tulnp | grep :443
netstat -tulnp | grep :80

while apache is stopped.