Public bug reported:
Binary package hint: apache2
Apache fails to start when I boot my system (Intrepid Desktop). The init
scripts report this error:
apache2: Could not reliably determine the server's fully qualified domain name,
using 127.0.1.1 for ServerName
(99)Cannot assign requested address: make_sock: could not bind to address
192.168.0.145:80
no listening sockets available, shutting down
Unable to open logs
[fail]
*****************
Modifying the init.d script to output the result of ifconfig, shows that
only lo is up at the time of running this script, so I assume the apache
init script is being called in the wrong order (before NetworkManager)
`ls /etc/r2.d` shows this (indicating that apache runs after
NetworkManager, meaning the interfaces should be up):
S01policykit -> ../init.d/policykit
S05vbesave -> ../init.d/vbesave
S10acpid -> ../init.d/acpid
S10powernowd.early -> ../init.d/powernowd.early
S10sysklogd -> ../init.d/sysklogd
S10xserver-xorg-input-wacom -> ../init.d/xserver-xorg-input-wacom
S11klogd -> ../init.d/klogd
S12dbus -> ../init.d/dbus
S14avahi-daemon -> ../init.d/avahi-daemon
S16ssh -> ../init.d/ssh
S19postgresql-8.3 -> ../init.d/postgresql-8.3
S20apmd -> ../init.d/apmd
S20apport -> ../init.d/apport
S20cups -> ../init.d/cups
S20denyhosts -> ../init.d/denyhosts
S20dkms_autoinstaller -> ../init.d/dkms_autoinstaller
S20freenx-server -> ../init.d/freenx-server
S20gpm -> ../init.d/gpm
S20hotkey-setup -> ../init.d/hotkey-setup
S20mongrel -> ../init.d/mongrel
S20powernowd -> ../init.d/powernowd
S20psad -> ../init.d/psad
S20rsync -> ../init.d/rsync
S20samba -> ../init.d/samba
S20vboxdrv -> ../init.d/vboxdrv
S24hal -> ../init.d/hal
S25bluetooth -> ../init.d/bluetooth
S25pulseaudio -> ../init.d/pulseaudio
S28NetworkManager -> ../init.d/NetworkManager
S30gdm -> ../init.d/gdm
S30system-tools-backends -> ../init.d/system-tools-backends
S89anacron -> ../init.d/anacron
S89atd -> ../init.d/atd
S89cron -> ../init.d/cron
S90binfmt-support -> ../init.d/binfmt-support
S91apache2 -> ../init.d/apache2
S98usplash -> ../init.d/usplash
S99acpi-support -> ../init.d/acpi-support
S99laptop-mode -> ../init.d/laptop-mode
S99rc.local -> ../init.d/rc.local
S99rmnologin -> ../init.d/rmnologin
S99stop-readahead -> ../init.d/stop-readahead
*****
Description: Ubuntu 8.10
Release: 8.10
apache2:
Installed: 2.2.9-7ubuntu3
Candidate: 2.2.9-7ubuntu3
Version table:
*** 2.2.9-7ubuntu3 0
500 http://ftp.iinet.net.au intrepid/main Packages
100 /var/lib/dpkg/status
**************
Expected Behavior:
Network Interfaces are up correctly by the time the apache startup script runs
Apache starts up normally
Actual Behaviour:
Only the 'lo' network interface is showing in ifconfig
Apache fails to start. (Cannot assign requested address: make_sock: could not
bind to address 192.168.0.145:80)
** Affects: apache2 (Ubuntu)
Importance: Undecided
Status: New
--
Apache trying to start before network interfaces are up
https://bugs.launchpad.net/bugs/353594
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs