From owner-freebsd-questions@FreeBSD.ORG Sat Aug 11 20:10:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A174C1065674 for ; Sat, 11 Aug 2012 20:10:40 +0000 (UTC) (envelope-from chad@shire.net) Received: from mail.shire.net (mail.shire.net [199.102.78.250]) by mx1.freebsd.org (Postfix) with ESMTP id 765D78FC1E for ; Sat, 11 Aug 2012 20:10:40 +0000 (UTC) Received: from c-76-27-96-201.hsd1.ut.comcast.net ([76.27.96.201] helo=[192.168.99.216]) by mail.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1T0HzW-0006CU-Pr for freebsd-questions@freebsd.org; Sat, 11 Aug 2012 14:09:17 -0600 From: "Chad Leigh Shire.Net LLC" Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/signed; boundary="Apple-Mail=_1C606A23-3055-4215-AAFC-6217134E2CF0"; protocol="application/pkcs7-signature"; micalg=sha1 Date: Sat, 11 Aug 2012 14:08:39 -0600 In-Reply-To: <5023DA10.5070702@a1poweruser.com> To: FreeBSD Mailing List References: <9BE2F3BC-1809-4B9A-9A5B-CE1EC8505BBA@shire.net> <3E461D46-A332-4795-9745-76BEC8D5D4EB@shire.net> <5023DA10.5070702@a1poweruser.com> Message-Id: X-Mailer: Apple Mail (2.1278) X-SA-Exim-Connect-IP: 76.27.96.201 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on mail.shire.net); SAEximRunCond expanded to false X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Apache FCGI in a a jail under FBSD 9 won't start due to shared memory creation error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2012 20:10:40 -0000 --Apple-Mail=_1C606A23-3055-4215-AAFC-6217134E2CF0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Aug 9, 2012, at 9:41 AM, Fbsd8 wrote: > Chad Leigh Shire.Net LLC wrote: >> On Aug 7, 2012, at 10:31 AM, Mark Felder wrote: >>> jail_sysvipc_allow=3D"YES" in rc.conf should do it. >> Hmm >> I added that and rebooted the jail host system. However, the setting = in sysctl security.jail.sysvipc_allowed is still 0 after the reboot >> # sysctl -a | grep sysvipc >> security.jail.param.allow.sysvipc: 0 >> security.jail.sysvipc_allowed: 0 >> # >> I can set security.jail.sysvipc_allowed to 1 manually. However, even = after doing that, the original fcgi problem happens when starting = apache2.2 with mod_fcgid in the configuration and being loaded >> [Tue Aug 07 13:09:12 2012] [emerg] (78)Function not implemented: = mod_fcgid: Can't create shared memory for size 1192488 bytes >> Thanks! >> Chad > Since you manually installed apache22 and mod_fcgid from up-stream = sources maybe you missed something. As a test create another jail and = install the package versions of apache22 and mod_fcgid and see if that = will start ok. If it does them you know you missed something in your = hand job version. >=20 Hi Thanks for the suggestion. I don't think, however, that anything is = missing with my from-source compilations. I have been running = self-compiled apaches for 15 years and have also done mod_fcgid in the = past as well without issue (but not inside a jail). I don't think it is = a matter of sw missing, but of system parameters or similar.' Thanks Chad --Apple-Mail=_1C606A23-3055-4215-AAFC-6217134E2CF0--