Утром обнаружилось что postgresql не работает, попытки запустить заканчиваются так:
Код: Выделить всё
pg_ctl: could not start server
Examine the log output.
Код: Выделить всё
> cat ./messages | grep postgresql
Oct 24 09:08:32 gateway postgres[8181]: [1-1] FATAL: the database system is starting up
Oct 24 09:08:33 gateway postgres[8182]: [1-1] FATAL: the database system is starting up
Oct 24 09:08:34 gateway postgres[8183]: [1-1] FATAL: the database system is starting up
Oct 24 09:08:35 gateway postgres[8184]: [1-1] FATAL: the database system is starting up
Oct 24 09:08:36 gateway postgres[8185]: [1-1] FATAL: the database system is starting up
Oct 24 09:08:37 gateway postgres[8186]: [1-1] FATAL: the database system is starting up
Oct 24 09:08:38 gateway postgres[8187]: [1-1] FATAL: the database system is starting up
Oct 24 09:08:39 gateway postgres[8188]: [1-1] FATAL: the database system is starting up
Oct 24 09:08:39 gateway postgres[8180]: [7-1] FATAL: failed to re-find parent key in index "40361" for split pages 14342/14395
Быстрое гугление подсказало что сервер упал окончательно и нужно восстанавливать из резервной копии, но пока это не вариант.
Ночью не происходило ни каких чп, т.е. сервер не выключался и не перезагружался.
Так же ночью отработали бекапы баз данных.
Есть подозрение что данную проблему можно решить без переустановки сервера и restore database.
Прошу Вашей помощи ...
PS
Код: Выделить всё
> pkg_info | grep postgre
postgresql-client-9.2.1 PostgreSQL database (client)
postgresql-server-9.2.1 The most advanced open-source database available anywhere