From: Andrea Gozzi <andrea.gozzi@linuxrevolution.eu>
To: Trefethen, Zachary J <zachary.j.trefethen@lmco.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: having trouble restoring a database from files
Date: Wed, 27 Sep 2006 18:53:39 +0200
Message-ID: <1159376019.31535.3.camel@osmosis> (raw)
In-Reply-To: <73674DD83A158143829CB93E994E2A94140DA9@emss09m10.us.lmco.com>
References: <73674DD83A158143829CB93E994E2A94140DA9@emss09m10.us.lmco.com>
Hi.
I was in the same situation a while ago, and compiling PG from source
solved the issue.
After installation is complete just run
> 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 –
>
>
>
> I searched through the archives but didn’t find a solution to the
> exact situation I am in – please help if you can.
>
>
>
> had a server go down (running RHEL3), don’t have one of my databases
> backed up, but have the /var/lib/pgsql/ directory backed up.
>
>
>
> I set up a new server and installed postgres on it, then untar’d
> my /var/lib/pgsql files into the new server, to attempt to restore the
> databases, but now postgresql won’t start.
>
>
>
> [root@ew root]# service rhdb start
>
> Starting PostgreSQL - Red Hat Edition service: [FAILED]
>
>
>
> Any ideas on what might be preventing the service from starting?
>
>
>
> Thanks!
>
>
>
> Josh
>
>
>
Attachments:
signature.asc (application/pgp-signature, 188B) download
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: andrea.gozzi@linuxrevolution.eu, zachary.j.trefethen@lmco.com
Subject: Re: having trouble restoring a database from files
In-Reply-To: <1159376019.31535.3.camel@osmosis>
References: <73674DD83A158143829CB93E994E2A94140DA9@emss09m10.us.lmco.com> <1159376019.31535.3.camel@osmosis>
* 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