[MacPorts] #32284: mod_fcgid @2.3.6 shared-memory error when starting up

MacPorts noreply at macports.org
Thu Dec 15 06:54:48 PST 2011


#32284: mod_fcgid @2.3.6 shared-memory error when starting up
--------------------------------------+-------------------------------------
 Reporter:  macportscf@…              |       Owner:  pixilla@…           
     Type:  defect                    |      Status:  new                 
 Priority:  Normal                    |   Milestone:                      
Component:  ports                     |     Version:  2.0.3               
 Keywords:                            |        Port:  mod_fcgid           
--------------------------------------+-------------------------------------
Changes (by macsforever2000@…):

 * cc: macportscf@… (removed)
  * owner:  macports-tickets@… => pixilla@…


Old description:

> I just installed the mod_fcgid port. As I loaded the module via
> LoadModule in Apache, the daemon refused to start. Instead it gave the
> error-message:
>
> [emerg] (2)No such file or directory: mod_fcgid: Can't create shared
> memory for size 1192488 bytes
>
> Setting pathes in the configuration didn't seem to help at all.
>
> What I found is, that the patchfile of the port (patch-fcgid_conf.c)
> changes the default-path for mod_fcgid-related data
> (DEFAULT_REL_RUNTIMEDIR) from 'logs/' to 'var/run/'.
>
> The problem is: this directory is not created by the port or by apache
> itself. When I manually created the directory apache started up just
> fine.

New description:

 I just installed the mod_fcgid port. As I loaded the module via LoadModule
 in Apache, the daemon refused to start. Instead it gave the error-message:

 {{{
 [emerg] (2)No such file or directory: mod_fcgid: Can't create shared
 memory for size 1192488 bytes
 }}}

 Setting pathes in the configuration didn't seem to help at all.

 What I found is, that the patchfile of the port (patch-fcgid_conf.c)
 changes the default-path for mod_fcgid-related data
 (DEFAULT_REL_RUNTIMEDIR) from 'logs/' to 'var/run/'.

 The problem is: this directory is not created by the port or by apache
 itself. When I manually created the directory apache started up just fine.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/32284#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list