Re: Debugging Failed Startup

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Ray Cote <rgacote(at)appropriatesolutions(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Debugging Failed Startup
Date: 2019-05-02 20:12:33
Message-ID: 20190502201233.GA1466@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2019-May-02, Ray Cote wrote:

> Does anyone have a hint on how I'd go about debugging why PostgreSQL 11 is
> not starting on CentOS 7?
> Was running fine for several weeks then fails to come up after a reboot.

How are you getting it started after the reboot? If you're not using
systemd facilities (eg. if you're calling pg_ctl on your own script),
systemd may be getting confused about what's the status of the service
and stopping it on its own.

Also, what are the timestamp differences between the final "redirecting
log output" line and the "Failed to start" lines?

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ray Cote 2019-05-02 20:20:24 Re: Debugging Failed Startup
Previous Message Adrian Klaver 2019-05-02 19:40:03 Re: Debugging Failed Startup