From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Master-Slave error: the database system is starting up
Date: Thu, 1 Feb 2018 17:48:42 +0100
Message-ID: <44142664-adbc-b2e2-09a5-453074ddfffd@a-kretschmer.de> (raw)
In-Reply-To: <CAJ1FJWBPEebroqdBRSSB=o7h1g+m5beUWVrDmvTCMi6Jk1joVA@mail.gmail.com>
References: <CAJ1FJWBPEebroqdBRSSB=o7h1g+m5beUWVrDmvTCMi6Jk1joVA@mail.gmail.com>
Am 01.02.2018 um 15:43 schrieb Сергей Злобин:
> Hello,
>
> I was advised to write a letter to you
>
> Windows Server 2012
> Postgres 9.6
> I made a replication with the master server. On the slave server service
> postgres is running, but in log files slave's server "FATAL: the database
> system is starting up" message will continue.
>
> when I try from the command line run the command
>
> psql.exe -U postgres`
> writes the following error:
>
> psql: ... Connection refused (0x0000274D/10061) ...
> My postgresql.conf configuration is on the slave server:
>
> listen_addresses = 'ip slave adress'
> hot_standby = on
> wal_receiver_status_interval = 0
> hot_standby_feedback = on
> My recovery.conf configuration is on the slave server:
>
> standby_mode = 'on'
> primary_conninfo = 'host=ip master server port=5432 user=postgres'
> primary_slot_name = 'slot_1'
> trigger_file = 'D:\Postgres Data\Start_master'
> Could you please to fix this issue? I don't understand what could be the
> problem. I've made shutdown the server, the problem is not resolved.
>
> Thenk you very much
>
> http://www.postgresql-archive.org/Master-Slave-error-the-database-system-is-starting-up-td6004044.ht...
please execute "select * from pg_stat_replication;" and "select * from
pg_replication_slots ;" on the master and show us the output.
Please check also the logs on the standby.
Regards, Andreas
--
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com
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: andreas@a-kretschmer.de
Subject: Re: Master-Slave error: the database system is starting up
In-Reply-To: <44142664-adbc-b2e2-09a5-453074ddfffd@a-kretschmer.de>
References: <CAJ1FJWBPEebroqdBRSSB=o7h1g+m5beUWVrDmvTCMi6Jk1joVA@mail.gmail.com> <44142664-adbc-b2e2-09a5-453074ddfffd@a-kretschmer.de>
* 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