Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA00774; Mon, 28 Dec 92 01:32:29 -0800
Message-Id: <9212280932.AA00774@postgres.Berkeley.EDU>
From: shlam@ie.cuhk.hk
Subject: start up the postmaster in rc.local
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Date: Mon, 28 Dec 92 17:32:40 -0800
From: shlam@ie.cuhk.hk
X-Mts: smtp


In order to talk with the backend, I need to start up the postmaster. I
try to start up the postmaster in /etc/rc.local as follows:

su - postgres -c "/usr/postgres/bin/postmaster &"

However, it fails. Although the ps show the postmaster is there, users
still cannot talk with the backend. I think there is something do with 

setenv POSTGRESHOME ~postgres.

I have already created a soft link to /usr/postgres but postmaster
started from rc.local still cannot work.

Has anyone encountered this problem before? If you know the solution,
please send me a e-mial. I will very appreciate it. Thanks.


-----
Alan S. H. Lam
Department of Information Engineering, CUHK, Hong Kong
E-mail: shlam@ie.cuhk.hk 
Tel: (852) 609 7975 Fax: (852) 603 5032

