Apache won't start with default config

Bug #1376002 reported by Eric G
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ocsinventory-server (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

root@amargosa:/etc/apache2# lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

root@amargosa:/etc/apache2# apt-cache policy ocsinventory-server
ocsinventory-server:
  Installed: 2.0.5-1.1
  Candidate: 2.0.5-1.1
  Version table:
 *** 2.0.5-1.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
        100 /var/lib/dpkg/status

root@amargosa:/etc/apache2# service apache2 restart
 * Restarting web server apache2 [fail]
 * The apache2 configtest failed.
Output of config test was:
[Tue Sep 30 16:04:35.696988 2014] [proxy_html:notice] [pid 10440] AH01425: I18n support in mod_proxy_html requires mod_xml2enc. Without it, non-ASCII characters in proxied pages are likely to display incorrectl y.
AH00526: Syntax error on line 303 of /etc/apache2/conf.d/ocsinventory.conf:
Unknown Authz provider: SOAP_USER
Action 'configtest' failed.
The Apache error log may have more information.

At this point Apache will not start due to the configuration file error.

Editing /etc/apache2/conf.d/ocsinventory.conf and commenting out line 302 and 303 fixes the problem, I am not sure about the security impact. These lines read:

AuthUserFile "APACHE_AUTH_USER_FILE"
require "SOAP_USER"

This is documented here:

http://forums.ocsinventory-ng.org/viewtopic.php?id=13917

It seems to me that the "require" directive is missing something, it should read something like:

require user "SOAP_USER"

This satisfies the Apache configuration and Apache will now start, but I do not know how this impacts functionality/security.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ocsinventory-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Cyrille Bollu (cyrille-bollu) wrote :
Changed in ocsinventory-server (Ubuntu):
status: Confirmed → Fix Committed
jingles (slk-novikov)
Changed in ocsinventory-server (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.