Re: Postgresql 9.3 not coming up after restart in centos

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Postgresql 9.3 not coming up after restart in centos
Дата
Msg-id CAOR=d=0MsHrGf+HygLAz8NZudNYCieJA9mXj4GP0X9MSJ8WvNw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgresql 9.3 not coming up after restart in centos  ("balajishanmugam@live.in" <balajishanmugam@live.in>)
Ответы Re: Postgresql 9.3 not coming up after restart in centos  ("balajishanmugam@live.in" <balajishanmugam@live.in>)
Список pgsql-general
On Wed, Jan 6, 2016 at 12:36 PM, balajishanmugam@live.in
<balajishanmugam@live.in> wrote:
> By application I mean centOS.
>
> We are starting and stopping Postgres using systemd service. We have a
> service file called postgresql9.3.service which is used to start or stop
> Postgres.
>
> Excerpts of postgresql9.3.service
>
> ExecStartPre=/usr/pgsql-9.3/bin/postgresql93-check-db-dir ${PGDATA}
> ExecStart=/usr/pgsql-9.3/bin/pg_ctl start -D ${PGDATA} -s -w -t 300
> ExecStop=/usr/pgsql-9.3/bin/pg_ctl stop -D ${PGDATA} -s -m fast
> ExecReload=/usr/pgsql-9.3/bin/pg_ctl reload -D ${PGDATA} -s
>
>

So how are you restarting centos? Orderly shutdown, pulling the power plugs etc?

I'm wondering if you've got untrustworthy data storage underneath it
(i.e. storage that lies about fsync) and maybe centos or the method of
shutdown isn't allowing the drives to flush the data that they've
already said they flushed but actually haven't.


В списке pgsql-general по дате отправления:

Предыдущее
От: "balajishanmugam@live.in"
Дата:
Сообщение: Re: Postgresql 9.3 not coming up after restart in centos
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: [BUGS] BUG #13847: WARNING: skipping "pg_toast_" --- cannot vacuum indexes, views, or special system tables VACUUM