Maxik
Новичок
После выключени электричества рухнула база
в логах пишет:
May 7 00:10:30 root postgres[2171]: [1-1] LOG: database system was interrupted being in recovery at 2004-05-06 23:45:58 MSD
May 7 00:10:30 root postgres[2171]: [1-2] ^IThis probably means that some data blocks are corrupted
May 7 00:10:30 root postgres[2171]: [1-3] ^Iand you will have to use the last backup for recovery.
May 7 00:10:30 root postgres[2171]: [2] LOG: checkpoint record is at 7/2222D450
May 7 00:10:30 root postgres[2171]: [3] LOG: redo record is at 7/221EE2CC; undo record is at 0/0; shutdown FALSE
May 7 00:10:30 root postgres[2171]: [4] LOG: next transaction id: 11457688; next oid: 12821072
May 7 00:10:30 root postgres[2171]: [5] LOG: database system was not properly shut down; automatic recovery in progress
May 7 00:10:30 root postgres[2171]: [6] LOG: redo starts at 7/221EE2CC
May 7 00:10:36 root postgres[2171]: [7] PANIC: Invalid page header in block 35069 of 4681565
May 7 00:10:36 root postgres[2154]: [1] LOG: startup process (pid 2171) was terminated by signal 6
May 7 00:10:36 root postgres[2154]: [2] LOG: aborting startup due to startup process failure
я так понимаю что сбой в каком то блоке. Диск проверил, все ок.
В интернете о таких случаях инфо мало. Народ ссылается на программку pg_filedump. Но что она выдает не очень понятно. И самое не понятное, что делать.
И еще, в каталоге куча файлов. В каком именно из них ошибка тоже не очень понятно.
-- Ок, файл нашел. А вот что с ним теперь делать, не ясно.
В общем HELP плиз!
в логах пишет:
May 7 00:10:30 root postgres[2171]: [1-1] LOG: database system was interrupted being in recovery at 2004-05-06 23:45:58 MSD
May 7 00:10:30 root postgres[2171]: [1-2] ^IThis probably means that some data blocks are corrupted
May 7 00:10:30 root postgres[2171]: [1-3] ^Iand you will have to use the last backup for recovery.
May 7 00:10:30 root postgres[2171]: [2] LOG: checkpoint record is at 7/2222D450
May 7 00:10:30 root postgres[2171]: [3] LOG: redo record is at 7/221EE2CC; undo record is at 0/0; shutdown FALSE
May 7 00:10:30 root postgres[2171]: [4] LOG: next transaction id: 11457688; next oid: 12821072
May 7 00:10:30 root postgres[2171]: [5] LOG: database system was not properly shut down; automatic recovery in progress
May 7 00:10:30 root postgres[2171]: [6] LOG: redo starts at 7/221EE2CC
May 7 00:10:36 root postgres[2171]: [7] PANIC: Invalid page header in block 35069 of 4681565
May 7 00:10:36 root postgres[2154]: [1] LOG: startup process (pid 2171) was terminated by signal 6
May 7 00:10:36 root postgres[2154]: [2] LOG: aborting startup due to startup process failure
я так понимаю что сбой в каком то блоке. Диск проверил, все ок.
В интернете о таких случаях инфо мало. Народ ссылается на программку pg_filedump. Но что она выдает не очень понятно. И самое не понятное, что делать.
И еще, в каталоге куча файлов. В каком именно из них ошибка тоже не очень понятно.
-- Ок, файл нашел. А вот что с ним теперь делать, не ясно.
В общем HELP плиз!