Re: Jailed postgres

From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Paul Bauer <paul(at)shorttermwhat(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Jailed postgres
Date: 2003-10-28 14:08:10
Message-ID: 20031028100738.J58363@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, 27 Oct 2003, Paul Bauer wrote:

> I hope this is ok on this list. I am currently using postgres 7.2 on my
> host machine for some internal information.
>
> I recently created a jail for my apache server and want to install
> postgres (7.3) in it. I am finding that it is nearly impossible to get this
> working.
>
> $ initdb -D /usr/local/pgsql/data
> The files belonging to this database system will be owned by user
> "pgsql".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> creating 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

Add:

jail.sysvipc_allowed=1

to our /etc/sysctl.conf file

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message moonman 2003-10-28 19:13:56 Viewing linked large postgres tables with Access: Running out of memory
Previous Message Paul Bauer 2003-10-28 06:12:24 Jailed postgres