From owner-freebsd-isp Fri Jan 5 10:22:49 2001 From owner-freebsd-isp@FreeBSD.ORG Fri Jan 5 10:22:47 2001 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from hawk-systems.com (unknown [161.58.152.235]) by hub.freebsd.org (Postfix) with ESMTP id C3FB737B400 for ; Fri, 5 Jan 2001 10:22:46 -0800 (PST) Received: from server0 (cr901664-a.pr1.on.wave.home.com [24.112.146.66]) by hawk-systems.com (8.8.8) id LAA99661 for ; Fri, 5 Jan 2001 11:21:14 -0700 (MST) From: "Dave VanAuken" To: Subject: RE: FreeBSD 4.2 > jailled virtual machine and PostgreSQL install/execute Date: Fri, 5 Jan 2001 13:28:58 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have already set the variable in the sysctl.conf file ## sysctl.conf contents ### jail.set_hostname_allowed=0 jail.set_sysvipc_allowed=1 And to following up on Tom's latest Have installed pgsql on the host machine, configured, added users... all works well Also did an ipcclean on the host machine... looks like sysv is indeed compiled in with the kernel, though I am open to additional checks. I cannot perform ipcclean within the jail environment (wasn't sure if I should expect that to work of not given that the host machine would be controlling the memory)... it generated the following error, almost leading me to believe that despite the jail/allow tag for sysv, it isn't enabled within the jail for some reason: $ ipcclean ipcs: short read SVID messages facility not configured in the system ipcs: short read SVID shared memory facility not configured in the system ipcs: short read SVID semaphores facility not configured in the system $ Perhaps the jail environment is missing support for it despite its being compiled into the host system that created the jail? I sincerely appreciate all the insights, suggestions, and pointers received to date... am getting to the point where I am wondering if this particular app will run under the jail environment because of the shared memory issue... Dave -----Original Message----- From: Alexey Zakirov [mailto:frank@agava.com] Sent: Friday, January 05, 2001 10:25 AM To: Dave VanAuken Cc: freebsd-isp@FreeBSD.ORG Subject: Re: FreeBSD 4.2 > jailled virtual machine and PostgreSQL install/execute On Thu, 4 Jan 2001, Dave VanAuken wrote: > %postmaster -i > IpcMemoryCreate: shmget failed (Function not implemented) key=5432010, > size=144, permission=700 > This type of error is usually caused by an improper > shared memory or System V IPC semaphore configuration. > For more information, see the FAQ and platform-specific > FAQ's in the source directory pgsql/doc or on our > web site at http://www.postgresql.org. > IpcMemoryIdGet: shmget failed (Function not implemented) key=5432010, > size=144, permission=0 > IpcMemoryAttach: shmat failed (Function not implemented) id=-2 > FATAL 1: AttachSLockMemory: could not attach segment > % sysctl -w jail.sysvipc_allowed=1 ? *** WBR, Alexey Zakirov (frank@agava.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message