pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
To: Greg Kelley <gkelley@britannicaviation.com>
To: pgsql-admin@postgresql.org
Subject: Re: Require Assistance Solving Problem - erroneous pg_hba
Date: Thu, 17 Apr 2003 12:25:58 -0400
Message-ID: <2D92FEBFD3BE1346A6C397223A8DD3FC0921ED@THOR.goeci.com> (raw)

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" </dev/null
	
note the >> /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.)




view thread (8+ messages)  latest in thread

Message-ID: <2D92FEBFD3BE1346A6C397223A8DD3FC0921ED@THOR.goeci.com>
Permalink:  ../2D92FEBFD3BE1346A6C397223A8DD3FC0921ED@THOR.goeci.com/
Also on:    postgresql.org/message-id/2D92FEBFD3BE1346A6C397223A8DD3FC0921ED@THOR.goeci.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: murthy.kambhampaty@goeci.com, gkelley@britannicaviation.com
  Subject: Re: Require Assistance Solving Problem - erroneous pg_hba
  In-Reply-To: <2D92FEBFD3BE1346A6C397223A8DD3FC0921ED@THOR.goeci.com>
  References: <2D92FEBFD3BE1346A6C397223A8DD3FC0921ED@THOR.goeci.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox