Re: Postgresql 9.3 not coming up after restart in centos

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: "balajishanmugam(at)live(dot)in" <balajishanmugam(at)live(dot)in>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql 9.3 not coming up after restart in centos
Date: 2016-01-06 22:26:21
Message-ID: 568D948D.50109@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/06/2016 01:08 PM, balajishanmugam(at)live(dot)in wrote:
> Most of the time I will be restarting centOS by issuing reboot command. Which
> will do the orderly shutdown of all the service and sometimes just pull the
> plug.
>
> But the issue appears to be random. Is there a way that before Postgres
> starts we can check whether data is flushed, if not flush it manually or any
> other better way to avoid this issue.

I would think the damage is done on shutdown and by the time you start
up again it is to late to do anything.

In that vein, what does the Postgres log show at the end of the shutdown
sequence?

>
> Thank you!
>
>
>
> --
> View this message in context: http://postgresql.nabble.com/Postgresql-9-3-not-coming-up-after-restart-in-centos-tp5880435p5880690.html
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2016-01-06 22:41:39 Re: Code of Conduct: Is it time?
Previous Message Ted Toth 2016-01-06 22:26:19 9.5rc1 RLS select policy on insert?