Recently apache2 fails to start at boot, but can be started OK manually
Colin Law
clanlaw at gmail.com
Wed Oct 27 08:07:51 UTC 2021
On Tue, 26 Oct 2021 at 14:00, Chris Green <cl at isbd.net> wrote:
>
> Just recently on my 21.04 system apache2 has failed to start at boot
> time with the following errors reported by systemd:-
>
> Oct 26 13:42:11 esprimo systemd[1]: Starting The Apache HTTP Server...
> Oct 26 13:42:11 esprimo apachectl[853]: (99)Cannot assign requested address: AH00072: make_sock: could not bind to address 192.168.1.3:80
> Oct 26 13:42:11 esprimo apachectl[853]: no listening sockets available, shutting down
> Oct 26 13:42:11 esprimo apachectl[853]: AH00015: Unable to open logs
> Oct 26 13:42:11 esprimo apachectl[821]: Action 'start' failed.
> Oct 26 13:42:11 esprimo apachectl[821]: The Apache error log may have more information.
> Oct 26 13:42:11 esprimo systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
> Oct 26 13:42:11 esprimo systemd[1]: apache2.service: Failed with result 'exit-code'.
> Oct 26 13:42:11 esprimo systemd[1]: Failed to start The Apache HTTP Server.
>
Look in syslog and check whether the network has started up by that point.
Start with
grep "192.168.1.3" /var/log/syslog
Colin
More information about the ubuntu-users
mailing list