Re: postmaster error log - Mailing list pgsql-admin

From Alfred Perlstein
Subject Re: postmaster error log
Date
Msg-id 20000830182538.Z18862@fw.wintelcom.net
Whole thread Raw
In response to postmaster error log  ("G. Anthony Reina" <reina@nsi.edu>)
List pgsql-admin
* 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."

pgsql-admin by date:

Previous
From: "G. Anthony Reina"
Date:
Subject: postmaster error log
Next
From: "Igor N. Avtaev"
Date:
Subject: Re: 7.0.2 questions on encoding and compilation