pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim GÜNDÜZ <devrim@gunduz.org>
To: Yazid Levasseur <yazidvass@gmx.fr>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_resetxlog: command not found
Date: Mon, 22 Mar 2010 14:26:59 +0200
Message-ID: <1269260819.2353.30.camel@hp-laptop2.gunduz.org> (raw)
In-Reply-To: <20100321201346.53860@gmx.com>
References: <20100321201346.53860@gmx.com>

On Sun, 2010-03-21 at 21:11 +0100, Yazid Levasseur wrote:
> root@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

Attachments:

  signature.asc (application/pgp-signature, 197B) download

view thread (2+ messages)

Message-ID: <1269260819.2353.30.camel@hp-laptop2.gunduz.org>
Permalink:  ../1269260819.2353.30.camel@hp-laptop2.gunduz.org/
Also on:    postgresql.org/message-id/1269260819.2353.30.camel@hp-laptop2.gunduz.org

 · 

reply

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: devrim@gunduz.org, yazidvass@gmx.fr
  Subject: Re: pg_resetxlog: command not found
  In-Reply-To: <1269260819.2353.30.camel@hp-laptop2.gunduz.org>
  References: <20100321201346.53860@gmx.com> <1269260819.2353.30.camel@hp-laptop2.gunduz.org>

* 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