Re: [ADMIN] pgsql.sh - Mailing list pgsql-admin

From Jason Boxman
Subject Re: [ADMIN] pgsql.sh
Date
Msg-id Pine.BSF.3.96.981123233722.23743A-100000@cyber.cybertechs.com
Whole thread Raw
In response to Re: [ADMIN] pgsql.sh  (Jonah Kuo <jonahk@mail.lbfe.org.tw>)
List pgsql-admin

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
>
>


pgsql-admin by date:

Previous
From: Jonah Kuo
Date:
Subject: Re: [ADMIN] pgsql.sh
Next
From: Jonah Kuo
Date:
Subject: Re: [ADMIN] pgsql.sh