[FIXED] Re: can not restart posgresql after dist-upgrade - debian - Mailing list pgsql-admin

From viraj
Subject [FIXED] Re: can not restart posgresql after dist-upgrade - debian
Date
Msg-id 74721f460610302103n7acea18bna012c3987ea7798a@mail.gmail.com
Whole thread Raw
In response to can not restart posgresql after dist-upgrade - debian  (viraj <kalinga@gmail.com>)
Responses Re: [FIXED] Re: can not restart posgresql after dist-upgrade - debian  (Alvaro Herrera <alvherre@commandprompt.com>)
List 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@gmail.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
>

pgsql-admin by date:

Previous
From: viraj
Date:
Subject: can not restart posgresql after dist-upgrade - debian
Next
From: Antonios Katsikadamos
Date:
Subject: postgres import