[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#220041: modules-update has a will of its own.



Package: Apache
Version: 1.3.29-1
Severity: important

When upgrading apache a modules-update/or some other feature creates a
totaly new modules.conf, and removes some of the modules of the list.

I'm using mod_throttle, but every time I upgrade the server, the module
removes from the module.conf, making every mod_throttle-hack in
httpd.conf not working. Making the apache-server not starting correct.

Here is an output.

Setting up apache (1.3.29-1) ...
Installing new version of config file /etc/init.d/apache ...
Configuration syntax error detected. Not reloading.

Syntax error on line 1056 of /etc/apache/httpd.conf:
Invalid command 'ThrottleBps', perhaps mis-spelled or defined by a
module not included in the server configuration
invoke-rc.d: initscript apache, action "start" failed.
dpkg: error processing apache (--configure):
 subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  apache
E: Sub-process /usr/bin/dpkg returned an error code (1)
  
After this, i must manually edit the httpd.conf, removing every line that
have something with mod_throttle (about 500 lines). Only then can the
server be "installed". Then manualy edit again, adding the
Throttle-stuff, and manually add mod_throttle to modules.conf again,
since it was removed when upgrading.

Other modules like mod_mp3 is also removed, or other externaly added
modules are removed, making the server not starting.


/d

-- 
... david röhr              |      o_
.. unix systems consultant  | o/  /\   Solaris, AIX, HP-UX
. qbranch system management | /|_, \\   and GNU/Linux Certified.
        www.qbranch.se        /                    
                              `




Reply to: