Bug#401202: ..error on line 185 in /etc/apache2/apache2.conf? '/etc/init.d/apache2 restart' fails.
Package: apache2
Version: 2.2.3-3.1
Severity: important
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
mount: /dev/hda9 already mounted or /usr/local busy
mount: according to mtab, /dev/hda9 is already mounted on /usr/local
a45:~# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php4.load: Cannot load /usr/lib/apache2/modules/libphp4.so into server: /usr/lib/apache2/modules/libphp4.so: cannot open shared object file: No such file or directory
failed!
a45:~# mcedit /etc/apache2/apache2.conf
a45:~# mcedit /etc/apache2/apache2.conf
a45:~# mcedit /etc/apache2/mods-enabled/php4.load
(Workaround edit: Comment out line 1. Fixes symptom only.)
a45:~# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...httpd (no pid file) not running
..
a45:~#
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-486
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Versions of packages apache2 depends on:
ii apache2-mpm-prefork 2.2.3-3.1 Traditional model for Apache HTTPD
apache2 recommends no packages.
-- no debconf information
Reply to: