pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: W.P. <laurentp@wp.pl>
To: pgsql-general@lists.postgresql.org
Subject: Problem with PG 11 database on OrangePi3 (ARMBIAN, ARM64) after disk disrupion (problem with USB disk connection)
Date: Wed, 6 Apr 2022 10:57:43 +0200
Message-ID: <9ff52fa7-a125-1225-0e23-c22f034ceb91@wp.pl> (raw)

Hi there,

I had a problem with disconnecting USB disc with PG database on my OPi3.

PG is 11.

Now base refuses to start, with problem reported in log (see attached file).

But I don't have replication configured!

Is it possible to repair this?


Laurent

Attachments:

postgresql-11-main_2022-06-04.log (text/x-log, 1.6K) download 2022-04-05 20:53:38.892 CEST [12022-04-06 08:30:33.359 CEST [11834] LOG: listening on IPv4 address "0.0.0.0", port 5432 2022-04-06 08:30:33.360 CEST [11834] LOG: listening on IPv6 address "::", port 5432 2022-04-06 08:30:33.406 CEST [11834] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2022-04-06 08:30:33.586 CEST [11835] LOG: database system was interrupted; last known up at 2022-04-05 20:55:49 CEST 2022-04-06 08:30:34.369 CEST [11835] PANIC: replication checkpoint has wrong magic 1346542039 instead of 307747550 2022-04-06 08:30:34.371 CEST [11834] LOG: startup process (PID 11835) was terminated by signal 6: Aborted 2022-04-06 08:30:34.371 CEST [11834] LOG: aborting startup due to startup process failure 2022-04-06 08:30:34.374 CEST [11834] LOG: database system is shut down 2022-04-06 08:32:26.775 CEST [11873] LOG: listening on IPv4 address "0.0.0.0", port 5432 2022-04-06 08:32:26.776 CEST [11873] LOG: listening on IPv6 address "::", port 5432 2022-04-06 08:32:26.811 CEST [11873] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2022-04-06 08:32:26.980 CEST [11874] LOG: database system was interrupted; last known up at 2022-04-05 20:55:49 CEST 2022-04-06 08:32:27.668 CEST [11874] PANIC: replication checkpoint has wrong magic 1346542039 instead of 307747550 2022-04-06 08:32:27.669 CEST [11873] LOG: startup process (PID 11874) was terminated by signal 6: Aborted 2022-04-06 08:32:27.670 CEST [11873] LOG: aborting startup due to startup process failure 2022-04-06 08:32:27.673 CEST [11873] LOG: database system is shut down

view thread (11+ messages)  latest in thread

Message-ID: <9ff52fa7-a125-1225-0e23-c22f034ceb91@wp.pl>
Permalink:  ../9ff52fa7-a125-1225-0e23-c22f034ceb91@wp.pl/
Also on:    postgresql.org/message-id/9ff52fa7-a125-1225-0e23-c22f034ceb91@wp.pl

 · 

reply

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: laurentp@wp.pl
  Subject: Re: Problem with PG 11 database on OrangePi3 (ARMBIAN, ARM64) after disk disrupion (problem with USB disk connection)
  In-Reply-To: <9ff52fa7-a125-1225-0e23-c22f034ceb91@wp.pl>
  References: <9ff52fa7-a125-1225-0e23-c22f034ceb91@wp.pl>

* 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