| From: | Alfred Perlstein <bright(at)wintelcom(dot)net> |
|---|---|
| To: | "G(dot) Anthony Reina" <reina(at)nsi(dot)edu> |
| Cc: | "pgsql-admin(at)postgreSQL(dot)org" <pgsql-admin(at)postgreSQL(dot)org> |
| Subject: | Re: postmaster error log |
| Date: | 2000-08-31 01:25:38 |
| Message-ID: | 20000830182538.Z18862@fw.wintelcom.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
* G. Anthony Reina <reina(at)nsi(dot)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(at)wintelcom(dot)net|alfred(at)freebsd(dot)org]
"I have the heart of a child; I keep it in a jar on my desk."
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Igor N. Avtaev | 2000-08-31 03:45:22 | Re: 7.0.2 questions on encoding and compilation |
| Previous Message | G. Anthony Reina | 2000-08-31 00:32:44 | postmaster error log |