pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postmaster error log
4+ messages / 3 participants
[nested] [flat]

* postmaster error log
@ 2000-08-31 00:32 G. Anthony Reina <reina@nsi.edu>
  2000-08-31 01:25 ` Re: postmaster error log Alfred Perlstein <bright@wintelcom.net>
  0 siblings, 1 reply; 4+ messages in thread

From: G. Anthony Reina @ 2000-08-31 00:32 UTC (permalink / raw)
  To: pgsql-admin

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).

-Tony





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postmaster error log
  2000-08-31 00:32 postmaster error log G. Anthony Reina <reina@nsi.edu>
@ 2000-08-31 01:25 ` Alfred Perlstein <bright@wintelcom.net>
  2000-08-31 16:02   ` Re: postmaster error log G. Anthony Reina <reina@nsi.edu>
  0 siblings, 1 reply; 4+ messages in thread

From: Alfred Perlstein @ 2000-08-31 01:25 UTC (permalink / raw)
  To: G. Anthony Reina <reina@nsi.edu>; +Cc: 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."



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postmaster error log
  2000-08-31 00:32 postmaster error log G. Anthony Reina <reina@nsi.edu>
  2000-08-31 01:25 ` Re: postmaster error log Alfred Perlstein <bright@wintelcom.net>
@ 2000-08-31 16:02   ` G. Anthony Reina <reina@nsi.edu>
  0 siblings, 0 replies; 4+ messages in thread

From: G. Anthony Reina @ 2000-08-31 16:02 UTC (permalink / raw)
  To: Alfred Perlstein <bright@wintelcom.net>; +Cc: pgsql-admin

Alfred Perlstein wrote:

> You need to read your shell's manpage, try:
>
>   nohup postmaster -i >& pgserver.log &
>

This worked. The output still gets directed to stdout but is also logged
into the file.

Thanks.
-Tony





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* RE: postmaster error log
@ 2000-08-31 16:18 Hal Lynch <hal@cc.usu.edu>
  0 siblings, 0 replies; 4+ messages in thread

From: Hal Lynch @ 2000-08-31 16:18 UTC (permalink / raw)
  To: pgsql-admin

>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?

I had the same problem, try:

           nohup postmaster -i >& pgserver.log

hal



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2000-08-31 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-08-31 00:32 postmaster error log G. Anthony Reina <reina@nsi.edu>
2000-08-31 01:25 ` Alfred Perlstein <bright@wintelcom.net>
2000-08-31 16:02   ` G. Anthony Reina <reina@nsi.edu>
2000-08-31 16:18 RE: postmaster error log Hal Lynch <hal@cc.usu.edu>

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