Question

Apache2 services failed to start after upgrade to version 2.4.51

Posted November 17, 2021 70 views
Apache

I have just upgraded apache2 to ver 2.4.51 and then the service failed to start with errors—–
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-11-17 14:44:50 UTC; 9min ago
(98)Address already in use: AH00072: makesock: could not bind to address [::]:80
Nov 17 14:44:50 voomdelivery apachectl[1791]: (98)Address already in use: AH00072: make
sock: could not bind to address 0.0.0.0:80
Nov 17 14:44:50 voomdelivery apachectl[1791]: no listening sockets available, shutting down
Nov 17 14:44:50 voomdelivery apachectl[1791]: AH00015: Unable to open log

Can any one help please to guide me on how to resolve the problems

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

I have resolve the issue. I had to stop nginx and then start apache2 and then restart nginx and apache 2 was restarted successfully this time–

sudo service nginx stop
sudo service apache2 start
that did it