On Wed, Jul 18, 2018 at 04:41:54PM -0400, Dave wrote:
> ● apache2.service - The Apache HTTP Server
>    Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor
> preset: enabled)
>    Active: failed (Result: exit-code) since Wed 2018-07-18 16:35:30 EDT;
> 1min 2s ago
>   Process: 614 ExecStart=/usr/sbin/apachectl start (code=exited,
> status=1/FAILURE)
> 
> Jul 18 16:35:30 culser systemd[1]: Starting The Apache HTTP Server...
> Jul 18 16:35:30 culser apachectl[614]: (99)Cannot assign requested address:
> AH00072: make_sock: could not bind to addres
> Jul 18 16:35:30 culser apachectl[614]: no listening sockets available,
> shutting down

OK.  Here is what I think is happening:

In your /etc/network/interfaces file, where your primary network interface
is defined, you have "allow-hotplug", because that's what the Debian
installer puts there by default, because the Debian installer has been
dumbed down for laptops.

Since your interface is marked as "allow-hotplug", services that require
a functional network will not wait for this interface to be ready.

For a server or a workstation, you need to change "allow-hotplug" to "auto".

Reply via email to