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: (view raw, whole thread or download thread mbox)
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.
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository:
Community:,  Twitter:

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-2017 The PostgreSQL Global Development Group