From owner-freebsd-stable@FreeBSD.ORG Tue Apr 26 15:12:52 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 4C68F16A4CE for ; Tue, 26 Apr 2005 15:12:52 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE55043D48 for ; Tue, 26 Apr 2005 15:12:51 +0000 (GMT) (envelope-from rbgarga@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1584505wra for ; Tue, 26 Apr 2005 08:12:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N+AlVz2yq6lKAGCSK46QyovY3GkNB+e1vCtXDZ0W1NXJm7KOAmcluYRCa8FPP/nyEHkP6I7tQsZxITQfdBYQmlQ4ZOPnnSPWPjUa326D7BEJMQfmZwl7pM25nGa9nOKf+071RpYyqA+LvbQp58gB9HdMJfiwS7L3EMsvL2n2FJc= Received: by 10.54.40.63 with SMTP id n63mr2660638wrn; Tue, 26 Apr 2005 08:12:48 -0700 (PDT) Received: by 10.54.84.13 with HTTP; Tue, 26 Apr 2005 08:12:48 -0700 (PDT) Message-ID: <747dc8f30504260812ee3c47e@mail.gmail.com> Date: Tue, 26 Apr 2005 12:12:48 -0300 From: Renato Botelho To: Alexander Rusinov In-Reply-To: <426E5713.3010906@eurocom.od.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <426E5713.3010906@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 Reply-To: Renato Botelho 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:12:52 -0000 On 26/04/05, Alexander Rusinov wrote: > Hi, >=20 > 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: >=20 > semctl(1507328, 4, SETVAL, 0) failed: Invalid argument >=20 > The problem in general is: only one instance of PostgreSQL server > processes clients' connections, all of the others return semctl errors. >=20 > 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=3D"YES"=20 and ipc configuration will be shared with the jails Regards --=20 Renato Botelho ICQ: 54596223 AIM: RBGargaBR