PostgreSQL7 port fails when I try to run initdb

Bill Moran wmoran at potentialtech.com
Wed Apr 30 15:56:55 PDT 2003


I haven't tested this _extensively_, but considering the fact that I've
run (and continue to run) Postgre on various 4.X boxes, I'm assuming this
is a problem with -CURRENT.  Feel free to correct me if it's not.

Port installed fine (ports cvsupped just yesterday), but I get the
following when trying to run initdb as pgsql user:

Script started on Wed Apr 30 18:53:11 2003
$ uname -a
FreeBSD working.potentialtech.com 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #0: Mon Apr 28 22:33:50 EDT 2003     root at working.potentialtech.com:/usr/obj/usr/src/sys/WORKING  i386
$ initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "pgsql".
This user must also own the server process.

The database cluster will be initialized with locale C.

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... IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Invalid argument

initdb failed.
Removing /usr/local/pgsql/data.
$ ^D
Script done on Wed Apr 30 18:53:24 2003

Have I done something wrong?  The kernel has SYSVSHM, SYSVMSG, and SYSVSEM
compiled in, is there anything else I'm missing?

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



More information about the freebsd-current mailing list