Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A231E9FB38C for ; Wed, 27 Sep 2006 14:00:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 28492-09-2 for ; Wed, 27 Sep 2006 14:00:47 -0300 (ADT) X-Greylist: delayed 00:06:35.847086 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 0EB459FB3AC for ; Wed, 27 Sep 2006 14:00:33 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from csmtp1.b-one.net (csmtp.b-one.net [195.47.247.21]) by svr4.postgresql.org (Postfix) with ESMTP id 6D1BC5AF911 for ; Wed, 27 Sep 2006 16:53:54 +0000 (GMT) Received: from [192.168.123.101] (213-140-21-238.fastres.net [213.140.21.238]) by csmtp1.b-one.net (Postfix) with ESMTP id D4D5A19103BC7; Wed, 27 Sep 2006 18:53:40 +0200 (CEST) Subject: Re: having trouble restoring a database from files From: Andrea Gozzi Reply-To: andrea.gozzi@linuxrevolution.eu To: "Trefethen, Zachary J" Cc: pgsql-admin@postgresql.org In-Reply-To: <73674DD83A158143829CB93E994E2A94140DA9@emss09m10.us.lmco.com> References: <73674DD83A158143829CB93E994E2A94140DA9@emss09m10.us.lmco.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-s6UxHku9QgRH/ehuVfpW" Date: Wed, 27 Sep 2006 18:53:39 +0200 Message-Id: <1159376019.31535.3.camel@osmosis> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.558 tagged_above=0 required=5 tests=RCVD_IN_BL_SPAMCOP_NET X-Spam-Level: * X-Archive-Number: 200609/332 X-Sequence-Number: 23246 --=-s6UxHku9QgRH/ehuVfpW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi. I was in the same situation a while ago, and compiling PG from source solved the issue. After installation is complete just run=20 > postmaster -D /var/lib/pgsql/ and everything should be back as before. Andrea. On Wed, 2006-09-27 at 12:19 -0400, Trefethen, Zachary J wrote: > Hello =E2=80=93=20 >=20 > =20 >=20 > I searched through the archives but didn=E2=80=99t find a solution to the > exact situation I am in =E2=80=93 please help if you can.=20 >=20 > =20 >=20 > had a server go down (running RHEL3), don=E2=80=99t have one of my databa= ses > backed up, but have the /var/lib/pgsql/ directory backed up. >=20 > =20 >=20 > I set up a new server and installed postgres on it, then untar=E2=80=99d > my /var/lib/pgsql files into the new server, to attempt to restore the > databases, but now postgresql won=E2=80=99t start. >=20 > =20 >=20 > [root@ew root]# service rhdb start >=20 > Starting PostgreSQL - Red Hat Edition service: [FAILED] >=20 > =20 >=20 > Any ideas on what might be preventing the service from starting? >=20 > =20 >=20 > Thanks! >=20 > =20 >=20 > Josh >=20 > =20 >=20 --=-s6UxHku9QgRH/ehuVfpW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFGqyToIXRn+fZcV0RAnOxAKC6/gQz6J7Ie/5fvB5JvlfWR744vwCcCC28 fZMbvUz4ydv9dofuYs0XoVs= =vFkh -----END PGP SIGNATURE----- --=-s6UxHku9QgRH/ehuVfpW--