Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 12:25:02 +0300
From:      Alexander Rusinov <boot@eurocom.od.ua>
To:        freebsd-stable@freebsd.org
Subject:   Re: PostgreSQL in FreeBSD jails
Message-ID:  <426F5A6E.4050208@eurocom.od.ua>
In-Reply-To: <426F3AFA.9020900@konvergencia.hu>
References:  <426E5713.3010906@eurocom.od.ua> <747dc8f30504260812ee3c47e@mail.gmail.com> <426E5EA5.8000703@eurocom.od.ua> <426F3AFA.9020900@konvergencia.hu>

next in thread | previous in thread | raw e-mail | index | archive | help

>>>
>>> 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?
>>
> AFAIR PostgreSQL generates the shared memory identifier based on the 
> port it is runing on. It is possible to run two instances of 
> PostgreSQL on different ports, so it should work if they are in 
> seperate jails.

Actually, I'm using unix sockets for those servers so I never thought 
about changing the port number. But now I tried and ... that helped! 
Thank you!

I guess this is a workaround but not a solution though.



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