Date: Fri, 27 Jul 2012 00:16:54 -0600 From: Chad Leigh Shire.Net LLC <chad@shire.net> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Cc: Chad Leigh <chad@shire.net> Subject: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error Message-ID: <DECF6592-1F64-4BED-81F8-64DE811F10DE@shire.net>
next in thread | raw e-mail | index | archive | help
Hi I run systems using FreeBSD 9.0 FreeBSD utah.XXXXXXXcom 9.0-STABLE FreeBSD 9.0-STABLE #1: Wed Mar 21 = 15:22:14 MDT 2012 chad@underhill:/usr/obj/usr/src/sys/UNDERHILL-XEN = amd64 and on those systems run a bunch of jails. I have Apache 2.2 built and = running in the jail in question, and recently had need to add mod_fcgid = to it. NOTE that the Apache and mod_fcgid were not installed through = ports or packages. I download the source and build myself (for various = reasons). =20 Apache inside the Jail, with mod_fcgid enabled will not start: [Mon Jul 23 10:59:35 2012] [emerg] (78)Function not implemented: = mod_fcgid: Can't create shared memory for size 1192488 bytes I did a search on this and found that I would probably need a system = kernel parameter changed from 0 -> 1 security.jail.sysvipc_allowed So I did that. (And restarted the jail). However, I still get the same = error when trying to start apache. I noticed a similar parameter security.jail.param.allow.sysvipc but = cannot change this at run time and did not find anything useful about = what this parameter is for using a search engine. (As an aside, how would I change security.jail.sysvipc_allowed and = also security.jail.param.allow.sysvipc at boot time? I added them both = to /boot/loader.conf but they did not get changed at boot and I had to = do the security.jail.sysvipc_allowed one again on the command line -- I = have some vfs type kernel state variables set there and they stick) I would appreciate some help with getting things set up so that I can = run apache with mod_fcgid under my Jails on FBSD 9. Thanks! Chad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DECF6592-1F64-4BED-81F8-64DE811F10DE>