#0
by darksmoke
Добрый день Выпал Postgresql и больше не запускается, в логах LOG: loaded library "online_analyze" LOG: loaded library "plantuner" LOG: database system was shut down at 2015-04-09 09:11:44 EEST LOG: could not link file "pg_xlog/xlogtemp.79221" to "pg_xlog/00000001000000000000004F" (initialization of log file 0, segment 79): Operation not permitted FATAL: could not open file "pg_xlog/00000001000000000000004F" (log file 0, segment 79): No such file or directory LOG: startup process (PID 79221) exited with exit code 1 LOG: aborting startup due to startup process failure LOG: loaded library "online_analyze" LOG: loaded library "plantuner" LOG: database system was shut down at 2015-04-09 09:11:44 EEST LOG: could not link file "pg_xlog/xlogtemp.79344" to "pg_xlog/00000001000000000000004F" (initialization of log file 0, segment 79): Operation not permitted FATAL: could not open file "pg_xlog/00000001000000000000004F" (log file 0, segment 79): No such file or directory LOG: startup process (PID 79344) exited with exit code 1 LOG: aborting startup due to startup process failure Зашел в эту папку и действительно нету файла 00000001000000000000004F. Не могу понять почему так получилось. Работало, а потом хлоп и все, не работает. Как решить эту проблему, как запустить Постгрес?
#6
by darksmoke
Диск нормальный проверил. И вот опять такая же проблема (( есть еще идеи почему такое может происходить?
#11
by darksmoke
сейчас смотрю в лог и вижу такие записи, что они значат? LOG: autovacuum: found orphan temp table "pg_temp_4"."tt2" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_4"."tt3" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_4"."tt4" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_8"."tt1" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_8"."tt2" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_8"."tt3" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_8"."tt4" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_8"."tt5" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_5"."tt1" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_5"."tt2" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_5"."tt3" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_5"."tt4" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_5"."tt5" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_6"."tt1" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_6"."tt2" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_6"."tt3" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_6"."tt4" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_7"."tt1" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_7"."tt2" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_7"."tt3" in database "delta"
#21
by darksmoke
О снова вылетело, уже третий раз за сегодня вот что в логах, не могу понять как побороть LOG: autovacuum: found orphan temp table "pg_temp_8"."tt4" in database "delta" LOG: autovacuum: found orphan temp table "pg_temp_8"."tt5" in database "delta" LOG: could not link file "pg_xlog/xlogtemp.104605" to "pg_xlog/000000010000000000000051" (initialization of log file 0, segment 81): Operation not permitted STATEMENT: create temporary table tt4 (_C_1RRef bytea,_C_2 bytea,_C_3 boolean,_C_4 timestamp,_C_5 timestamp,_C_6 mvarchar,_C_7 boolean,_C_8RRef bytea,_C_9 numeric(10,2),_C_10 numeric(10,2),_C_11 numeric(10,2),_C_12 mvarchar,_C_13 numeric(10,2),_C_14 numeric(10,2),_C_15RRef bytea,_C_16 mvarchar,_C_17 mvarchar,_C_18 mvarchar,_C_19 mvarchar,_C_20 mvarchar,_C_21 mvarchar,_C_22 mvarchar,_C_23 mvarchar,_C_24RRef bytea,_C_25RRef bytea,_C_26 numeric(10,0),_C_27RRef bytea,_C_28RRef bytea,_C_29RRef bytea,_C_30 mvarchar,_C_31RRef bytea,_C_32RRef bytea,_C_33 mvarchar,_C_34 mvarchar,_C_35 mvarchar,_C_36 mvarchar,_C_37 mvarchar,_C_38 mvarchar,_C_39 mvarchar,_C_40 timestamp,_C_41 timestamp,_C_42RRef bytea,_C_43RRef bytea,_C_44 mvarchar,_C_45RRef bytea,_C_46RRef bytea,_C_47RRef bytea,_C_48 timestamp,_C_49 timestamp,_C_50RRef bytea,_C_51RRef bytea,_C_52RRef bytea,_C_53 boolean,_C_54RRef bytea,_C_55 boolean,_C_56 mvarchar,_C_57 mvarchar,_C_58RRef bytea,_C_59 numeric(13,0),_C_60 mvarchar,_C_61 mvarchar,_C_62 numeric(10,0),_C_63 numeric(10,0),_C_64 numeric(10,0),_C_65 numeric(10,0),_C_66 mvarchar,_C_67 mvarchar,_C_68 mvarchar,_C_69RRef bytea,_C_70 numeric(10,2),_C_71RRef bytea,_C_72RRef bytea,_C_73 numeric(10,2),_C_74 numeric(10,2),_C_75 numeric(12,6),_C_76 numeric(6,2),_C_77 mvarchar,_C_78 mvarchar,_C_79 mvarchar,_C_80 boolean,_C_81 boolean,_C_82 boolean,_C_83 boolean,_C_84RRef bytea,_C_85RRef bytea,_C_86 numeric(10,2),_C_87 numeric(12,6),_C_88RRef bytea,_C_89 numeric(18,12),_C_90RRef bytea,_C_91RRef bytea,_C_92RRef bytea,_C_93 numeric(3,0),_C_94RRef bytea,_C_95RRef bytea,_C_96RRef bytea,_C_97RRef bytea,_C_98RRef bytea,_C_99RRef bytea,_C_100 timestamp,_C_101RRef bytea,_TTC_1 bytea,_TTC_2 timestamp,_TTC_3RRef bytea,SDBL_IDENTITY serial4) WITHOUT OIDS PANIC: could not open file "pg_xlog/000000010000000000000051" (log file 0, segment 81): No such file or directory STATEMENT: create temporary table tt4 (_C_1RRef bytea,_C_2 bytea,_C_3 boolean,_C_4 timestamp,_C_5 timestamp,_C_6 mvarchar,_C_7 boolean,_C_8RRef bytea,_C_9 numeric(10,2),_C_10 numeric(10,2),_C_11 numeric(10,2),_C_12 mvarchar,_C_13 numeric(10,2),_C_14 numeric(10,2),_C_15RRef bytea,_C_16 mvarchar,_C_17 mvarchar,_C_18 mvarchar,_C_19 mvarchar,_C_20 mvarchar,_C_21 mvarchar,_C_22 mvarchar,_C_23 mvarchar,_C_24RRef bytea,_C_25RRef bytea,_C_26 numeric(10,0),_C_27RRef bytea,_C_28RRef bytea,_C_29RRef bytea,_C_30 mvarchar,_C_31RRef bytea,_C_32RRef bytea,_C_33 mvarchar,_C_34 mvarchar,_C_35 mvarchar,_C_36 mvarchar,_C_37 mvarchar,_C_38 mvarchar,_C_39 mvarchar,_C_40 timestamp,_C_41 timestamp,_C_42RRef bytea,_C_43RRef bytea,_C_44 mvarchar,_C_45RRef bytea,_C_46RRef bytea,_C_47RRef bytea,_C_48 timestamp,_C_49 timestamp,_C_50RRef bytea,_C_51RRef bytea,_C_52RRef bytea,_C_53 boolean,_C_54RRef bytea,_C_55 boolean,_C_56 mvarchar,_C_57 mvarchar,_C_58RRef bytea,_C_59 numeric(13,0),_C_60 mvarchar,_C_61 mvarchar,_C_62 numeric(10,0),_C_63 numeric(10,0),_C_64 numeric(10,0),_C_65 numeric(10,0),_C_66 mvarchar,_C_67 mvarchar,_C_68 mvarchar,_C_69RRef bytea,_C_70 numeric(10,2),_C_71RRef bytea,_C_72RRef bytea,_C_73 numeric(10,2),_C_74 numeric(10,2),_C_75 numeric(12,6),_C_76 numeric(6,2),_C_77 mvarchar,_C_78 mvarchar,_C_79 mvarchar,_C_80 boolean,_C_81 boolean,_C_82 boolean,_C_83 boolean,_C_84RRef bytea,_C_85RRef bytea,_C_86 numeric(10,2),_C_87 numeric(12,6),_C_88RRef bytea,_C_89 numeric(18,12),_C_90RRef bytea,_C_91RRef bytea,_C_92RRef bytea,_C_93 numeric(3,0),_C_94RRef bytea,_C_95RRef bytea,_C_96RRef bytea,_C_97RRef bytea,_C_98RRef bytea,_C_99RRef bytea,_C_100 timestamp,_C_101RRef bytea,_TTC_1 bytea,_TTC_2 timestamp,_TTC_3RRef bytea,SDBL_IDENTITY serial4) WITHOUT OIDS LOG: server process (PID 104605) was terminated by signal 6: Aborted DETAIL: Failed process was running: create temporary table tt4 (_C_1RRef bytea,_C_2 bytea,_C_3 boolean,_C_4 timestamp,_C_5 timestamp,_C_6 mvarchar,_C_7 boolean,_C_8RRef bytea,_C_9 numeric(10,2),_C_10 numeric(10,2),_C_11 numeric(10,2),_C_12 mvarchar,_C_13 numeric(10,2),_C_14 numeric(10,2),_C_15RRef bytea,_C_16 mvarchar,_C_17 mvarchar,_C_18 mvarchar,_C_19 mvarchar,_C_20 mvarchar,_C_21 mvarchar,_C_22 mvarchar,_C_23 mvarchar,_C_24RRef bytea,_C_25RRef bytea,_C_26 numeric(10,0),_C_27RRef bytea,_C_28RRef bytea,_C_29RRef bytea,_C_30 mvarchar,_C_31RRef bytea,_C_32RRef bytea,_C_33 mvarchar,_C_34 mvarchar,_C_35 mvarchar,_C_36 mvarchar,_C_37 mvarchar,_C_38 mvarchar,_C_39 mvarchar,_C_40 timestamp,_C_41 timestamp,_C_42RRef bytea,_C_43RRef bytea,_C_44 mvarchar,_C_45RRef bytea,_C_46RRef bytea,_C_47RRef bytea,_C_48 timestamp,_C_49 timestamp,_C_50RRef bytea,_C_51RRef bytea,_C_52RRef bytea,_C_53 boolean,_C_54RRef bytea,_C_55 boolean,_C_56 mvarchar,_C_57 mvarchar,_C_58RRef bytea,_C_59 numeric(13,0),_C_60 mvarchar,_C_61 mva LOG: terminating any other active server processes WARNING: terminating connection because of crash of another server process DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. HINT: In a moment you should be able to reconnect to the database and repeat your command. WARNING: terminating connection because of crash of another server process DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. HINT: In a moment you should be able to reconnect to the database and repeat your command. WARNING: terminating connection because of crash of another server process DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. HINT: In a moment you should be able to reconnect to the database and repeat your command. WARNING: terminating connection because of crash of another server process DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. HINT: In a moment you should be able to reconnect to the database and repeat your command. LOG: all server processes terminated; reinitializing LOG: database system was interrupted; last known up at 2015-04-09 13:46:29 EEST LOG: database system was not properly shut down; automatic recovery in progress LOG: redo starts at 0/50D71920 LOG: could not open file "pg_xlog/000000010000000000000051" (log file 0, segment 81): No such file or directory LOG: redo done at 0/50FFFF40 LOG: last completed transaction was at log time 2015-04-09 13:50:01.700903+03 LOG: could not link file "pg_xlog/xlogtemp.106142" to "pg_xlog/000000010000000000000051" (initialization of log file 0, segment 81): Operation not permitted PANIC: could not open file "pg_xlog/000000010000000000000051" (log file 0, segment 81): No such file or directory LOG: startup process (PID 106142) was terminated by signal 6: Aborted LOG: aborting startup due to startup process failure
#22
by rsv
Не работаю с постгри но по сочетанию create temporary table tt4 вероятно курить временные таблицы .
#24
by darksmoke
Ну лечить я это научился, но блин оно ж падает по 5 раз в день... Не могу понять причину. Подскажите куда копать.
#31
by ansh15
Была такая фигня один раз, около 4-х лет назад, наверное. PostgreSQL то ли 8.4.3, то ли 9.0.3. При соединении с базой одного из пользователей начинали валиться эти самые orphan temp table. Причем, если соединятся с этой же машины под этим же именем к другим базам, на на других базах начиналось то же самое. Решилось удалением кэша на этой машине, на сервере, ну и на других рабочих местах тоже, для профилактики. Больше с подобным не сталкивался. Незадолго до этого обновили платформу, это в районе 8.2.14-8.2.15 было...
#33
by darksmoke
Люди, ну не как не могу решить проблему, помогите пожалуйста. Брал postgresql Не ка не могу понять в чем дело, уже боюсь выходить вечером на улицу. =)
#34
by darksmoke
Постоянно выпадает и все тут LOG: could not link file "pg_xlog/xlogtemp.79221" to "pg_xlog/00000001000000000000004F" (initialization of log file 0, segment 79): Operation not permitted FATAL: could not open file "pg_xlog/00000001000000000000004F" (log file 0, segment 79): No such file or directory
#36
by Garikk
помоему стоит железо поменять, не тестировать, не искать проблемы, а просто поменять и посмотреть что получится
#37
by dmrjan
Можешь посмотреть видео от Павла Бородина (админ Yandex) В нем он рассматривает достаточно подробно схему работы PostgreSQL.
Тэги: Unix / Linux
Ответить:
Комментарии доступны только авторизированным пользователям
Похожие вопросы 1С
- СУБД PostgreSQL для Windows
- Семинар «Использование PostgreSQL. Особенности применения PostgreSQL в связ
- Не стартует под Windows Server 2003
- PostgreSql и 1С
- PostgreSQL Создание новой базы
- Агент сервера 1с , после переименования сервера(комп такой) но стартует! в чём дело ?
- Как увеличить время ожидания блокировки в PostgreSQL?
- 8.2.14.259 сервер под линух стартует только от рута
- Не стартует ОС с IDE диска.
В этой группе 1С
- Обновление конфигурации 1С:Предприятие 8.2
- Программно добавить на панель табличное поле и вызвать форму списка
- Отладка синхронизации данных УТ11.1 - БП3.0
- Проверка контрагентов ФНС - как проверить, что ошибается не 1С, а сама ФНС?
- Ошибка при выполнении с информационной базой 1С 8.3
- УТ Продажа с нулевой ценой
- Получить имя временного файла - как же оно работает?
- 1C Розница Акциз + ФР Мария-301МТМ
- в клиент-серверном варианте не работает "В (&СписокСчетов)" в тексте запроса
- Бух 3.0 (УСН 15%) Некоторые расходы не принимаются к вычету, почему?
- УПП 1.3 Страховые взносы - Допустимый, подкласс условий труда - 2.
- Начальные остатки по 69 счету в ЕРП 2.0 (УП 2.0, ERP 2.0)
- 1С ERP производство без планирования
- Почему не ищет по полям ввода по строке? УФ, 8.2
- Выгрузка счет-фактур для формирования декларации.
- Бюджетирование в УПП (Бюджет расходов организации)
- Подключение OLE в регламентном задании на 64 битном сервере
- Автоматическое изменение реквизита в документе и его перепроведение
- Знатокам Бухучета : как выписать счет-фактуру без реализации в БП 3.0
- Как объединить две декларации по ндс в системе налогоплательщик юл?