Running PostgreSQL in iocage-managed jail on FreeBSD 10.2-RELEASE
iocage set allow_sysvipc=1 JAILNAMEiocage stop JAILNAMEiocage start JAILNAMEUsing iocage restart JAILNAME did not work, a stop and start was necessary for me. After that, PostgreSQL started without problems.
The full error message this time - using the latest release of PostgreSQL and FreeBSD - was:
FATAL: could not create shared memory segment: Function not implementedDETAIL: Failed system call was shmget(key=5432001, size=48, 03600).pg_ctl: could not start serverExamine the log output.