Re: initdb dies during IpcSemaphoreCreate under BSD jail

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: Joel Burton <joel(at)joelburton(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: initdb dies during IpcSemaphoreCreate under BSD jail
Date: 2002-03-25 16:02:53
Message-ID: Pine.BSF.4.40.0203251101260.53651-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)michvhf(dot)com http://www.pop4.net
56K Nationwide Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2002-03-25 18:10:08 Re: pg_control contents
Previous Message Thomas Lockhart 2002-03-25 15:54:08 Re: Antw: Re: patch for include/utils/datetime.h to target NetWare