Problem with mod_fcgid inside a jail.

John Nielsen lists at jnielsen.net
Sun Feb 4 18:26:59 UTC 2007


On Sunday 04 February 2007 05:38, Vincent Bolinard wrote:
> I've just tried to run Apache with mod_fcgid 1.10 and 2.0, but it
> still does not work.
>
> Here is the error with 1.10 :
>
> [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
> [info] mod_unique_id: using ip addr 192.168.1.3
> [emerg] (2)No such file or directory: mod_fcgid: Can't create global
> mutex
>
> Here is the error with 2.0 :
>
> [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
> [info] mod_unique_id: using ip addr 192.168.1.3
> [emerg] (2)No such file or directory: mod_fcgid: Can't create share
> memory for size %zu byte

Try setting jail_sysvipc_allow=yes in /etc/rc.conf. (Or you can set the 
security.jail.sysvipc_allowed sysctl to one, but the jail rc scripts will 
change it if you use them and don't have the RC variable set.)

JN

> 2007/2/2, Josh Tolbert <hemi at puresimplicity.net>:
> > On Fri, Feb 02, 2007 at 10:51:32PM +0100, Ivan Voras wrote:
> > > Vincent Bolinard wrote:
> > > > [emerg] (2)No such file or directory: mod_fcgid: Can't create share
> > > > memory for size 316628 byte
> > > >
> > > > I'm running FreeBSD 6.2-RELEASE, Apache 2.0.59 and mod_fcgid 1.09.
> > >
> > > Try running v1.10, here's what it says in changelog:
> > >
> > > "3. Use anonymous shared memeory to make OS X happy. (Thank andkjar
> > > at obtech.net for the patch.)"
> > >
> > > Maybe it will help you.
> >
> > Update to 2.0 will be coming soon...Maybe this weekend, if I find some
> > time. I have no idea if it'll fix the problem, but 1.x is dead either
> > way.
> >
> > Thanks,
> >
> > Josh
> > --
> > Josh Tolbert
> > hemi at puresimplicity.net  ||  http://www.puresimplicity.net/~hemi/
> >
> > Security is mostly a superstition. It does not exist in nature, nor
> > do the children of men as a whole experience it. Avoiding danger
> > is no safer in the long run than outright exposure. Life is either
> > a daring adventure, or nothing.
> >     -- Helen Keller
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list