[FIXED] Re: can not restart posgresql after dist-upgrade - debian

From: viraj <kalinga(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: [FIXED] Re: can not restart posgresql after dist-upgrade - debian
Date: 2006-10-31 05:03:36
Message-ID: 74721f460610302103n7acea18bna012c3987ea7798a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

hi all,
manged to overcome the issue. the problem was with the shebang line of
the pg_ctlcluster script.

i replaced the switch '-T' with a '-t', turning Perl's 'tainting
checks' to 'tainting warnings'.

http://www252.pair.com/comdog/mastering_perl/Chapters/03.taint-checking.html

thanks

~viraj
p.s. turning security off is never a solution.

On 10/30/06, viraj <kalinga(at)gmail(dot)com> wrote:
> hi all,
> i'm running postgresql-7.4 on a debian etch box. postgresql was
> working fine before the dist upgrade (it was sarge).
>
> now, when i restart the service it says..
>
> viraj:/var/log/postgresql# pg_ctlcluster 7.4 main reload
> Insecure directory in $ENV{PATH} while running with -T switch at
> /usr/bin/pg_ctlcluster line 384.
>
> i didn't change permission of postgresql directories. and the
> configuration files are untouched. can somebody shed some light on
> this?
>
>
> thank you
>
>
> ~virajj
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message SUBASH CHANDRA MOHAPATRA 2006-10-31 05:36:46
Previous Message viraj 2006-10-30 15:49:06 can not restart posgresql after dist-upgrade - debian