pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alfred Perlstein <bright@wintelcom.net>
To: G. Anthony Reina <reina@nsi.edu>
Cc: pgsql-admin@postgreSQL.org <pgsql-admin@postgreSQL.org>
Subject: Re: postmaster error log
Date: Wed, 30 Aug 2000 18:25:38 -0700
Message-ID: <20000830182538.Z18862@fw.wintelcom.net> (raw)
In-Reply-To: <39ADA7AB.C2896318@nsi.edu>
References: <39ADA7AB.C2896318@nsi.edu>

* G. Anthony Reina <reina@nsi.edu> [000830 18:00] wrote:
> I'm trying to start the postmaster exactly how it is written in the
> installation instructions:
> 
> nohup postmaster -i > pgserver.log 2>&1 &
> 
> However, RedHat Linux 6.1 gives me an 'Ambiguous output redirect '
> error. This is probably because I'm using TCSH instead of BASH.
> 
> Is there a way that I can redirect like this in TCSH? Currently, I just
> use:
> 
> nohup postmaster -i > pgserver.log &
> 
> However, the errors are written to stdout and not to pgserver.log (as I
> would want it).

You need to read your shell's manpage, try:

  nohup postmaster -i >& pgserver.log &

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."



view thread (4+ messages)  latest in thread

Message-ID: <20000830182538.Z18862@fw.wintelcom.net>
Permalink:  ../20000830182538.Z18862@fw.wintelcom.net/
Also on:    postgresql.org/message-id/20000830182538.Z18862@fw.wintelcom.net

 · 

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: bright@wintelcom.net, reina@nsi.edu
  Subject: Re: postmaster error log
  In-Reply-To: <20000830182538.Z18862@fw.wintelcom.net>
  References: <39ADA7AB.C2896318@nsi.edu> <20000830182538.Z18862@fw.wintelcom.net>

* 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