Apache2 can't start because no wireless access points found!?
# /etc/init.d/apache2 start * Re-caching dependency info (mtimes differ)... * Starting eth0 * Configuring wireless network for eth0 * no access points found * Couldn't find any access points on eth0 * Failed to configure wireless for eth0 [ !! ] * ERROR: Problem starting needed services. * "apache2" was not started.
Aaargh! Luckily it turns out there is a simple solution, if a little obscure:
# cd /etc/init.d/ # ln -s net.eth0 net.eth1 # rc-update del net.eth0 default * net.eth0 removed from the following runlevels: default * rc-update complete. # rc-update add net.eth1 default * net.eth1 added to runlevel default * rc-update complete. # /etc/init.d/apache2 start * Caching service dependencies ... [ ok ] * Starting eth1 * Bringing up eth1 * 192.168.0.11 [ ok ] * Adding routes * default gw 192.168.0.1 ... [ ok ] * Starting apache2 ... apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ ok ]
And that also means I shouldn't have to manually configure the wired network at boot-time, which is nice! Two birds with one stone etc etc...
The Ecstasy Of Saint Theresa - Trance (Between The Stars)
relieved
motherboard 5 tinies