Apache2 fails after latest package update

I just updated apache2 on a debian system to version 2.2.9. Before the update I was using mod_fcgid for all the websites on the box. After the update and after I rebooted the server, apache would no longer start. The error is..

[Mon Nov 09 07:46:48 2009] [emerg] (22)Invalid argument: mod_fcgid: Can't create share memory for size %zu byte
[Mon Nov 09 07:47:27 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Nov 09 07:47:27 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 09 07:47:27 2009] [notice] Digest: done

Funny thing is I have another box with a very similar setup though on different hardware. That upgrade went great. One of the differences being that the broken server as an SSL cert installed.

Currently I've disabled mod_fcgid and set all websites to use CGI instead.

Here is Apache2 -V
Server version: Apache/2.2.9 (Debian)
Server built: Jul 14 2009 20:03:28
Server's Module Magic Number: 20051115:15
Server loaded: APR 1.2.12, APR-Util 1.2.12
Compiled using: APR 1.2.12, APR-Util 1.2.12
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"



Is your system perhaps low on RAM? How much does it have, and how much is free?

Memory is 2 GB total with 381 MB used.

So did you add SharememPath /var/run/fcgid_shm to /etc/apache2/apache2.conf as suggested on that page?

So did you add SharememPath /var/run/fcgid_shm to /etc/apache2/apache2.conf as suggested on that page?

Yes, I also tried...

SharememPath /var/lib/apache2/fcgid/shm

...with no joy

I'm at a loss, there is very little on google beyond modifying SharememPath. Perhaps I can just revert back to a prior version of Apache et al?

Also, make sure that the directory /var/lib/apache2/fcgid exists and is world-writable..

Still no luck.

Perhaps I can remove the package and reinstall?

Does Virtualmin provide a way to roll back a package?

You can do a rollback from the command line, with a command like :

apt-get install package=version

Do you know what packages were installed, and what the old versions were?