Expected:
I expected apache to start including module proxy_html.load.
What happened:
apache2 failed to start and showed an error message
# service apache2 start
* Starting web server apache2 apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/proxy_html.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
Action 'start' failed.
The Apache error log may have more information. [fail]
proxy_html.load tries to load libxml2 (LoadFile /usr/lib/libxml2.so.2), but libxml2 only provides under /usr/lib/x86_64-linux-gnu
(under 10.04 64 bit things are available under /usr/lib)
See also package libapache2- mod-proxy- html , file/link /etc/apache2/ mods-enabled/ proxy_html. load
# lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
(64 bit)
# apt-cache policy libxml2 5.1ubuntu4. 1 5.1ubuntu4. 1 5.1ubuntu4. 1 0 de.archive. ubuntu. com/ubuntu/ precise- updates/ main amd64 Packages security. ubuntu. com/ubuntu/ precise- security/ main amd64 Packages dpkg/status 7.8.dfsg- 5.1ubuntu4 0 de.archive. ubuntu. com/ubuntu/ precise/main amd64 Packages
libxml2:
Installed: 2.7.8.dfsg-
Candidate: 2.7.8.dfsg-
Version table:
*** 2.7.8.dfsg-
500 http://
500 http://
100 /var/lib/
2.
500 http://
# apt-cache policy libapache2- mod-proxy- html: mod-proxy- html: de.archive. ubuntu. com/ubuntu/ precise/universe amd64 Packages dpkg/status
libapache2-
Installed: 3.0.1-1
Candidate: 3.0.1-1
Version table:
*** 3.0.1-1 0
500 http://
100 /var/lib/
Expected:
I expected apache to start including module proxy_html.load.
What happened: apache2. conf: Syntax error on line 1 of /etc/apache2/ mods-enabled/ proxy_html. 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
[fail]
apache2 failed to start and showed an error message
# service apache2 start
* Starting web server apache2 apache2: Syntax error on line 210 of /etc/apache2/
Action 'start' failed.
The Apache error log may have more information.
proxy_html.load tries to load libxml2 (LoadFile /usr/lib/ libxml2. so.2), but libxml2 only provides under /usr/lib/ x86_64- linux-gnu
(under 10.04 64 bit things are available under /usr/lib)
ProblemType: Bug 5.1ubuntu4. 1 ature: Ubuntu 3.2.0-24.39-generic 3.2.16
DistroRelease: Ubuntu 12.04
Package: libxml2 2.7.8.dfsg-
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Mon May 28 09:25:26 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libxml2
UpgradeStatus: No upgrade log present (probably fresh install)