From: | Sterling <smullett(at)omeninc(dot)com> |
---|---|
To: | Chris <csmith(at)squiz(dot)net> |
Cc: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Creating Log file - run in background. |
Date: | 2000-12-13 17:28:55 |
Message-ID: | 3A37B1D7.F030AF92@omeninc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)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(at)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
From | Date | Subject | |
---|---|---|---|
Next Message | Manuel Sugawara | 2000-12-13 19:06:26 | Re: check_primary_key on Postgres 6.5.3-23 |
Previous Message | Christophe Devine | 2000-12-13 16:19:16 | check_primary_key on Postgres 6.5.3-23 |