Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Scott MeadDate: 2010-03-22 17:57:55
Subject: Re: Backup&Restore Postgres DB
Previous:From: blastDate: 2010-03-22 10:38:20
Subject: Backup&Restore Postgres DB

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group