Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 1997 11:13:13 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Richard Gresek <rg@gds.de>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Starting PG95
Message-ID:  <Pine.BSF.3.91.970126111019.13981I-100000@panda.hilink.com.au>
In-Reply-To: <199701251820.TAA18749@gds.de>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970126111019.13981I-100000>