Re: initdb dies during IpcSemaphoreCreate under BSD jail - Mailing list pgsql-hackers

From Vince Vielhaber
Subject Re: initdb dies during IpcSemaphoreCreate under BSD jail
Date
Msg-id Pine.BSF.4.40.0203251101260.53651-100000@paprika.michvhf.com
Whole thread Raw
In response to initdb dies during IpcSemaphoreCreate under BSD jail  ("Joel Burton" <joel@joelburton.com>)
Responses Re: initdb dies during IpcSemaphoreCreate under BSD jail  ("Alastair D'Silva" <deece@newmillennium.net.au>)
List pgsql-hackers
On Mon, 25 Mar 2002, Joel Burton wrote:

> (posted last week to pgsql-general; no responses there, so I'm seeing if
> anyone here can contribute. Thanks!)
>
>
> I'm working on a site hosted in a BSD Jail; they have MySQL installed but,
> of course, I'd rather use PostgreSQL.
>
> It installs fine but can't initdb; get the following:
>
> Fixing permissions on existing directory /usr/local/pgsql/data... ok
> creating directory /usr/local/pgsql/data/base... ok
> creating directory /usr/local/pgsql/data/global... ok
> creating directory /usr/local/pgsql/data/pg_xlog... ok
> creating directory /usr/local/pgsql/data/pg_clog... ok
> creating template1 database in /usr/local/pgsql/data/base/1...
> IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed:
> Function not implemented
>
> Earlier message traffic suggests that SYSV IPC has not been fixed to run
> under BSD Jails.
>
> The last time this was raised was ~1 year ago. Has there been any changes
> here that anyone knows of? Any hope of getting PG running in our jail? (Or,
> alternatively, can PG run on the real machine's processes so that the
> different jails can access it?)

I don't know about running PG in a jail, but if you have it running
on the parent or real machine the jails can access it just fine but
not as localhost.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: vev@michvhf.com    http://www.pop4.net        56K Nationwide Dialup from $16.00/mo
atPop4 Networking       Online Campground Directory    http://www.camping-usa.com      Online Giftshop Superstore
http://www.cloudninegifts.com
==========================================================================





pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Antw: Re: patch for include/utils/datetime.h to target NetWare
Next
From: Thomas Lockhart
Date:
Subject: Re: pg_control contents