PostgreSQL in FreeBSD jails

Renato Botelho rbgarga at
Tue Apr 26 08:12:52 PDT 2005

On 26/04/05, Alexander Rusinov <boot at> 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


and ipc configuration will be shared with the jails

Renato Botelho
ICQ: 54596223

More information about the freebsd-stable mailing list