Recently apache2 fails to start at boot, but can be started OK manually
Colin Law
clanlaw at gmail.com
Wed Oct 27 14:31:42 UTC 2021
On Wed, 27 Oct 2021 at 14:44, Chris Green <cl at isbd.net> wrote:
> ...
> Yes, here's the whole file:-
>
> root at esprimo# more ./systemd/system/multi-user.target.wants/apache2.service
> [Unit]
> Description=The Apache HTTP Server
> After=network.target remote-fs.target nss-lookup.target
> Documentation=https://httpd.apache.org/docs/2.4/
>
> [Service]
> Type=forking
> Environment=APACHE_STARTED_BY_SYSTEMD=true
> ExecStart=/usr/sbin/apachectl start
> ExecStop=/usr/sbin/apachectl graceful-stop
> ExecReload=/usr/sbin/apachectl graceful
> KillMode=mixed
> PrivateTmp=true
> Restart=on-abort
>
> [Install]
> WantedBy=multi-user.target
>
Have you configured apache to bind to a specific address? Is so then
see https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1786675
Colin
More information about the ubuntu-users
mailing list