Re: Probleme Replikation aufzusetzen

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: "Thiemo Kellner, NHC Barhufpflege" <thiemo(dot)kellner(at)gelassene-pferde(dot)biz>, PostgreSQL DE Allgemein <pgsql-de-allgemein(at)lists(dot)postgresql(dot)org>
Subject: Re: Probleme Replikation aufzusetzen
Date: 2018-01-29 10:10:46
Message-ID: 1517220646.2622.18.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-de-allgemein

Thiemo Kellner schrieb:
> Zitat von Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>:
>
> > Die Interessante Information fehlt, nämlich das Log-File.
>
> Verzeihung und danke für den Hinweis.
>
> == Standby log gives me ==
>
> 2018-01-29 05:55:47.887 CET [1334] LOG: database system was shut down at 2018-01-29 05:50:37 CET
> 2018-01-29 05:55:47.887 CET [1334] DEBUG: checkpoint record is at 0/1636408
> 2018-01-29 05:55:47.889 CET [1334] DEBUG: redo record is at 0/1636408; shutdown TRUE
> 2018-01-29 05:55:47.889 CET [1334] DEBUG: next transaction ID: 0:556; next OID: 16385
> 2018-01-29 05:55:47.889 CET [1334] DEBUG: next MultiXactId: 1; next MultiXactOffset: 0
> 2018-01-29 05:55:47.889 CET [1334] DEBUG: oldest unfrozen transaction ID: 548, in database 1
> 2018-01-29 05:55:47.889 CET [1334] DEBUG: oldest MultiXactId: 1, in database 1
> 2018-01-29 05:55:47.889 CET [1334] DEBUG: commit timestamp Xid oldest/newest: 0/0
> 2018-01-29 05:55:47.889 CET [1334] DEBUG: transaction ID wrap limit is 2147484195, limited by database with OID 1
> 2018-01-29 05:55:47.889 CET [1334] DEBUG: MultiXactId wrap limit is 2147483648, limited by database with OID 1
> 2018-01-29 05:55:47.889 CET [1334] DEBUG: starting up replication slots
> 2018-01-29 05:55:47.890 CET [1334] DEBUG: MultiXactId wrap limit is 2147483648, limited by database with OID 1
> 2018-01-29 05:55:47.890 CET [1334] DEBUG: MultiXact member stop limit is now 4294914944 based on MultiXact 1
> 2018-01-29 05:55:47.943 CET [1338] DEBUG: autovacuum launcher started
> 2018-01-29 05:55:47.944 CET [1333] DEBUG: starting background worker process "logical replication launcher"
> 2018-01-29 05:55:47.945 CET [1333] LOG: database system is ready to accept connections

Das heißt, im Working Directory wurde kein "recovery.conf" gefunden, oder
es konnte nicht zum Lesen geöffnet werden.

Ich nehme an, 1334 ist die Prozeß-ID des Postmaster-Prozesses.

Dann sieht man das Current Working Directory auf Linux so:

ls -l /proc/1334/cwd

Dort sollte "recovery.conf" sein.

Liebe Grüße,
Laurenz Albe

In response to

Responses

Browse pgsql-de-allgemein by date

  From Date Subject
Next Message Thiemo Kellner 2018-01-29 12:07:49 Re: Probleme Replikation aufzusetzen
Previous Message Thiemo Kellner, NHC Barhufpflege 2018-01-29 09:25:49 Re: Probleme Replikation aufzusetzen