Решил поставить utm5 на еще одну машину..
ранее таких проблем не было..
freebsd 9.2, сборка 5.2.1-008
при создании первого расчетного периода
реальная дата создания 08.02 дата начала 01.02 длина месяц
ID периода = 717263104
при создании первой шаблонной услуги ID услуги 678595214
при этом админка начинает жутко тупить(
в main.log
ERROR : Feb 08 20:41:10 2ac09100 DBCtx: <684502016> MySQL query failed:
ERROR : Feb 08 20:41:10 2ac09100 DBASQLError: MySQL query failed:
ERROR : Feb 08 20:41:10 2ac09100 DBCtx: Exception while doing SQL insert/update !
ERROR : Feb 08 20:51:52 2ac09100 DBCtx: <684502016> MySQL query failed:
ERROR : Feb 08 20:51:52 2ac09100 DBASQLError: MySQL query failed:
ERROR : Feb 08 20:51:52 2ac09100 DBCtx: Exception while doing SQL insert/update !
большие id в расчетных периодах и услугах
при старте ядра с пустой, только что созданной, базой
cat /netup/utm5/log/verificator.log
-- Verificator
-- You have to backup UTM5 database!
-- Affected tables list at the end of file
-- ERROR system discount period with id=1 not exist in the database
-- SQL DESC add system accounting period with id=1 and default settings
INSERT INTO discount_periods(id, start_date, end_date,canonical_len,periodic_type) VALUES('1','0','2000000000','2000000000','1');
-- ERROR system discount period with id=1 has incorrect fields
-- SQL DESC update discount period with id=1 to default settings
UPDATE discount_periods SET start_date='0', end_date='2000000000',canonical_len='2000000000',periodic_type='1',is_expired='0' WHERE id='1';
-- 2 errors
-- 0 warnings
-- affected tables: discount_periods
-- RESTART utm5_core!
cat /netup/utm5/log/verificator.log
-- Verificator
-- You have to backup UTM5 database!
-- Affected tables list at the end of file
-- ERROR system discount period with id=1 not exist in the database
-- SQL DESC add system accounting period with id=1 and default settings
INSERT INTO discount_periods(id, start_date, end_date,canonical_len,periodic_type) VALUES('1','0','2000000000','2000000000','1');
-- ERROR system discount period with id=1 has incorrect fields
-- SQL DESC update discount period with id=1 to default settings
UPDATE discount_periods SET start_date='0', end_date='2000000000',canonical_len='2000000000',periodic_type='1',is_expired='0' WHERE id='1';
-- 2 errors
-- 0 warnings
-- affected tables: discount_periods
-- RESTART utm5_core!