Re: Creating Log file - run in background. - Mailing list pgsql-novice

From Sterling
Subject Re: Creating Log file - run in background.
Date
Msg-id 3A37B1D7.F030AF92@omeninc.com
Whole thread Raw
In response to Re: Creating Log file - run in background.  (Chris <csmith@squiz.net>)
Responses Re: Creating Log file - run in background.  (Chris <csmith@squiz.net>)
List pgsql-novice
H-

I don't understand.

Isn't that what that command is doing? It contains the server.log path,
except for all that <dev/null> stuff. What is that for?

Should the command look like this than:
nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data/server.log &

Could you please clarify?
Thanks.
-Sterling


Chris wrote:

> Hi,
>
> Try putting the full path to server.log instead. So,
> /usr/local/pgsql/data/server.log
>
> Without this, it tries to write the log to the current directory.
>
> HTH,
> Regards,
>
> >[postgres@XXXX src]$ bash: server.log: Permission denied
> >
> >[1]+  Exit 1                  nohup /usr/local/pgsql/bin/postmaster -D
> >/usr/local/pgsql/data </dev/null >>server.log 2>>1
> >[postgres@XXXX src]$
> >
> >Here is the params on the file.
> >-rw-rw-r--    1 postgres postgres        0 Dec 12 19:07
> >/usr/local/pgsql/data/server.log
>
> ------------------------
> Chris Smith
> http://www.squiz.net


pgsql-novice by date:

Previous
From: "Albert REINER"
Date:
Subject: Re: Unload of Data
Next
From: Manuel Sugawara
Date:
Subject: Re: check_primary_key on Postgres 6.5.3-23