Running HCP in Oracle Cloud - Now on Ubuntu 20.04.5 LTS - I ran apt update / upgrade. I’m not Linux ex-spert so when I was prompted to choose. “witch Apache2 instance to patch” I must have picked the wrong one.
After reinstalling Apache2 I got the following:
Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xe” for details.
invoke-rc.d: initscript apache2, action “start” failed.
● 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-01-26 09:29:06 PST; 9ms ago
Docs: Apache HTTP Server Version 2.4 Documentation - Apache HTTP Server Version 2.4
Process: 2406600 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Jan 26 09:29:06 Azure apachectl[2406610]: AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive globally to suppress this message
Jan 26 09:29:06 Azure apachectl[2406610]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Jan 26 09:29:06 Azure apachectl[2406610]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Jan 26 09:29:06 Azure apachectl[2406610]: no listening sockets available, shutting down
Jan 26 09:29:06 Azure apachectl[2406610]: AH00015: Unable to open logs
Jan 26 09:29:06 Azure apachectl[2406600]: Action ‘start’ failed.
Jan 26 09:29:06 Azure apachectl[2406600]: The Apache error log may have more information.
Jan 26 09:29:06 Azure systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jan 26 09:29:06 Azure systemd[1]: apache2.service: Failed with result ‘exit-code’.
Jan 26 09:29:06 Azure systemd[1]: Failed to start The Apache HTTP Server.
Processing triggers for ufw (0.36-6ubuntu1) …
Processing triggers for systemd (245.4-4ubuntu3.19) …
Processing triggers for man-db (2.9.1-1) …
Processing triggers for libc-bin (2.31-0ubuntu9.9) .
Is there anyway I can recover?
Thank you,