pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Tom K <tomkcpr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: psql: FATAL: the database system is starting up
Date: Sat, 1 Jun 2019 17:36:33 -0700
Message-ID: <2a8309a5-df17-cb8b-840c-278f2d0ac422@aklaver.com> (raw)
In-Reply-To: <CAE3EmBDpYCQ6h8QJWRzO=FsBXH3mT2aRmmoGi+RKVpVKc6NsNQ@mail.gmail.com>
References: <CAE3EmBDX+TRLot5Ar6fJwV_QazSrbQ8JmWb9ZhGtj9wgtu7c_g@mail.gmail.com>
	<CAE3EmBD+LN3Mx2W2MbqANt=oaZ6dBDDn-o3a=01naM6at8PZ9w@mail.gmail.com>
	<CAE3EmBC0MAz7JetpL=JzCL9unBSUko6Q0HKKwFArLb6gXMfEhw@mail.gmail.com>
	<be3dec87-807c-f066-cad9-9c3d29f36a76@aklaver.com>
	<CAE3EmBDq7aQ5kXdfZ0uXgoYScMHSntrVLSnNnUVM08_U=18aCQ@mail.gmail.com>
	<CAE3EmBAiB6w6Zg3QOxzd=f6C7TGWH+5bSaW++Vn=v1cbCqmULg@mail.gmail.com>
	<d2dc9b50-af1f-8b0e-0e3f-264d72a62eab@aklaver.com>
	<CAE3EmBDE2=0dPJhTpcdyieKjHMs1-M6E+Da23vYQkH+FVyUJyQ@mail.gmail.com>
	<CAE3EmBDncwAX-i0z3w4_Q-k5svi8kSFxauwFD19k-bXVe5JoLw@mail.gmail.com>
	<aca93e88-e293-a03e-f29e-089eac69c111@aklaver.com>
	<CAE3EmBA8fPtRVNYDd9nt_7Yo1rSoCEw82FGCSEfbMmoJ7ZU+tQ@mail.gmail.com>
	<1bf8035e-006e-d026-e213-04f5b87cb686@aklaver.com>
	<CAE3EmBCbbw-hf7uRca3MvVKogshiLUpOod_9XmX4iF2jKJxugw@mail.gmail.com>
	<6e09cc96-ecc1-be79-fda7-694fc91f6986@aklaver.com>
	<CAE3EmBDpYCQ6h8QJWRzO=FsBXH3mT2aRmmoGi+RKVpVKc6NsNQ@mail.gmail.com>

On 6/1/19 5:21 PM, Tom K wrote:
> 
> 
> On Sat, Jun 1, 2019 at 7:34 PM Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> wrote:
> 
>     On 6/1/19 4:22 PM, Tom K wrote:
>      >
>      >
> 
>      >
>      > Looks like this crash was far more catastrophic then I thought. 
>     By the
>      > looks of things, thinking on psql02 would be my best bet.
>      >
> 
>     The more I look at it the more I think the replication was not doing
>     what you thought it was doing. That psql02 was the primary and that
>     psql01 and psql03 where out of sync and/or defunct standbys.
> 
> 
> Now that I look at the files myself, that's the conclusion I was coming 
> to myself.  Sample config:

The below would be for someone that uses and understands Patroni. That 
would not be me:)

> 
> [root@psql02 base]# cat /etc/patroni.yml
> scope: postgres
> namespace: /db/
> name: postgresql1
> 
> restapi:
>      listen: 192.168.0.124:8008 <http://192.168.0.124:8008;
>      connect_address: 192.168.0.124:8008 <http://192.168.0.124:8008;

> 
> Or perhaps when the system crashed, the filesystem check simply moved 
> the folders out due to corruption.

That would leave the cluster in an inconsistent state and you would not 
have been able to start the one you got going.

-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (40+ messages)  latest in thread

Message-ID: <2a8309a5-df17-cb8b-840c-278f2d0ac422@aklaver.com>
Permalink:  ../2a8309a5-df17-cb8b-840c-278f2d0ac422@aklaver.com/
Also on:    postgresql.org/message-id/2a8309a5-df17-cb8b-840c-278f2d0ac422@aklaver.com

 · 

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: adrian.klaver@aklaver.com, tomkcpr@gmail.com
  Subject: Re: psql: FATAL: the database system is starting up
  In-Reply-To: <2a8309a5-df17-cb8b-840c-278f2d0ac422@aklaver.com>
  References: <CAE3EmBDX+TRLot5Ar6fJwV_QazSrbQ8JmWb9ZhGtj9wgtu7c_g@mail.gmail.com> <CAE3EmBC0MAz7JetpL=JzCL9unBSUko6Q0HKKwFArLb6gXMfEhw@mail.gmail.com> <be3dec87-807c-f066-cad9-9c3d29f36a76@aklaver.com> <CAE3EmBDq7aQ5kXdfZ0uXgoYScMHSntrVLSnNnUVM08_U=18aCQ@mail.gmail.com> <CAE3EmBAiB6w6Zg3QOxzd=f6C7TGWH+5bSaW++Vn=v1cbCqmULg@mail.gmail.com> <d2dc9b50-af1f-8b0e-0e3f-264d72a62eab@aklaver.com> <CAE3EmBDE2=0dPJhTpcdyieKjHMs1-M6E+Da23vYQkH+FVyUJyQ@mail.gmail.com> <CAE3EmBDncwAX-i0z3w4_Q-k5svi8kSFxauwFD19k-bXVe5JoLw@mail.gmail.com> <aca93e88-e293-a03e-f29e-089eac69c111@aklaver.com> <CAE3EmBA8fPtRVNYDd9nt_7Yo1rSoCEw82FGCSEfbMmoJ7ZU+tQ@mail.gmail.com> <1bf8035e-006e-d026-e213-04f5b87cb686@aklaver.com> <CAE3EmBCbbw-hf7uRca3MvVKogshiLUpOod_9XmX4iF2jKJxugw@mail.gmail.com> <6e09cc96-ecc1-be79-fda7-694fc91f6986@aklaver.com> <CAE3EmBDpYCQ6h8QJWRzO=FsBXH3mT2aRmmoGi+RKVpVKc6NsNQ@mail.gmail.com> <2a8309a5-df17-cb8b-840c-278f2d0ac422@aklaver.com>

* 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