From owner-freebsd-current@FreeBSD.ORG Wed Apr 30 15:56:54 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B810E37B401 for ; Wed, 30 Apr 2003 15:56:54 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1a-215.pit.adelphia.net [24.53.170.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A33943F3F for ; Wed, 30 Apr 2003 15:56:54 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h3UMur0n005376 for ; Wed, 30 Apr 2003 18:56:53 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3EB054B1.6040406@potentialtech.com> Date: Wed, 30 Apr 2003 18:56:49 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: PostgreSQL7 port fails when I try to run initdb X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 22:56:55 -0000 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