Bug#214866: Broken httpd.conf updates
severity 214866 grave
reassign 214866 apache-common
tags 214866 + pending
stop
quit
Hi Chris,
this is a known bug. I have a fix ready but i am still completing
the last tests. -2 will work
Fabio
On Wed, 8 Oct 2003, Chris wrote:
> Package: apache-ssl
> Version: 1.3.28-1
>
> After apt-get upgrade, when apache-ssl 1.3.28-1 is installing, it presents a Debian Configuration screen and regardless of whether you hit Cancel or OK it proceeds with the following.
>
> Configuration syntax error detected. Not reloading.
>
> Syntax error on line 263 of /etc/apache-ssl/httpd.conf:
> ServerAdmin takes one argument, The email address of the server administrator
> invoke-rc.d: initscript apache-ssl, action "start" failed.
> dpkg: error processing apache-ssl (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> apache-ssl
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I have tried to resolve this by using apt-get -f install, copying over a new config file (however, since dpkg fails it resumes from before the writing of the conf file - so the script simply trashes the new conf as well, then apache fails to restart because of the broken conf).
>
> Following are some examples of what it does to the httpd.conf.
>
> draco:/etc/apache-ssl# cat httpd.conf | grep ServerAdmin
> # Skip ahead to the ServerAdmin directive.
> # ServerAdmin: Your address, where problems with the server should be
> ServerAdmin webmaster@whosyourdaddy.biz webmaster@whosyourdaddy.biz webmaster@whosyourdaddy.biz webmaster@whosyourdaddy.biz webmaster@whosyourdaddy.biz webmaster@whosyourdaddy.biz webmaster@atroonline.com webmaster@whosyourdaddy.biz
>
> draco:/etc/apache-ssl# cat httpd.conf | grep DocumentRoot
> # DocumentRoot: The directory out of which you will serve your
> DocumentRoot /var/www/ /var/www/xca/ /var/www/xcdns/ /var/www/xcu/ /var/www/xcns/ /var/www/ /home/atrocity/public_html/ /var/www/
>
> The httpd.conf only accepts one argument for each of those lines. I'm not exactly sure what the script is doing..
>
> Installed Dependencies:
>
> ii libc6 2.3.2-8 GNU C Library: Shared libraries and Timezone
> ii libdb2 2.7.7.0-8 The Berkeley database routines (run-time fil
> ii libexpat1 1.95.6-6 XML parsing C library - runtime library
> ii libssl0.9.6 0.9.6k-1 SSL shared libraries (old version)
> ii libssl0.9.7 0.9.7c-3 SSL shared libraries
> ii perl 5.8.1-2 Larry Wall's Practical Extraction and Report
> ii perl-base 5.8.1-2 The Pathologically Eclectic Rubbish Lister.
> ii perl-modules 5.8.1-2 Core Perl modules.
> ii apache-common 1.3.28-1 Support files for all Apache webservers
> ii openssl 0.9.7c-3 Secure Socket Layer (SSL) binary and related
>
> draco:/etc/apache-ssl# uname -a
> Linux draco 2.4.22 #1 Sun Sep 14 14:39:35 CDT 2003 i686 GNU/Linux
>
>
>
--
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: