Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2008 16:03:05 GMT
From:      Richard Tector <richardtector@thekeelecentre.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127183: mod_fcgid fails to run on RELENG_7 amd64
Message-ID:  <200809071603.m87G35Vh005199@www.freebsd.org>
Resent-Message-ID: <200809071610.m87GA24n040350@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127183
>Category:       ports
>Synopsis:       mod_fcgid fails to run on RELENG_7 amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 07 16:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Richard Tector
>Release:        FreeBSD 7.1-PRERELEASE
>Organization:
CAPL
>Environment:
FreeBSD moses.thekeelecentre.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sat Sep  6 16:43:19 BST 2008     richard@moses.thekeelecentre.com:/usr/obj/usr/src/sys/MOSES  amd64
>Description:
Apache 2.2.9 (and 2.2.8) fails to start if mod_fcgid 2.2 is installed with:

[Sun Sep 07 16:29:17 2008] [emerg] (12)Cannot allocate memory: mod_fcgid: Can't create share memory for size %zu byte

The same configuration works on 7.0 but i386, not amd64. Setting SharememPath as per some Linux mailing list messages makes no difference, though I can cause other errors such as (2)No such file or directory if I create a directory in place of the path its set to. I also note that the SharememPath has now been preset for the FreeBSD port to /var/run/fcgid_shm, so that's not it.

An empty make.conf also makes no difference, and I've tried a vanilla install of 7.0-STABLE-200807 amd64 on a different machine.

I have it running quite happily however on a range of machines running 6.3-stable and 7.0-stable but i386
>How-To-Repeat:
1. Install www/apache22 and mod_fcgid from ports on amd64.
2. Add to httpd.conf: LoadModule fcgid_module libexec/apache22/mod_fcgid.so
3. apachectl start
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809071603.m87G35Vh005199>