From owner-freebsd-questions Sun Apr 7 7:54:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 7BE5E37B426 for ; Sun, 7 Apr 2002 07:54:08 -0700 (PDT) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Sun, 7 Apr 2002 15:53:15 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 16uDzp-0005RI-00; Sun, 07 Apr 2002 15:50:21 +0100 Date: Sun, 7 Apr 2002 15:50:21 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Gerard Samuel Cc: FreeBSD Questions Subject: Re: Postgre database initialise?? In-Reply-To: <3CAF9B38.3060908@trini0.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 6 Apr 2002, Gerard Samuel wrote: > Im trying to install Postgresql from the ports. > It installed cleanly. ... > creating template1 database in /files/www/pgdata/data/base/1... Bad > system call - core dumped > > initdb failed. > > > Any tips would be appreciated. Thanks. Are you running with a custom kernel? PostgreSQL needs the SysV shared memory / semaphore stuff. You may also need to tune some of the related parameters in your kernel configuration (eg, turn SEMMNI up) - but it looks like you've not got those calls there at all. Cheers, jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Theoremhood is positively decidable. It just takes time at least exponential in the length of the proof. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message