Re: [GENERAL] Can't restart Postgres

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Can't restart Postgres
Дата
Msg-id 24110.1487103082@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [GENERAL] Can't restart Postgres  (Shawn Thomas <thomassd@u.washington.edu>)
Список pgsql-general
Shawn Thomas <thomassd@u.washington.edu> writes:
> I inadvertently deleted the ssl-cert-snakeoil.pem out from under a running Postgres instance (9.4) which caused it to
shutdown. The last line of main.log: 
> FATAL:  could not load server certificate file "/etc/ssl/certs/ssl-cert-snakeoil.pem": No such file or directory

There's a bit more to it than that, because simply deleting that file would
not result in a live server shutting down; before v10, the server only
examines its certificate file at startup.

> I've since restored the cert but cannot get Postgres to start back up.

FWIW, I don't see how removing that file would result in a silent exit
without any error messages.  I suspect you did more damage to the PG
installation than you've realized.  As JD mentioned, permissions problems
on the executable are a possibility.  I'm also wondering if you broke
the logging configuration, such that PG tries to write an error log
message but can't, or it's writing it somewhere other than where you
expect.

            regards, tom lane


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

Предыдущее
От: Shawn Thomas
Дата:
Сообщение: Re: [GENERAL] Can't restart Postgres
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: [GENERAL] postgresql how to duplicate rows in result.