Re: [ADMIN] pgsql.sh

From: Jason Boxman <benefits(at)cybertechs(dot)com>
To: Jonah Kuo <jonahk(at)mail(dot)lbfe(dot)org(dot)tw>
Cc: pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [ADMIN] pgsql.sh
Date: 1998-11-24 04:39:08
Message-ID: Pine.BSF.3.96.981123233722.23743A-100000@cyber.cybertechs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jonah Kuo 1998-11-24 05:40:59 Re: [ADMIN] pgsql.sh
Previous Message Jonah Kuo 1998-11-24 01:16:19 Re: [ADMIN] pgsql.sh