5.3-003-update15 ошибка архивации

Технические вопросы по UTM 5.0
Ответить
xxxupg
Сообщения: 457
Зарегистрирован: Вс май 02, 2010 10:00

5.3-003-update15 ошибка архивации

Сообщение xxxupg »

поставил utn 5.3-003-update15
после архивации не читает данные из архивов, выдавая:

Код: Выделить всё

Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: 
							  index index_25226c87031267120f48e4d2a80fff72 on table arc2_15042016_dhs_sessions_detail not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: 
							  index index_24247dc217bfec3ceaf294cc46949837 on table arc2_15042016_dhs_sessions_log not exist
							  index index_64791de5ab4ea85459319893269706ea on table arc2_15042016_dhs_sessions_log not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: 
							  index index_92e08f5e788b4bcd2bd08d642d1f16f2 on table arc2_15042016_discount_transactions_all not exist
							  index index_9d1685cdf3e0a9d70f4fec0aba516c96 on table arc2_15042016_discount_transactions_all not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: 
							  index index_71be80c932a1d596a863a4f87ba05a03 on table arc2_15042016_discount_transactions_iptraffic_all not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: table arc2_15042016_invoice_entry contain additional columns
							  column date type UNDEFINED default 0 difference : additional column
							  index index_f5c13400f6c8eb3689044226d5b9a265 on table arc2_15042016_invoice_entry not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: table arc2_15042016_invoice_entry_details is different
							  column entry_id type SQL_INTEGER default 0 not null  difference : default
							  column type type SQL_INTEGER default 0 not null  difference : default
							  column value type SQL_INTEGER default 0 not null  difference : default
							  index index_7f025766d1e19f86998a178fe5101326 on table arc2_15042016_invoice_entry_details not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: 
							  index index_d875d2e79b84e0165fb2e50bc53ce02d on table arc2_15042016_invoices not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: 
							  index index_b573802dfa4b5413092a1af5ff31c0b2 on table arc2_15042016_payment_transactions not exist
							  index index_204db493907b7f4ddf2336ae78db201d on table arc2_15042016_payment_transactions not exist
							  index index_b37e82d403f2755b32e4baece65863a7 on table arc2_15042016_payment_transactions not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: table arc2_15042016_tel_sessions_detail contain additional columns
							  column charge_type type SQL_INTEGER default 0 not null  difference : default
							  column recv_date type UNDEFINED default 0 difference : additional column
							  column account_id type UNDEFINED default 0 difference : additional column
							  column disc_per_id type UNDEFINED default 0 difference : additional column
							  column slink_id type UNDEFINED default 0 difference : additional column
							  index index_c35611f93e1dcb1ab505cb1715d5941b on table arc2_15042016_tel_sessions_detail not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: 
							  index index_4e9894f128bcd2d7c1bf9c5dfa80c261 on table arc2_15042016_tel_sessions_log not exist
							  index index_0a6b597fd01af47968faa8fa4d5c3f19 on table arc2_15042016_tel_sessions_log not exist
							  index index_595a200705c6daa334d1e96e32583ea3 on table arc2_15042016_tel_sessions_log not exist
							  index uniq_01ffee879b548a35c4b8de5131184026 on table arc2_15042016_tel_sessions_log not exist
Apr 15 14:50:28  ERROR : 1d18df8 DB schema verifier: table arc2_15042016_user_log is different
							  column user_id type SQL_INTEGER default 0 not null  difference : default
							  column date type SQL_INTEGER default 0 not null  difference : default
							  column who type SQL_INTEGER default 0 not null  difference : default

xxxupg
Сообщения: 457
Зарегистрирован: Вс май 02, 2010 10:00

Сообщение xxxupg »

неужели если в таблице не указан index оно вообще не будет работать?

adeep
Сообщения: 79
Зарегистрирован: Пт июн 24, 2005 18:59

Сообщение adeep »

Та же проблема - после первого применения утилиты db_archive принципиально не читает старые архивные таблицы кроме своей же созданной.
В логах дебуга - пусто. После запроса из таблицы archives идет сразу запрос или из созданной утилитой таблицы или из основной. Наличие старых архивов не признает

xxxupg
Сообщения: 457
Зарегистрирован: Вс май 02, 2010 10:00

Сообщение xxxupg »

ручками доправил то что ему не нравилось в базах и всё запустилось...

banec
Сообщения: 269
Зарегистрирован: Вт сен 11, 2007 09:06

Сообщение banec »

а что доправили то?

xxxupg
Сообщения: 457
Зарегистрирован: Вс май 02, 2010 10:00

Сообщение xxxupg »

индексы из ошибок вставил в таблицы

adeep
Сообщения: 79
Зарегистрирован: Пт июн 24, 2005 18:59

Сообщение adeep »

Мне добавление индексов не помогло :(

xxxupg
Сообщения: 457
Зарегистрирован: Вс май 02, 2010 10:00

Сообщение xxxupg »

если перезапустить ядро ошибки какие пишет?

adeep
Сообщения: 79
Зарегистрирован: Пт июн 24, 2005 18:59

Сообщение adeep »

Разница в таблицах - в значениях по умолчанию. Но эта разница есть и в тех таблицах, которые делал db_archiver.
Ядро просто считает что кроме последних таблиц, созданных db_archiver, других архиваций не было.

Такое ощущение что где-то еще есть переменная, в которой хранится дата начала архивации этой утилитой.

Ответить