Are Bryne <are-pgsql-ports(at)communique(dot)no> writes:
> Creating template1 database in /usr/local/pgsql/data/base/1
> Bad system call - core dumped
This one is a FAQ --- most likely, your kernel is compiled without SysV
shared memory/semaphore support.
regards, tom lane