PostgreSQL in FreeBSD jails

Alexander Rusinov boot at eurocom.od.ua
Tue Apr 26 08:30:48 PDT 2005


Renato Botelho wrote:

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



More information about the freebsd-stable mailing list