From: Stephen Frost <sfrost@snowman.net>
To: Filip RembiaĆkowski <filip.rembialkowski@gmail.com>
Cc: PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: 9.0 standby - could not open file global/XXXXX
Date: Mon, 25 Feb 2019 17:45:28 -0500
Message-ID: <20190225224528.GC6197@tamriel.snowman.net> (raw)
In-Reply-To: <CAP_rwwmG2aOjCEWdag5fEAYM=LX9_9LxJRYHc9MiStWZaqOz0w@mail.gmail.com>
References: <CAP_rwwmG2aOjCEWdag5fEAYM=LX9_9LxJRYHc9MiStWZaqOz0w@mail.gmail.com>
Greetings,
* Filip RembiaĆkowski (filip.rembialkowski@gmail.com) wrote:
> There is a large (>5T) database on PostgreSQL 9.0.23.
First off, I hope you understand that 9.0 has been *long* out of
support and that you *really* need to upgrade to a supported version of
PostgreSQL (9.4 and up these days...).
> I would like to setup new WAL-shipping standby.
> https://www.postgresql.org/docs/9.0/warm-standby.html
>
> On my way I find unexpected issues. Here's the story, in short:
>
> 1. WAL archiving to remote archive is setup & verified
>
> 2. base backup is transferred directly to new server using
> pg_start_backup + rsync + pg_stop_backup.
>
> 3. recovery.conf is created
>
> 4. Server is started and consumes all the remaining WAL segments
> accumulated in the archive - finishing with optimistic message LOG:
> consistent recovery state reached at 9FC1/112BEE10.
>
> 5. When I go to postgres on the standby and try to connect system
> "postgres" database psql: FATAL: could not open file "global/11819":
> No such file or directory
That seems pretty odd- does that file exist on the existing database
system..?
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) 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-general@postgresql.org
Cc: sfrost@snowman.net, filip.rembialkowski@gmail.com
Subject: Re: 9.0 standby - could not open file global/XXXXX
In-Reply-To: <20190225224528.GC6197@tamriel.snowman.net>
References: <CAP_rwwmG2aOjCEWdag5fEAYM=LX9_9LxJRYHc9MiStWZaqOz0w@mail.gmail.com> <20190225224528.GC6197@tamriel.snowman.net>
* 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