PostgreSQL in FreeBSD jails
rbgarga at gmail.com
Tue Apr 26 08:12:52 PDT 2005
On 26/04/05, Alexander Rusinov <boot at eurocom.od.ua> wrote:
> 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
More information about the freebsd-stable