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
>