Apache won't start, in version 2.4.10 (trusty-backports) update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
on Mon Dec 10 08:18:32 2018 apache2 was updated to (trusty-backports) 2.4.10-
the error is:apache2: Syntax error on line 140 of /etc/apache2/
Action 'configtest' failed.
The log of the update is:
Commit Log for Mon Dec 10 08:18:32 2018
Upgraded the following packages:
apache2 to 2.4.10-
apache2-bin (2.4.7-1ubuntu4.20) to 2.4.10-
apache2-data (2.4.7-1ubuntu4.20) to 2.4.10-
apache2-doc (2.4.7-1ubuntu4.20) to 2.4.10-
apache2-mpm-prefork (2.4.7-1ubuntu4.20) to 2.4.10-
apache2-
apache2-utils (2.4.7-1ubuntu4.20) to 2.4.10-
Clearing the tick for trusty-backports does not change the update and force version to 2.4.7-1ubuntu4.20 causes broken packages.
i.e. apache2-bin (2.4.7-1ubuntu4.20) breaks apache2 (2.4.7-1ubuntu4.20)
Marking only apache2 (2.4.7-1ubuntu4.20) force version does not revert version?
sudo apt-get install apache2=
***********
Also /usr/lib/
the differences are:
- (line 39) ap_regcomp_
- (line 40) ap_regcomp_
- (line 41) ap_regcomp_
+ (line 43) ap_regname
- (line 280) ap_get_
- (line 368) ap_hook_force_authn
- (line 369) ap_hook_
- (line 370) ap_run_force_authn
- (line 380) ap_some_
- (line 414) ap_scan_
- (line 415) ap_scan_http_token
- (line 416) ap_scan_
- (line 484) ap_cstr_casecmp
- (line 485) ap_cstr_casecmpn
+ (line 518) ap_hook_
+ (line 519) ap_hook_
+ (line 520) ap_run_
+ (line 521) ap_hook_
+ (line 522) ap_hook_
+ (line 523) ap_run_
************
So how do I get my server to work again?lsb_release -rd
Description: Ubuntu 14.04.5 LTS
Release: 14.04
apt-cache policy apache2
apache2:
Installed: 2.4.10-
Candidate: 2.4.10-
Version table:
*** 2.4.10-
100 /var/lib/
2.
500 http://
500 http://
2.4.7-1ubuntu4 0
500 http://
Hi,
the recent update was only a security fix [1] that seems totally unrelated.
The conf file in your error /etc/apache2/ mods-enabled/ authz_svn. load is actually from apache2/ modules/ mod_authz_ svn.so and that fails in your case with: apache2/ modules/ mod_authz_ svn.so into server: lib/apache2/ modules/ mod_authz_ svn.so: undefined symbol: ap_hook_force_authn
libapache2-mod-svn out of src:subversion.
All it does is loading /usr/lib/
Cannot load /usr/lib/
/usr/
First I tried the non-backport versions of
apache2 2.4.7-1ubuntu4.20
libapache2-mod-svn 1.8.8-1ubuntu3.3
They work fine (I ensured with a2enmod authz_svn that it is loaded.
Maybe the backports-apache is not binary compatible with the plugins built for the actual apache2 in the archive? apache2. conf: Syntax error on line 2 of /etc/apache2/ mods-enabled/ authz_svn. load: Cannot load /usr/lib/ apache2/ modules/ mod_authz_ svn.so into server: /usr/lib/ apache2/ modules/ mod_authz_ svn.so: undefined symbol: ap_hook_force_authn
I upgraded to the version in trusty-backports and can confirm the issue:
apache2: Syntax error on line 140 of /etc/apache2/
Action 'configtest' failed.
Usually the resolution would be to rebuild subversion against the newer apache, but while it might help -backports this would break the "actual" apache in main.
I found that the version in the main archive is fixed or better modified to do all that.
See [2] for that change
Since then the apache2 in main has that new API and deprecated the old inseucre one.
Any later rebuild to subversion will have made it pick up that.
That would have been [4] shortly after.
The apache2 in backports most likely would need that change as well to get backports and main archive matching again.
I can say that the patch would somewhat apply to the version in backports, but have not enugh subject matter expertise to be sure. 2015-3185. patch http_request. h
$ patch --dry-run -p1 < /tmp/CVE-
checking file include/
Hunk #2 succeeded at 541 with fuzz 1.
Hunk #3 succeeded at 596 (offset 2 lines).
checking file server/request.c
I'm afraid the apache in trusty-backports is broken (as you reported - thanks for the report BTW), not by the last upload but by a version incompatibility.
There could be more plugins that won't load if they got rebuild and use the new API/ABI.
Due to the nature of the change that mostly will be auth plugins.
Someone would need to prep an upload for that in Backports [4] for that.
Sorry I currently don't have the cycles to do so, but maybe the analysis helps backporters to do it more easily.
For the time being, I installed all other libapache2- mod-auth* and it seems only the subversion plugin is affected for now. So if you don't rely on that, maybe just remove that for now?
[1]: https:/ /git.launchpad. net/ubuntu/ +source/ apache2/ commit/ ?id=21979d8ee35 0ab3df0d2455822 9be4ce19300cf7 /git.launchpad. net/ubuntu/ +source/ apache2/ commit/ ?id=efd270510e6 ed37564d375c950 b5365fc7929c3e /launchpad. net/ubuntu/ +source/ subversion/ 1.8.8-1ubuntu3. 1 /help.ubuntu. com/community/ UbuntuBackports
[2]: https:/
[3]: https:/
[4]: https:/