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

next in thread | previous in thread | raw e-mail | index | archive | help
Renato Botelho wrote:

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



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