When using ntopng in Centos 6.x and starting it from the command line I do not get a log file, and in fact, get an error about the log being unable to be created in Windows\Temp
Starting command: /usr/local/bin/ntopng -i eth1 -e -n 3 -d /var/lib/ntopng -p /var/lib/ntopng/ports.txt -U ntop -m 10.10.25.0/24 29/Apr/2014 17:35:16 [Prefs.cpp:408] ERROR: Unable to create log C:\Windows\Temp/ntopng.log 29/Apr/2014 17:35:16 [Ntop.cpp:461] Setting local networks to 10.10.25.0/24 29/Apr/2014 17:35:17 [PcapInterface.cpp:54] Reading packets from interface eth1... 29/Apr/2014 17:35:17 [Ntop.cpp:568] Registered interface eth1 [id: 0] 29/Apr/2014 17:35:17 [Utils.cpp:235] User changed to ntop 29/Apr/2014 17:35:17 [Ntop.cpp:435] Parent process is exiting (this is normal) ls -al /var/lib |grpe ntopng drwxrwxr-x. 4 ntop ntop 4096 Apr 29 17:35 ntopng data_dir is getting defined (note no error about "Unable to locate data dir") but it won't write a log. yum info ntopng Loaded plugins: fastestmirror, presto, security Loading mirror speeds from cached hostfile * base: centos-distro.cavecreek.net * epel: less.cogeco.net * extras: mirror.acsnet.com * updates: mirror.lug.udel.edu Installed Packages Name : ntopng Arch : x86_64 Version : 1.1_6932 Release : 6932 Size : 4.4 M Repo : installed >From repo : ntop Summary : Web-based traffic monitoring URL : http://www.ntop.org/ License : GPL Description : Web-based traffic monitoring 29/Apr/2014 17:35:16 [Prefs.cpp:408] ERROR: Unable to create log C:\Windows\Temp/ntopng.log 29/Apr/2014 17:35:16 [Ntop.cpp:461] Setting local networks to 10.10.25.0/24 29/Apr/2014 17:35:17 [PcapInterface.cpp:54] Reading packets from interface eth1... 29/Apr/2014 17:35:17 [Ntop.cpp:568] Registered interface eth1 [id: 0] 29/Apr/2014 17:35:17 [Utils.cpp:235] User changed to ntop 29/Apr/2014 17:35:17 [Ntop.cpp:435] Parent process is exiting (this is normal)
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
