postgresql CentOS 7.1 systemd streaming replica startup

From: Eugene Vilensky <evilensky(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: postgresql CentOS 7.1 systemd streaming replica startup
Date: 2015-06-18 13:51:13
Message-ID: CAEUKkZ_BB5uem8zRBtBm84=xko=WP8a9-0QaLLVGF6N6AeNs9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

I am using postgresql 9.3.4 on CentOS 7.1. I have configured replication
correctly, and attempted to use the systemD unit file included in the
pgdg-provided package to start the replica. Unfortunately while the
replica appears to start correctly and I can monitor active WAL streaming,
the systemd startup script aborts reporting that startup did not complete
correctly.

Looking at the systemd unit file,The start command is:

ExecStart=/usr/pgsql-9.3/bin/pg_ctl start -D ${PGDATA} -s -w -t 300

Is it perhaps the -w parameter when starting a replica that causes systemd
to not recognize that the replica has started correctly?

Thank you,
Eugene

Browse pgsql-novice by date

  From Date Subject
Next Message Jude DaShiell 2015-06-18 20:11:26 Re: what's wrong with this code?
Previous Message Thomas Kellerer 2015-06-16 16:48:35 Re: PGDATA on Windows