Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2003 18:56:49 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        freebsd-current@freebsd.org
Subject:   PostgreSQL7 port fails when I try to run initdb
Message-ID:  <3EB054B1.6040406@potentialtech.com>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EB054B1.6040406>