Public bug reported:

When I upgraded to saucy, Apache2 failed to start with the full error in
/var/log/apache2/error_log:

[Sun Jan 05 07:32:52.418401 2014] [fcgid:emerg] [pid 15690:tid
3074378304] (2)No such file or directory: mod_fcgid: Can't create shared
memory for size 1167812 bytes

This appears to be because the configuration directive for SharememPath
used by mod_fcgid is not set correctly in the configuration files.
That variable needs to be set to a directory that is created and empty.
Such a directory seems to exist:
/var/lib/apache2/module/enabled_by_admin/fcgid

I was able to add this to my Apache configuration to solve the issue:

<IfModule mod_fcgid.c>  
  SharememPath  /var/lib/apache2/module/enabled_by_admin/fcgid
</IfModule>

This SharememPath setting should be made by default in /etc/apache2
/mods-available/fcgid.conf

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: libapache2-mod-fcgid 1:2.3.9-1
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic i686
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: i386
Date: Mon Jan  6 04:14:00 2014
Dependencies:
 gcc-4.8-base 4.8.1-10ubuntu9
 libc6 2.17-93ubuntu4
 libgcc1 1:4.8.1-10ubuntu9
 multiarch-support 2.17-93ubuntu4
InstallationDate: Installed on 2011-06-16 (935 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MarkForUpload: True
SourcePackage: libapache2-mod-fcgid
UpgradeStatus: Upgraded to saucy on 2014-01-02 (3 days ago)

** Affects: libapache2-mod-fcgid (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 saucy

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

Title:
  Apache2 fails to start with libapache2-mod-fcgid: No such file or
  directory: mod_fcgid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-fcgid/+bug/1266400/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to