From: Christoph Berg <myon@debian.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Adam Brusselback <adambrusselback@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Postgres 10.1 fails to start: server did not start in time
Date: Sat, 11 Nov 2017 14:23:54 +0100
Message-ID: <20171111132354.esi73rlpq3goyrqh@msg.df7cb.de> (raw)
In-Reply-To: <8027.1510347112@sss.pgh.pa.us>
References: <CAMjNa7e6O-ng7xi38bWOwz3d67U1bkDo3k480kyNv10rwErogQ@mail.gmail.com>
<8027.1510347112@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Re: Tom Lane 2017-11-10 <8027.1510347112@sss.pgh.pa.us>
> > The recovery succeeds, but when I go to start the cluster on the
> > standby, it begins to replay the WAL, and does so for about 30
> > seconds. Then I get a line in my log saying:
>
> >> pg_ctl: server did not start in time
Hi Adam,
how did you start the server? Via pg_ctlcluster, the init system, or
directly via pg_ctl?
> > Followed by:
> >> 2017-11-10 20:27:35.907 UTC [7132] LOG: received smart shutdown request
> >> ERROR [063]: : terminated on signal [SIGTERM]
>
> ... pg_ctl itself wouldn't decide to forcibly shut down the server
> if the timeout expired. It merely stops waiting and tells you so.
> It seems like this must represent misdesign of whatever start script
> you're using. I think you need to complain to the Debian packagers
> about that.
pg_ctlcluster doesn't shut down if startup fails, but to be sure, we'd
need to see the full log of whatever initiated the startup. If you are
using systemd, what does `systemctl status postgresql@10-main` report?
If that doesn't have anything, also check journalctl.
Christoph
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
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: myon@debian.org, tgl@sss.pgh.pa.us, adambrusselback@gmail.com
Subject: Re: Postgres 10.1 fails to start: server did not start in time
In-Reply-To: <20171111132354.esi73rlpq3goyrqh@msg.df7cb.de>
References: <CAMjNa7e6O-ng7xi38bWOwz3d67U1bkDo3k480kyNv10rwErogQ@mail.gmail.com> <8027.1510347112@sss.pgh.pa.us> <20171111132354.esi73rlpq3goyrqh@msg.df7cb.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