Hi, I been surfing the net looking for an answer for this: I want to run PostgreSQL in a jail.
I saw many people that solved this problem by adding the line jail_sysvipc_allow="YES" in /etc/rc.conf and the line security.jail.sysvipc_allowed=1 in the /etc/sysctl.conf file.
I had no luck trying to make postgres run in a jail, always getting the same error. I'm running FreeBSD 11.0-RELEASE-p2 and trying to run postgres93-server.
I am brand new to FreeBSD and I'm already loving it (been using it for 1 day )
Anyway, I hope anyone of you can point me in the right direction.
Thanks in advance.
yozh.
Code:
creating directory /usr/local/pgsql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 400kB
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: could not create shared memory segment: Function not implemented
DETAIL: Failed system call was shmget(key=1, size=40, 03600).
child process exited with exit code 1
initdb: removing data directory "/usr/local/pgsql/data"
I saw many people that solved this problem by adding the line jail_sysvipc_allow="YES" in /etc/rc.conf and the line security.jail.sysvipc_allowed=1 in the /etc/sysctl.conf file.
I had no luck trying to make postgres run in a jail, always getting the same error. I'm running FreeBSD 11.0-RELEASE-p2 and trying to run postgres93-server.
I am brand new to FreeBSD and I'm already loving it (been using it for 1 day )
Anyway, I hope anyone of you can point me in the right direction.
Thanks in advance.
yozh.