Барагоз Posted October 20, 2012 Posted October 20, 2012 (edited) Не могу заставить нормально работать NFGroup на Windows. При запуске в базу агрегированную инфу прекрасно добавляет, затем висит, пока не снимешь вручную. В логе следующее: Sat Oct 20 22:52:25 2012 ctlthr : ---- begin ---- Sat Oct 20 22:52:25 2012 ctlthr : NFgroup v.2010071101 (Free) compiled @ x86-Windows-6.0 (C) OOO Sat Oct 20 22:52:25 2012 ctlthr : Main config path : nfgroup.conf Sat Oct 20 22:52:25 2012 ctlthr : Scheme config path : C:\netflow\schemes.conf Sat Oct 20 22:52:25 2012 ctlthr : Db config path : C:\netflow\db.conf Sat Oct 20 22:52:25 2012 ctlthr : Input directory fullpath: D:\netflow\out.1 Sat Oct 20 22:52:25 2012 ctlthr : Configured schemes number : 5 [ SourceNode [0], DestNode [1], HostMatrix [2], RawFlows [3], DetailASMatrix [4] ] Sat Oct 20 22:52:25 2012 ctlthr : Current aggregation scheme : HostMatrix [2] Sat Oct 20 22:52:25 2012 ctlthr : Use statistics : 0 Sat Oct 20 22:52:25 2012 ctlthr : db_config[db_host] : localhost Sat Oct 20 22:52:25 2012 ctlthr : db_config[db_name] : netflower Sat Oct 20 22:52:25 2012 ctlthr : db_config[db_user] : netflower Sat Oct 20 22:52:25 2012 ctlthr : db_config[db_password] : *** Sat Oct 20 22:52:25 2012 ctlthr : Connecting to database ... Sat Oct 20 22:52:25 2012 ctlthr : Connected succesfully Sat Oct 20 22:52:25 2012 ctlthr : Source directory files number : 2 Sat Oct 20 22:52:25 2012 thr 0 : Processing source file number 1 of 2 Sat Oct 20 22:52:25 2012 thr 0 : Opening source file : ***.20121017230001-20121018000001 Sat Oct 20 22:52:25 2012 thr 0 : KeySize[8] : ValSize[16] : DataSize[46] Sat Oct 20 22:52:25 2012 thr 0 : Init cache ... Sat Oct 20 22:52:25 2012 thr 0 : Init cache finished Sat Oct 20 22:52:25 2012 thr 0 : Inserting data ... Sat Oct 20 22:52:25 2012 thr 0 : Executing SQL : CREATE table netflow (begin_datetime timestamp(14), end_datetime timestamp(14), source_device varchar(15), source_addr varchar(15), dest_addr varchar(15), packets INT, octets BIGINT, flows INT ) Sat Oct 20 22:52:29 2012 thr 0 : Inserting data finished Sat Oct 20 22:52:29 2012 thr 0 : Dumping data Содержимое NFgroup.conf вот: scheme_config_fullpath = "C:\netflow\schemes.conf" input_dir_name = "D:\netflow\out.1" output_dir_name = "D:\netflow\out.2" log_file_name = "D:\netflow\log\NFgroup.log" threads_number = 1 max_arows_number = 5000000 aggregation_scheme = "HostMatrix" compression_type = bzip2 compression_level = 9 storage_driver = mysql db_config_fullpath = "C:\netflow\db.conf" В out.2 создает файл с именем таким же, как в out.1, размером 0 байт, ничего в него не пишет. bzip2 установлен, в переменную среды PATH путь до него прописан... Не понимаю, что нужно еще. Edited October 20, 2012 by Барагоз Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.