Skip site navigation (1) Skip section navigation (2)

Re: Creating Log file - run in background.

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 (view raw or flat)
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


In response to

Responses

pgsql-novice by date

Next:From: Manuel SugawaraDate: 2000-12-13 19:06:26
Subject: Re: check_primary_key on Postgres 6.5.3-23
Previous:From: Christophe DevineDate: 2000-12-13 16:19:16
Subject: check_primary_key on Postgres 6.5.3-23

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group