From owner-freebsd-isp Sat Jan 25 16:10:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA25416 for isp-outgoing; Sat, 25 Jan 1997 16:10:27 -0800 (PST) Received: from panda.hilink.com.au (panda.hilink.com.au [203.2.144.5]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA25404 for ; Sat, 25 Jan 1997 16:10:21 -0800 (PST) Received: (from danny@localhost) by panda.hilink.com.au (8.7.6/8.7.3) id LAA24948; Sun, 26 Jan 1997 11:13:14 +1100 (EST) Date: Sun, 26 Jan 1997 11:13:13 +1100 (EST) From: "Daniel O'Callaghan" To: Richard Gresek cc: freebsd-isp@freebsd.org Subject: Re: Starting PG95 In-Reply-To: <199701251820.TAA18749@gds.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 25 Jan 1997, Richard Gresek wrote: > I am using FreeBSD-3.0 (3.0-970118-SNAP) and Postgres95 (2.0). > > Almost everything works fine except starting postmaster from within > /etc/rc or /usr/local/etc/rc.d/postgres.sh. > > The command is definitely executed but postmaster does not stay as a > running process in memory. Started from the command line after the > login postmaster is running fine. > > I believe this is a question for this list than for the PG95-list because > the startup did work fine on FreeBSD 2.1.6 and does not now on 3.0. > +----- > > I tried to start PG95 from /etc/rc with this line: > > /usr/local/postgres95/bin/postmaster & > > and from /usr/local/etc/rc.d/postgres95.sh with these lines > > #!/bin/sh > /usr/local/postgres95/bin/postmaster & Did you try postmaster -S option? That will make the daemon lose its controlling tty etc, as with 'sendmail -bd'. I've just struck a problem in building postgres95 under 2.1.5 wherein psql core dumps with a bus error if built with -O, but not if not built with optimizations. Any ideas? regards, Danny