Search Postgresql Archives

Re: postmaster logfile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I can start the server with....

postmaster -D /myplace/db 

... and then... 
^z 
bg

... to get to the prompt.  But each/every time a message from the
postmaster gets logged, it goes to stdout of the current window.  I want
it to go to a logfile.  Attempts to redirect with "&" all seem to fail.
"postmaster -d myplace/db -l logfile start" (as was in the message right
after the initial db create) doesn't seem to work. 


I'll request v8.2.5.  Thanks for the advise.

-dave



-----Original Message-----
From: Scott Marlowe [mailto:scott.marlowe@xxxxxxxxx] 
Sent: Monday, December 03, 2007 4:13 PM
To: Gauthier, Dave
Cc: pgsql-general@xxxxxxxxxxxxxx
Subject: Re:  postmaster logfile

On Dec 3, 2007 2:35 PM, Gauthier, Dave <dave.gauthier@xxxxxxxxx> wrote:
>
> What's a good way to start the postmaster, send the log info to a
logfile
> somewhere, and return the linux prompt?

Use whatever startup script comes with the pacakge for your OS.  I.e.
in redhat or suse you should have a postgresql script that lives in
/etc/init.d/ that gets symlinked to the appropriate /etc/rc.d/rcx.d
directory.

> v8.2.0 on suse64

You should really be running at least 8.2.4, preferable 8.2.5.  8.2.0
has some nasty bugs.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux