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

From Alastair D'Silva
Subject Re: initdb dies during IpcSemaphoreCreate under BSD jail
Date
Msg-id 008201c1d542$b40c7e40$3200a8c0@riker
Whole thread Raw
In response to Re: initdb dies during IpcSemaphoreCreate under BSD jail  (Vince Vielhaber <vev@michvhf.com>)
Responses Re: initdb dies during IpcSemaphoreCreate under BSD jail
Re: initdb dies during IpcSemaphoreCreate under BSD jail
List pgsql-hackers
You need to get your provider to set the sysctl jail.sysvipc_allowed to
1 in the host environment. If they're not willing to do this for you, we
provide this feature on our servers, and also have a shared Postgres
database you can use.

--
Alastair D'Silva B. Sc.            mob: 0413 485 733
Networking Consultant
New Millennium Networking  http://www.newmillennium.net.au 

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org 
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of 
> Vince Vielhaber
> Sent: Tuesday, 26 March 2002 3:03 AM
> To: Joel Burton
> Cc: pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] initdb dies during IpcSemaphoreCreate 
> under BSD jail
> 
> 
> 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 at Pop4 Networking       Online Campground Directory
http://www.camping-usa.com     Online Giftshop Superstore    http://www.cloudninegifts.com
 
========================================================================
==




---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org



pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: RI triggers and schemas
Next
From: Bruce Momjian
Date:
Subject: Re: Rolling v7.2.1 ...