Обсуждение: pg_resetxlog: command not found

Поиск
Список
Период
Сортировка

pg_resetxlog: command not found

От
"Yazid Levasseur"
Дата:

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



Re: pg_resetxlog: command not found

От
Devrim GÜNDÜZ
Дата:
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

Вложения