[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

On Monday 29 September 2008, Micha Lenk wrote:
> recently I upgraded from Etch to Lenny. Now apache2 doesn't start
> on boot any more. With "-x" in /etc/init.d/apache2 I get following
> output on boot (partial only, typos possible due to screenshot
> taken by a camera and typed in afterwards):

> Starting web server: apache2+ log_daemon_msg_post 'Starting web
> server' apache2 + :
> + env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin
> /usr/sbin/apache2ctl start [Mon Sep 29 10:33:20 2008] [crit] (EAI
> 9)Address family for hostname not supported: alloc_listener: failed
> to set up sockaddr for Syntax error on line 1 of
> /etc/apache2/ports.conf:
> Listen setup failed

> Once the system has completed the boot sequence, I can manually
> start the apache daemon by running "/etc/init.d/apache2 start"
> without any problem.
> Please let me know if I can provide any further information.

Please provide your /etc/apache2/ports.conf and any other Listen 
directives you might have in your apache config. Also, please insert


near the beginning of the apache start script and provide the output 
during boot. You can enable logging to /var/log/boot 
in /etc/default/bootlogd (no need for screen photos). Please provide 
the output of ifconfig during normal operation (when apache works), 

You may replace the ip- and mac-addresses in the ifconfig output and 
configuration for privacy, of course. (But all occurences of an 
address should get the same replacement, and don't replace


Reply to: