pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_resetxlog: command not found
2+ messages / 2 participants
[nested] [flat]

* pg_resetxlog: command not found
@ 2010-03-21 20:11  Yazid Levasseur <yazidvass@gmx.fr>
  0 siblings, 1 reply; 2+ messages in thread

From: Yazid Levasseur @ 2010-03-21 20:11 UTC (permalink / raw)
  To: pgsql-admin

I do not succeed with pg_resetxlog

root@myservercrashedonCOPY :/usr/lib/postgresql/8.4/bin# pg_resetxlog -f /var/lib/postgresql/8.4/main
-bash: pg_resetxlog: command not found

The O.S on the server is Ubuntu Hardy. 

I am not sure if I get it right.. 

Is there an How-to for this available somewhere, or someone has experienced this issue, please ?

Thank you

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

* Re: pg_resetxlog: command not found
@ 2010-03-22 12:26  Devrim GÜNDÜZ <devrim@gunduz.org>
  parent: Yazid Levasseur <yazidvass@gmx.fr>
  0 siblings, 0 replies; 2+ messages in thread

From: Devrim GÜNDÜZ @ 2010-03-22 12:26 UTC (permalink / raw)
  To: Yazid Levasseur <yazidvass@gmx.fr>; +Cc: pgsql-admin

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

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


end of thread, other threads:[~2010-03-22 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-03-21 20:11 pg_resetxlog: command not found Yazid Levasseur <yazidvass@gmx.fr>
2010-03-22 12:26 ` Devrim GÜNDÜZ <devrim@gunduz.org>

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