"Ben Witkowski" <ben(at)alohait(dot)com> writes:
> creating template1 database in /usr/local/pgsql/data/base/1... Bad system
> call - core dumped
According to the FAQ, "bad system call" is usually a symptom of not
having SysV IPC support enabled in your kernel ...
regards, tom lane