On Tue, 24 Nov 1998, Jonah Kuo wrote:
> Jason Boxman wrote:
>
> > Just an offhand guess, but maybe you need to also redirect STERR in addition to
> > STOUT to /usr/local/pgsql/errlog? Shell scripts have never been my thing, but
> > isn't it something like "... > /usr/local/pgsql/errlog 2>&1 &" or something
> > along those lines perhaps? (No since giving misinformation; I just double
> > checked my own init.d script and it is, in fact, correctly stated above. Well,
> > after I fixed my mistake... *grin*.)
> >
>
> No matter I use "...> /usr/local/pgsql/errlog &" or
> "...> /usr/local/pgsql/errlog 2>&1 &", it still send errlog to the console and
> the errlog size is always zero, any further ideas?
Perhaps the user you're running it as (should be postgres user) doesn't
have write permissions to that directory? Can you cat >
/usr/local/pgsql/errlog and add stuff manually as the postgres user? I
don't think I can be too much more help, but I hope someone else can.
> Thanks in advance.
>
>
> Jonah
>
>