From owner-freebsd-stable@FreeBSD.ORG Tue Apr 26 15:30:48 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32DE816A4CE for ; Tue, 26 Apr 2005 15:30:48 +0000 (GMT) Received: from main.eurocom.od.ua (Main.EuroCom.Od.UA [212.15.128.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4DA043D2F for ; Tue, 26 Apr 2005 15:30:47 +0000 (GMT) (envelope-from boot@eurocom.od.ua) Received: from localhost (localhost [127.0.0.1]) by main.eurocom.od.ua (Postfix) with ESMTP id 2B56A1C9C49; Tue, 26 Apr 2005 18:30:46 +0300 (EEST) Received: from main.eurocom.od.ua ([127.0.0.1]) by localhost (main [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01167-05; Tue, 26 Apr 2005 18:30:45 +0300 (EEST) Received: from [212.15.128.37] (bm0.eurocom.od.ua [212.15.128.14]) by main.eurocom.od.ua (Postfix) with ESMTP id 9E95F1C9C33; Tue, 26 Apr 2005 18:30:45 +0300 (EEST) Message-ID: <426E5EA5.8000703@eurocom.od.ua> Date: Tue, 26 Apr 2005 18:30:45 +0300 From: Alexander Rusinov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.6) Gecko/20050404 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Renato Botelho References: <426E5713.3010906@eurocom.od.ua> <747dc8f30504260812ee3c47e@mail.gmail.com> In-Reply-To: <747dc8f30504260812ee3c47e@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at eurocom.od.ua cc: freebsd-stable@freebsd.org Subject: Re: PostgreSQL in FreeBSD jails X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 15:30:48 -0000 Renato Botelho wrote: >On 26/04/05, Alexander Rusinov wrote: > > >>Hi, >> >>I need to run a number of PostgreSQL servers in different FreeBSD jails. >>I managed to run a first instance of PostgreSQL server in a jail, but >>after I launch a new server in another jail the first one starts to >>return an error messages like the following: >> >>semctl(1507328, 4, SETVAL, 0) failed: Invalid argument >> >>The problem in general is: only one instance of PostgreSQL server >>processes clients' connections, all of the others return semctl errors. >> >>The system is FreeBSD 5.4-PRERELEASE. PostgreSQL-7.4.7. SEM and SHM >>sysctl setting are: >> >> > >Just add the following line to your /etc/rc.conf > >jail_sysvipc_allow="YES" > >and ipc configuration will be shared with the jails > > I have IPC enabled for jails already. So unfortunately this is not a solution. Is anybody here who do run several jailed PostgreSQL servers? -- Alexander Rusinov