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

Bug#374679: apache2: Crashes when VirtualHosts are missing from the config file



Package: apache2
Version: 2.0.54-5
Severity: important

While configuring a server I found that apache will crash if a
NameVirtualHost directive exists for a port and there are no VirtualHost
entries that match that port.

$ apache2 -f crash.conf -X &
[1] 25146
apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Tue Jun 20 16:54:22 2006] [warn] pid file /dev/null overwritten -- Unclean shutdown of previous Apache run?
$ GET http://localhost:8123/
500 Server closed connection without sending any data back
[1]+  Segmentation fault      apache2 -f crash.conf -X

Contents of crash.conf:

Listen 8123
NameVirtualHost *:8123
ErrorLog /dev/stdout
TypesConfig /etc/mime.types
PidFile /dev/null
<VirtualHost *:9000>
</VirtualHost>

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages apache2 depends on:
ii  apache2-mpm-worker            2.0.55-4   high speed threaded model for Apac

apache2 recommends no packages.

-- no debconf information



Reply to: