Miles Keaton <mileskeaton@gmail.com> writes:
> So --- I think if you install PostgreSQL from FreeBSD ports, and start
> the server, and THEN run initdb, it will give you this error.
What this says is that you're running PG with settings that use up more
than half of the kernel's default limit on the number of semaphores.
So you can't start two postmasters concurrently.
regards, tom lane