Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2005 12:12:48 -0300
From:      Renato Botelho <rbgarga@gmail.com>
To:        Alexander Rusinov <boot@eurocom.od.ua>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: PostgreSQL in FreeBSD jails
Message-ID:  <747dc8f30504260812ee3c47e@mail.gmail.com>
In-Reply-To: <426E5713.3010906@eurocom.od.ua>
References:  <426E5713.3010906@eurocom.od.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26/04/05, Alexander Rusinov <boot@eurocom.od.ua> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?747dc8f30504260812ee3c47e>