Return-Path: mao
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA07908; Fri, 4 Sep 92 09:44:56 -0700
Message-Id: <9209041644.AA07908@postgres.Berkeley.EDU>
From: <mao@postgres.berkeley.edu>
Subject: Re: Postmaster
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
In-Reply-To: Your message of Fri, 04 Sep 92 07:11:49 PST.
             <9209041411.AA06516@postgres.Berkeley.EDU> 
Date: Fri, 04 Sep 92 09:43:28 PDT

In message <9209041411.AA06516@postgres.Berkeley.EDU> you write:

> We're trying to put something in the boot file to run postmaster
> whenever our machine boots (in the etc/rc.local file), but
> it doesn't work.  It looks like the statement gets executed
> but it doesn't hang around, and there are no diagnostics.  
> 
> Does anyone have any ideas on how to do this?  Must there
> be some things "up and running" that we don't have when we
> try to run postmaster?

the disk on which POSTGRESHOME/data lives must be mounted.  postmaster
should be suid postgres.  other than this, there are no special
requirements.

if your rc.local file entry is of the form

	postmaster -d					>/tmp/pmlog 2>&1

debugging output from the postmaster (including the reason for its
failure) should be logged to /tmp/pmlog.

					mike
