Re: Bug#238996: apache: instalation scripts broken
You have an old version of ucf installed that had a typo. Please upgrade
ucf. apache isn't at fault.
Fabio
On Sat, 20 Mar 2004, Primoz Bratanic wrote:
> Package: apache
> Version: 1.3.29.0.2-4
> Severity: grave
> Tags: sid
> Justification: renders package unusable
>
> apt-get install apache
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
> apache-common apache-utils libkeynote0 mime-support
> Suggested packages:
> apache-doc apache-ssl apache-perl libapache-mod-auth-mysql
> libapache-mod-auth-pgsql
> The following NEW packages will be installed:
> apache apache-common apache-utils libkeynote0 mime-support
> 0 upgraded, 5 newly installed, 0 to remove and 58 not upgraded.
> Need to get 1500kB of archives.
> After unpacking 4481kB of additional disk space will be used.
> Do you want to continue? [Y/n]
> Get:1 http://ftp.at.debian.org unstable/main mime-support 3.26-1 [28.6kB]
> Get:2 http://ftp.at.debian.org unstable/main libkeynote0 2.3-10 [28.2kB]
> Get:3 http://ftp.at.debian.org unstable/main apache-utils 1.3.29.0.2-4
> [258kB]
> Get:4 http://ftp.at.debian.org unstable/main apache-common 1.3.29.0.2-4
> [817kB]
> Get:5 http://ftp.at.debian.org unstable/main apache 1.3.29.0.2-4 [368kB]
> Fetched 1500kB in 14s (102kB/s)
> Preconfiguring packages ...
> Selecting previously deselected package mime-support.
> (Reading database ... 67499 files and directories currently installed.)
> Unpacking mime-support (from .../mime-support_3.26-1_all.deb) ...
> Selecting previously deselected package libkeynote0.
> Unpacking libkeynote0 (from .../libkeynote0_2.3-10_i386.deb) ...
> Selecting previously deselected package apache-utils.
> Unpacking apache-utils (from .../apache-utils_1.3.29.0.2-4_i386.deb) ...
> Selecting previously deselected package apache-common.
> Unpacking apache-common (from .../apache-common_1.3.29.0.2-4_i386.deb) ...
> Selecting previously deselected package apache.
> Unpacking apache (from .../apache_1.3.29.0.2-4_i386.deb) ...
> Setting up mime-support (3.26-1) ...
>
> Setting up libkeynote0 (2.3-10) ...
>
> Setting up apache-utils (1.3.29.0.2-4) ...
> Setting up apache-common (1.3.29.0.2-4) ...
>
> Setting up apache (1.3.29.0.2-4) ...
>
> Creating config file /etc/apache/httpd.conf with new version
> cp -f /etc/apache/httpd.conf.dpkg-inst.queue real_file
> /etc/apache/httpd.conf: No such file or directory
>
> Creating config file /etc/apache/srm.conf with new version
> cp -f /etc/apache/srm.conf.dpkg-inst.queue real_file
> /etc/apache/srm.conf: No such file or directory
>
> Creating config file /etc/apache/access.conf with new version
> cp -f /etc/apache/access.conf.dpkg-inst.queue real_file
> /etc/apache/access.conf: No such file or directory
>
> Creating config file /etc/apache/modules.conf with new version
> cp -f /etc/apache/modules.conf.dpkg-inst.queue real_file
> /etc/apache/modules.conf: No such file or directory
> Can't open config file /etc/apache/httpd.conf.
> No such file or directory
> Can't open config file /etc/apache/httpd.conf.
> No such file or directory
> /var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No such file or directory
> /var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No such file or directory
> /var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No such file or directory
> /var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No such file or directory
> grep: /etc/apache/httpd.conf: No such file or directory
> Configuration syntax error detected. Not reloading.
>
> fopen: No such file or directory
> apache: could not open document config file /etc/apache/httpd.conf
> invoke-rc.d: initscript apache, action "start" failed.
> dpkg: error processing apache (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> apache
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> apt-get install -f
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up apache (1.3.29.0.2-4) ...
> /etc/apache/httpd.conf: No such file or directory
> /etc/apache/srm.conf: No such file or directory
> /etc/apache/access.conf: No such file or directory
> /etc/apache/modules.conf: No such file or directory
> Replacing config file /etc/apache/modules.conf with new version
> cp -f /etc/apache/modules.conf.dpkg-inst.queue real_file
> /etc/apache/modules.conf: No such file or directory
> Can't open config file /etc/apache/httpd.conf.
> No such file or directory
> Can't open config file /etc/apache/httpd.conf.
> No such file or directory
> /var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No such
> file or directory
> /var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No such
> file or directory
> /var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No such
> file or directory
> /var/lib/dpkg/info/apache.postinst: line 7: /etc/apache/httpd.conf: No such
> file or directory
> grep: /etc/apache/httpd.conf: No such file or directory
> Configuration syntax error detected. Not reloading.
>
> fopen: No such file or directory
> apache: could not open document config file /etc/apache/httpd.conf
> invoke-rc.d: initscript apache, action "start" failed.
> dpkg: error processing apache (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> apache
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> clean updated sid ... I really don't know what other info would be useful.
> Please let me know.
>
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.0-1-686
> Locale: LANG=C, LC_CTYPE=sl_SI.UTF-8
>
> Versions of packages apache depends on:
> ii apache-common 1.3.29.0.2-4 Support files for all Apache webse
> ii debconf 1.4.16 Debian configuration management sy
> ii dpkg 1.10.20 Package maintenance system for Deb
> ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
> ii libdb4.2 4.2.52-14 Berkeley v4.2 Database Libraries [
> ii libexpat1 1.95.6-8 XML parsing C library - runtime li
> ii libmagic1 4.07-2 File type determination library us
> ii libpam0g 0.76-15 Pluggable Authentication Modules l
> ii logrotate 3.6.5-2 Log rotation utility
> ii mime-support 3.26-1 MIME files 'mime.types' & 'mailcap
> ii perl 5.8.3-2 Larry Wall's Practical Extraction
>
> -- debconf information:
> * apache/server-name: localhost
> * apache/document-root: /var/www
> * apache/server-port: 80
> * apache/enable-suexec: false
> * apache/init: true
> * apache/server-admin: you@your.address
>
>
>
> ------------ Output from gpg ------------
> gpg: Signature made Sat Mar 20 04:34:34 2004 CET using DSA key ID 2C09B611
> gpg: Good signature from "Primoz Bratanic <primoz@slotech.net>"
> gpg: aka "Primoz Bratanic <primoz@owca.info>"
> gpg: aka "Primoz Bratanic <primoz@slo-tech.com>"
> gpg: WARNING: This key is not certified with a trusted signature!
> gpg: There is no indication that the signature belongs to the owner.
> Primary key fingerprint: 315F 22BB 7E32 0816 3F3E 3CAD 1CEB AA9D 2C09 B611
>
>
--
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.
Reply to: