From: viraj <kalinga@gmail.com>
To: pgsql-admin@postgresql.org
Subject: [FIXED] Re: can not restart posgresql after dist-upgrade - debian
Date: Tue, 31 Oct 2006 10:33:36 +0530
Message-ID: <74721f460610302103n7acea18bna012c3987ea7798a@mail.gmail.com> (raw)
In-Reply-To: <74721f460610300749p5ddc05abib7e915d98140733@mail.gmail.com>
References: <74721f460610300749p5ddc05abib7e915d98140733@mail.gmail.com>
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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: kalinga@gmail.com
Subject: Re: [FIXED] Re: can not restart posgresql after dist-upgrade - debian
In-Reply-To: <74721f460610302103n7acea18bna012c3987ea7798a@mail.gmail.com>
References: <74721f460610300749p5ddc05abib7e915d98140733@mail.gmail.com> <74721f460610302103n7acea18bna012c3987ea7798a@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox