pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
can not restart posgresql after dist-upgrade - debian
3+ messages / 2 participants
[nested] [flat]

* can not restart posgresql after dist-upgrade - debian
@ 2006-10-30 15:49 viraj <kalinga@gmail.com>
  2006-10-31 05:03 ` [FIXED] Re: can not restart posgresql after dist-upgrade - debian viraj <kalinga@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: viraj @ 2006-10-30 15:49 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* [FIXED] Re: can not restart posgresql after dist-upgrade - debian
  2006-10-30 15:49 can not restart posgresql after dist-upgrade - debian viraj <kalinga@gmail.com>
@ 2006-10-31 05:03 ` viraj <kalinga@gmail.com>
  2006-10-31 12:46   ` Re: [FIXED] Re: can not restart posgresql after dist-upgrade - debian Alvaro Herrera <alvherre@commandprompt.com>
  0 siblings, 1 reply; 3+ messages in thread

From: viraj @ 2006-10-31 05:03 UTC (permalink / raw)
  To: 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
>



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [FIXED] Re: can not restart posgresql after dist-upgrade - debian
  2006-10-30 15:49 can not restart posgresql after dist-upgrade - debian viraj <kalinga@gmail.com>
  2006-10-31 05:03 ` [FIXED] Re: can not restart posgresql after dist-upgrade - debian viraj <kalinga@gmail.com>
@ 2006-10-31 12:46   ` Alvaro Herrera <alvherre@commandprompt.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Alvaro Herrera @ 2006-10-31 12:46 UTC (permalink / raw)
  To: viraj <kalinga@gmail.com>; +Cc: pgsql-admin

viraj wrote:
> 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'.

Just FYI, pg_ctlcluster is a Debian-specific program, so you should take
this bug report with them.  Maybe this particular problem is already
fixed in a later revision of the Debian packages; it's too serious for
it to be overlooked for too long.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2006-10-31 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-30 15:49 can not restart posgresql after dist-upgrade - debian viraj <kalinga@gmail.com>
2006-10-31 05:03 ` viraj <kalinga@gmail.com>
2006-10-31 12:46   ` Alvaro Herrera <alvherre@commandprompt.com>

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