Bug#672605: Bug report for apache2 in Wheezy
Package: apache2
Version: 2.2.22-5
What happen's :
Service apache2 can't restart after upgrading.
What should happend :
Service apache2 simply restarts.
What was the errors, the issue and a workaround:
After upgrading apache2 package from Squeeze i386 (version 2.2.16-6
+squeeze4) to Wheezy i686 (version 2.2.22-5), service apache2 can't
restart and send error :
apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax
error on line 1 of /etc/apache2/mods-enabled/mod-security.load: Cannot
load /usr/lib/libxml2.so.2 into server: /usr/lib/libxml2.so.2: cannot
open shared object file: No such file or directory
Hence, libxml2.so.2 is know in /usr/lib/i386-linux-gnu/libxml2.so.2
instead of /usr/lib/libxml2.so.2 with package libxml2 (version
2.7.8.dfsg-9 ). See page [1] to find location of libxml2.so.2 file for
all architectures.
As workaround, it's possible to link the new position to the ancient :
ln -s /usr/lib/i386-linux-gnu/libxml2.so.2 /usr/lib/libxml2.so.2
But it should be modified for any architecture.
Regards,
Adrien Dorsaz
[1] :
http://packages.debian.org/search?suite=wheezy&arch=any&searchon=contents&keywords=libxml2.so.2
Reply to: