[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#500558: apache2.2-common: Apache fails to start on boot after upgrade Etch -> Lenny



Hi again,

I wrote:
> The only Listen directives are in /etc/apache2/ports.conf.
> Its content is:
> 
> Listen 127.0.0.1:80
> NameVirtualHost 127.0.0.2:80
> Listen 127.0.0.2:80
> Listen 127.0.0.7:80
> 
> [...]
> The /etc/network/interfaces contains nearly nothing (network is managed
> by NetworkManager using Gnome's nm-applet):
> 
> ------- [ /etc/network/interfaces ] -----------------------
> # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
> # /usr/share/doc/ifupdown/examples for more information.
> 
> auto lo
> iface lo inet loopback
> ------------------------------------------------------------

I've now explicitly added the used ip addresses to the loopback interface:

------- [ /etc/network/interfaces ] ------------------------
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo
iface lo inet loopback
        up ip addr add 127.0.0.2 dev lo
        up ip addr add 127.0.0.7 dev lo
------------------------------------------------------------

... and Apache now start on boot again.

I wonder why Apache is able to start without these explicitly added
addresses after boot has finished. What's the difference?

As it works for me now, you can do what you like with this bug. :)

Regards
  Micha



Reply to: