Re: pg_resetxlog: command not found

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Yazid Levasseur <yazidvass(at)gmx(dot)fr>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_resetxlog: command not found
Date: 2010-03-22 12:26:59
Message-ID: 1269260819.2353.30.camel@hp-laptop2.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sun, 2010-03-21 at 21:11 +0100, Yazid Levasseur wrote:
> root(at)myservercrashedonCOPY :/usr/lib/postgresql/8.4/bin# pg_resetxlog
> -f /var/lib/postgresql/8.4/main
> -bash: pg_resetxlog: command not found

Either ./pg_resetxlog -f ... ,
or /usr/lib/postgresql/8.4/bin/pg_resetxlog -f .... Another way is
adding /usr/lib/postgresql/8.4/bin to $PATH.
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Mead 2010-03-22 17:57:55 Re: Backup&Restore Postgres DB
Previous Message blast 2010-03-22 10:38:20 Backup&Restore Postgres DB