| From: | Andreas Kretschmer <andreas(at)a-kretschmer(dot)de> |
|---|---|
| To: | Ashish Chauhan <Ashish(dot)Chauhan(at)support(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Live steraming replication setup issue! |
| Date: | 2016-02-19 01:11:04 |
| Message-ID: | 721787072.270222.1455844264729.JavaMail.open-xchange@oxweb02.ims-firmen.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> Currently we have master -> slave -> DR hot standby streaming replication in
> current prod environment. Between master and slave server replication running
> fine. Between slave and DR server replication is broken and I am trying to fix
> it. For DR server, slave server is master server.
>
> Issue: Few days back, DR was lagging behind slave server and stopped
> replication. I tried to setup the replication from slave to DR (currently
> there is replication running from master to slave) with pg_basebackup command,
> I am able to restart Postgres without any error on DR server but when I try to
> run any psql on DR, it throwing up below error.
>
> psql: FATAL: the database system is starting up
please show us your recovery.conf. this should include this line:
standby_mode = 'on'
--
Andreas Kretschmer
http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | John R Pierce | 2016-02-19 02:20:10 | Re: Exporting a PDF from a bytea column |
| Previous Message | CS DBA | 2016-02-19 00:44:21 | Exporting a PDF from a bytea column |