Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 2F40763350C for ; Mon, 22 Mar 2010 09:27:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 64709-04 for ; Mon, 22 Mar 2010 12:27:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gunduz.org (ns1.gunduz.org [77.79.103.58]) by mail.postgresql.org (Postfix) with ESMTP id 30C81632986 for ; Mon, 22 Mar 2010 09:27:23 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.gunduz.org (Postfix) with ESMTP id DDD4D40038E; Mon, 22 Mar 2010 14:30:42 +0200 (EET) X-Virus-Scanned: amavisd-new at mail.gunduz.org Received: from mail.gunduz.org ([127.0.0.1]) by localhost (mail.gunduz.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4UAeHeQzqkUG; Mon, 22 Mar 2010 14:30:42 +0200 (EET) Received: from [10.15.1.91] (unknown [84.51.49.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.gunduz.org (Postfix) with ESMTPSA id 399BD400049; Mon, 22 Mar 2010 14:30:42 +0200 (EET) Subject: Re: pg_resetxlog: command not found From: Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= To: Yazid Levasseur Cc: pgsql-admin@postgresql.org In-Reply-To: <20100321201346.53860@gmx.com> References: <20100321201346.53860@gmx.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-FH7cFnE/TSmmPyJe36JC" Date: Mon, 22 Mar 2010 14:26:59 +0200 Message-ID: <1269260819.2353.30.camel@hp-laptop2.gunduz.org> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.358 tagged_above=-10 required=5 tests=AWL=0.241, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/148 X-Sequence-Number: 33947 --=-FH7cFnE/TSmmPyJe36JC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=20 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. --=20 Devrim G=C3=9CND=C3=9CZ PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/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 --=-FH7cFnE/TSmmPyJe36JC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkunYhEACgkQtl86P3SPfQ5HLwCgnsTyqXbYkGOd+3M43s8TMVU4 +HEAoKQbKvUubHrT45Iisvs/iO8YBrij =iJBi -----END PGP SIGNATURE----- --=-FH7cFnE/TSmmPyJe36JC--