в общем установил utm 5-2.1.005 win2003. ситуация была такая: в настройках raw_prefix была пустая строка по умолчанию. файл с:\program files\netup\utm5\db\iptraffic_raw.dbs увеличивался. однако в отчётах (основной и по трафику) нули, детальный отчёт даже нули не показывал.
при этом:
в debug.log
Код: Выделить всё
?Debug : Dec 05 15:45:37 BusPeriodic: Wait result:10060
?Debug : Dec 05 15:45:37 BusPeriodic: 9 events remain
?Debug : Dec 05 15:45:37 BusPeriodic: first event time_t 1291553137
?Debug : Dec 05 15:45:37 BusPeriodic: i am going to wait for 0 sec...
?Debug : Dec 05 15:45:37 BusPeriodic: Wait result:10060
?Debug : Dec 05 15:45:37 BusPeriodic: periodic type discount_flow for 5
?Debug : Dec 05 15:45:37 BusPeriodic: 9 events remain
?Debug : Dec 05 15:45:37 BusPeriodic: first event time_t 1291553139
?Debug : Dec 05 15:45:37 BusPeriodic: i am going to wait for 2 sec...
?Debug : Dec 05 15:45:39 BusPeriodic: Wait result:10060
?Debug : Dec 05 15:45:39 BusPeriodic: 9 events remain
?Debug : Dec 05 15:45:39 BusPeriodic: first event time_t 1291553139
?Debug : Dec 05 15:45:39 BusPeriodic: i am going to wait for 0 sec...
?Debug : Dec 05 15:45:39 BusPeriodic: Wait result:10060
?Debug : Dec 05 15:45:39 BusPeriodic: periodic type discount_flow for 7
?Debug : Dec 05 15:45:39 BusPeriodic: 9 events remain
?Debug : Dec 05 15:45:39 BusPeriodic: first event time_t 1291553144
?Debug : Dec 05 15:45:39 BusPeriodic: i am going to wait for 5 sec...
?Debug : Dec 05 15:45:41 FW@rfw_win: Ping reply received
?Debug : Dec 05 15:45:44 BusPeriodic: Wait result:10060
?Debug : Dec 05 15:45:44 BusPeriodic: 9 events remain
?Debug : Dec 05 15:45:44 BusPeriodic: first event time_t 1291553144
?Debug : Dec 05 15:45:44 BusPeriodic: i am going to wait for 0 sec...
?Debug : Dec 05 15:45:44 BusPeriodic: Wait result:10060
?Debug : Dec 05 15:45:44 BusPeriodic: periodic type discount_flow for 6
?Debug : Dec 05 15:45:44 BusPeriodic: 9 events remain
?Debug : Dec 05 15:45:44 BusPeriodic: first event time_t 1291554489
?Debug : Dec 05 15:45:44 BusPeriodic: i am going to wait for 1345 sec...
?Debug : Dec 05 15:46:11 FW@rfw_win: Ping reply received
?Debug : Dec 05 15:46:41 FW@rfw_win: Ping reply received
?Debug : Dec 05 15:47:11 FW@rfw_win: Ping reply received
?Debug : Dec 05 15:47:14 DBAGiga: Commiting raw data ...
?Debug : Dec 05 15:47:41 FW@rfw_win: Ping reply received
?Debug : Dec 05 15:48:11 FW@rfw_win: Ping reply received
?Debug : Dec 05 15:48:27 BusClassif: aggregation interval reached for slink <0> ip <0> tclass <0>
?Debug : Dec 05 15:48:27 UTM5 DBA: DBAccess instance created
?Debug : Dec 05 15:48:27 DBA:Ctx: Looking for free context
?Debug : Dec 05 15:48:27 DBCtx: SQL query: BEGIN
?Debug : Dec 05 15:48:27 DBCtx: DB transaction begin
?Debug : Dec 05 15:48:27 DBCtx: SQL query: INSERT INTO discount_transactions_all(account_id,incoming_rest,outgoing_rest,discount,discount_without_tax,discount_with_tax,service_id,service_type,slink_id,discount_date,comment,discount_period_id) VALUES('0','0','0','0','0','0','0','3','0','1291553307','IP discount','0')
?Debug : Dec 05 15:48:27 DBCtx: SQL query: INSERT INTO discount_transactions_iptraffic_all(id,account_id,discount,discount_with_tax,service_id,slink_id,discount_date,discount_date_hour,discount_date_day,discount_date_month,t_class,base_cost,ipid,bytes,discount_period_id) VALUES('2129','0','0','0','0','0','1291553307','1291550400','1291496400','1291150800','0','0','0','1324610','0')
?Debug : Dec 05 15:48:27 DBCtx: SQL query: COMMIT
?Debug : Dec 05 15:48:27 DBCtx: DB transaction commit
?Debug : Dec 05 15:48:27 DBA:Ctx: Pushing back free context
Код: Выделить всё
Notice: Dec 03 08:10:34 DBAGiga: Create new iptraffic raw file. File size:100007936 Bytes
Notice: Dec 03 08:10:34 DBAGiga: Opening Gigabase storage: db\iptraffic_raw.dbs
Info : Dec 03 08:53:02 RPCServer@0.0.0.0: Client connecting: 127.0.0.1:1262
Info : Dec 03 08:53:02 RPCConn: Connection from: 127.0.0.1:1262
Info : Dec 03 08:53:02 RPCConn: Card user <init@127.0.0.1> is connecting
Info : Dec 03 08:53:02 RPCConn<init@127.0.0.1>: Access granted to <init@127.0.0.1> (UID: -1)
Warn : Dec 03 08:53:02 RPCConn<init@127.0.0.1>: wsagetlasterror: 0
Warn : Dec 03 08:53:02 RPCConn<init@127.0.0.1>: Session closed
Info : Dec 03 08:53:03 RPCServer@0.0.0.0: Client connecting: 127.0.0.1:1264
Info : Dec 03 08:53:03 RPCConn: Connection from: 127.0.0.1:1264
Info : Dec 03 08:53:03 RPCConn: Card user <init@127.0.0.1> is connecting
Info : Dec 03 08:53:03 RPCConn<init@127.0.0.1>: Access granted to <init@127.0.0.1> (UID: -1)
Warn : Dec 03 08:53:03 RPCConn<init@127.0.0.1>: wsagetlasterror: 0
Warn : Dec 03 08:53:03 RPCConn<init@127.0.0.1>: Session closed
Warn : Dec 03 08:53:05 RPCConn<init@127.0.0.1>: wsagetlasterror: 0
Warn : Dec 03 08:53:05 RPCConn<init@127.0.0.1>: Session closed
Notice: Dec 03 12:05:38 DBAGiga: Create new iptraffic raw file. File size:100000128 Bytes
Notice: Dec 03 12:05:38 DBAGiga: Opening Gigabase storage: db\iptraffic_raw.dbs
Notice: Dec 03 14:52:55 DBAGiga: Create new iptraffic raw file. File size:100000128 Bytes
Notice: Dec 03 14:52:55 DBAGiga: Opening Gigabase storage: db\iptraffic_raw.dbs
Notice: Dec 03 17:11:24 DBAGiga: Create new iptraffic raw file. File size:100000128 Bytes
Notice: Dec 03 17:11:24 DBAGiga: Opening Gigabase storage: db\iptraffic_raw.dbs
Notice: Dec 03 21:22:49 DBAGiga: Create new iptraffic raw file. File size:100000128 Bytes
Notice: Dec 03 21:22:49 DBAGiga: Opening Gigabase storage: db\iptraffic_raw.dbs
Notice: Dec 04 10:44:08 DBAGiga: Create new iptraffic raw file. File size:100000128 Bytes
Notice: Dec 04 10:44:09 DBAGiga: Opening Gigabase storage: db\iptraffic_raw.dbs
Notice: Dec 04 17:43:43 DBAGiga: Create new iptraffic raw file. File size:100000128 Bytes
Notice: Dec 04 17:43:43 DBAGiga: Opening Gigabase storage: db\iptraffic_raw.dbs
Notice: Dec 05 02:12:15 DBAGiga: Create new iptraffic raw file. File size:100000128 Bytes
Notice: Dec 05 02:12:15 DBAGiga: Opening Gigabase storage: db\iptraffic_raw.dbs
Notice: Dec 05 17:39:47 DBAGiga: Create new iptraffic raw file. File size:100000128 Bytes
Notice: Dec 05 17:39:48 DBAGiga: Opening Gigabase storage: db\iptraffic_raw.dbs
при этом:
в debug.log
Код: Выделить всё
*CRIT : Dec 06 17:47:40 DBAGiga: Unable to open ђ‡K for writing, check directory is exists and writable
*CRIT : Dec 06 17:47:40 DBAGiga: Unable to store raw iptraffic: no database found
Notice: Dec 06 17:47:40 DBAGiga: Opening Gigabase storage:
\iptraffic_raw.dbs
и при всём при этом в verificator.log изначально
Код: Выделить всё
-- Verificator
-- You have to backup UTM5 database!
-- Affected tables list at the end of file
-- ERROR entry in traf_serv_tclasses, tclass_id=0, tst_id=1. tclass not exists
-- SQL DESC del entry in traf_serv_tclasses
DELETE FROM traf_serv_tclasses WHERE tclass_id=0 AND tst_id=1;
-- 1 errors
-- 0 warnings
-- affected tables: traf_serv_tclasses
P.S.
Если кто желает помочь и будут нужны дополнительные сведения с моей строны, говорите.