Public bug reported:

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.

** Affects: ocsinventory-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376002

Title:
  Apache won't start with default config

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocsinventory-server/+bug/1376002/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to