Обсуждение: initdb failing - core dump
running initdb gives the following: ==================================================== /usr/ports/databases/postgresql7>su -l pgsql -c initdb The files belonging to this database system will be owned by user "pgsql". This user must also own the server process. creating directory /usr/local/pgsql/data... ok creating directory /usr/local/pgsql/data/base... ok creating directory /usr/local/pgsql/data/global... ok creating directory /usr/local/pgsql/data/pg_xlog... ok creating directory /usr/local/pgsql/data/pg_clog... ok creating template1 database in /usr/local/pgsql/data/base/1... Bad system call - core dumped initdb failed. Removing /usr/local/pgsql/data. ==================================================== any ideas where the problem might lie? Thank you all. ==================================================== >uname -a FreeBSD mangomail.unitedglobaltrading.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Thu Apr 25 17:12:02 PDT 2002 root@.unitedglobaltrading.com:/usr/src/sys/compile/MANGOMAIL i386 postgresql-7.2.1_1
"Ben Witkowski" <ben@alohait.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