Bug#214966: apache: ServerName localhost localhost
Hi Frederic,
were you installing from scratch or upgrading?
Fabio
On Thu, 9 Oct 2003, Frederic Briere wrote:
> Package: apache
> Version: 1.3.28-2
> Severity: important
>
> Hi! Just grabbed 1.3.28-2 from incoming to get rid of the DocumentRoot
> mess, and now something's going wrong with ServerName:
>
> [fbriere] toroia:~ $ sudo /etc/init.d/apache start
> Configuration syntax error detected. Not reloading.
>
> Syntax error on line 135 of /etc/apache/httpd.conf:
> ServerName takes one argument, The hostname of the server
>
>
> I now have two ServerName directives in httpd.conf (there weren't any
> before 1.3.28-1); one on line 135, and another on line 290:
>
> #<VirtualHost host.some_domain.com>
> #ServerAdmin webmaster@host.some_domain.com
> #DocumentRoot /var/www/host.some_domain.com
> ServerName localhost localhost
> #ErrorLog /var/log/apache/host.some_domain.com-error.log
> #TransferLog /var/log/apache/host.some_domain.com-access.log
> #</VirtualHost>
>
>
> As a result, the perl script in postinst.common returns:
>
> [fbriere] toroia:~ $ perl -e [...] < /etc/apache/httpd.conf | awk '{print $2}'
> localhost
> localhost
>
>
> -- System Information:
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux toroia 2.4.21 #4 Mon Jun 23 21:39:45 EDT 2003 i686
> Locale: LANG=en_CA, LC_CTYPE=en_CA
>
> Versions of packages apache depends on:
> ii apache-common 1.3.28-2 Support files for all Apache webse
> ii debconf 1.3.14 Debian configuration management sy
> ii dpkg 1.10.15 Package maintenance system for Deb
> ii libc6 2.3.2-8 GNU C Library: Shared libraries an
> ii libdb4.1 4.1.25-9 Berkeley v4.1 Database Libraries [
> ii libexpat1 1.95.6-6 XML parsing C library - runtime li
> ii libmagic1 4.04-1 File type determination library us
> ii logrotate 3.6.5-2 Log rotation utility
> ii mime-support 3.23-1 MIME files 'mime.types' & 'mailcap
> ii perl [perl5] 5.8.1-2 Larry Wall's Practical Extraction
>
> -- debconf information:
> apache/init: true
> apache/server-name: localhost localhost
> apache/document-root: /home/www-data
> * apache/enable-suexec: false
> apache/server-admin: fbriere@fbriere.net
> apache/server-port:
>
>
>
>
--
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues
http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html
Reply to: