X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3A3F2475956 for ; Thu, 17 Apr 2003 12:26:01 -0400 (EDT) Received: from THOR.goeci.com (thor.goeci.com [66.28.220.99]) by postgresql.org (Postfix) with ESMTP id A15E74758F1 for ; Thu, 17 Apr 2003 12:26:00 -0400 (EDT) Received: by THOR.goeci.com with Internet Mail Service (5.5.2653.19) id <28XRAN4M>; Thu, 17 Apr 2003 12:26:02 -0400 Message-ID: <2D92FEBFD3BE1346A6C397223A8DD3FC0921ED@THOR.goeci.com> From: Murthy Kambhampaty To: 'Greg Kelley' , pgsql-admin@postgresql.org Subject: Re: Require Assistance Solving Problem - erroneous pg_hba Date: Thu, 17 Apr 2003 12:25:58 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, hits=-6.6 required=5.0 tests=BAYES_01 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/249 X-Sequence-Number: 8404 Greg Kelley [mailto:gkelley@britannicaviation.com] writes: [snip] >... Postmaster starts with: > >su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p >/usr/bin/postmaster -o '-i -p ${PGPORT}' start > /var/log/pgsql 2>&1" < >/dev/null you might want to change your start line to su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p \ /usr/bin/postmaster -o '-i -p ${PGPORT}' start >> /var/log/pgsql \ 2>&1" > /var/log/pgsql, which appends to the file -- creating it if necessary -- rather than replacing it each time you start the postmaster, as it is now set to do. See, the Advanced Bash Scripting Guide, particularly http://www.tldp.org/LDP/abs/html/io-redirection.html on this. (Server log rotation is a topic continually discussed on this list; you might want to look into it.)