Re: postgres in freebsd jail - Mailing list pgsql-general

From Reko Turja
Subject Re: postgres in freebsd jail
Date
Msg-id 002c01c4835e$9f4266b0$6987cb52@rekon
Whole thread Raw
In response to postgres in freebsd jail  (Vikram <vvikram@stanford.edu>)
Responses Re: postgres in freebsd jail
List pgsql-general
> I am using postgresql 8.0beta in a freebsd jail environment. My
> inittdb
> gives me a message like:
> ---
> creating template1 database in /home/..../db/base/1 ... FATAL:
> could
> not create shared memory segment: Function not implemented
> DETAIL:  Failed system call was shmget(key=1, size=1187840, 03600).
> child process exited with exit code 1
> initdb: failed

Have you enabled jail.sysvipc_allowed sysctl for kernel? I haven't run
Postgresql in jail myself but as far as I know the sysctl above is
needed in order to use sysv IPC and shared memory functionality inside
the jail.

-Reko


pgsql-general by date:

Previous
From: Vikram
Date:
Subject: postgres in freebsd jail
Next
From: Ulrich Wisser
Date:
Subject: major database breakdown