Phill
your problem is due to the use of a old redis. Please move to the latest 2.6 
version and everything will work

Regards Luca

On Jul 3, 2013, at 1:47 PM, Phill Thomas <[email protected]> wrote:

> Hi all,
> 
> I hope someone can help, I've just installed ntopng (latest build from svn - 
> build 6537) onto a box running Debian 6. 
> 
> My issue is that if I run ntopng with any DNS mode other then 3 (Don't decode 
> DNS responses and don't resolve numeric IPs) ntopng seems to fail to start, I 
> can get as far as the admin page after waiting circa 40 seconds but no 
> further.  If I also request ntopng to shutdown (Ctrl-C) it takes a long time 
> to stop and reports very few packets captured in the 'ProtoStats'.
> 
> Here are the commands I'm running and the different in the console output (if 
> it helps):
> 
> Running with the default DNS mode:
> 
> root@nfs0:/opt/ntopng# ./ntopng -m 176.74.176.64/27,176.74.177.128/26 -i 4 -v
> 03/Jul/2013 12:44:14 [Redis.cpp:39] Succesfully connected to Redis 64 bit 
> v.1.2.6
> 03/Jul/2013 12:44:14 [Ntop.cpp:387] Setting local networks to 
> 176.74.176.64/27,176.74.177.128/26
> 03/Jul/2013 12:44:14 [AddressResolution.cpp:129] Rule '176.74.176.64'/'27'
> 03/Jul/2013 12:44:14 [AddressResolution.cpp:129] Rule '176.74.177.128'/'26'
> 03/Jul/2013 12:44:14 [Prefs.cpp:435] WARNING: Config file 
> /var/tmp/ntopng-users.conf not found (it will be created)
> 03/Jul/2013 12:44:15 [PcapInterface.cpp:44] Reading packets from interface 
> eth3...
> 03/Jul/2013 12:44:15 [NetworkInterface.cpp:706] User changeod to nobody
> 03/Jul/2013 12:44:15 [HTTPserver.cpp:299] HTTP server listening on port 3000 
> [/opt/ntopng/httpdocs][/opt/ntopng/scripts]
> 03/Jul/2013 12:44:15 [main.cpp:143] Using RRD version 1.4.7
> 03/Jul/2013 12:44:15 [main.cpp:152] Working directory: /var/tmp
> 03/Jul/2013 12:44:15 [main.cpp:154] Scripts/HTML pages directory: /opt/ntopng
> 03/Jul/2013 12:44:15 [Ntop.cpp:120] Welcome to ntopng x86_64 v.1.0 
> ($Revision: 6537 $) - (C) 1998-13 ntop.org
> 03/Jul/2013 12:44:15 [PeriodicActivities.cpp:51] Started periodic activities 
> loop...
> 03/Jul/2013 12:44:15 [NetworkInterface.cpp:446] Started packet polling...
> ^C03/Jul/2013 12:44:42 [main.cpp:37] Shutting down...
> 03/Jul/2013 12:44:44 [ProtoStats.cpp:35] [IPv4]  14.54 KB/17.00 Packets
> 03/Jul/2013 12:44:44 [ProtoStats.cpp:35] [IPv6]  0 B/0.00 Packets
> 03/Jul/2013 12:44:44 [ProtoStats.cpp:35] [ARP]   0 B/0.00 Packets
> 03/Jul/2013 12:44:44 [ProtoStats.cpp:35] [MPLS]  0 B/0.00 Packets
> 03/Jul/2013 12:44:44 [ProtoStats.cpp:35] [Other] 0 B/0.00 Packets
> 03/Jul/2013 12:45:05 [NetworkInterface.cpp:131] Interface eth3 shutdown
> 03/Jul/2013 12:45:15 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> Segmentation fault
> root@nfs0:/opt/ntopng#
> 
> Running without DNS resolution:
> 
> root@nfs0:/opt/ntopng# ./ntopng -m 176.74.176.64/27,176.74.177.128/26 -i 4 -v 
> -n 3
> 03/Jul/2013 12:45:50 [Redis.cpp:39] Succesfully connected to Redis 64 bit 
> v.1.2.6
> 03/Jul/2013 12:45:50 [Ntop.cpp:387] Setting local networks to 
> 176.74.176.64/27,176.74.177.128/26
> 03/Jul/2013 12:45:50 [AddressResolution.cpp:129] Rule '176.74.176.64'/'27'
> 03/Jul/2013 12:45:50 [AddressResolution.cpp:129] Rule '176.74.177.128'/'26'
> 03/Jul/2013 12:45:50 [Prefs.cpp:435] WARNING: Config file 
> /var/tmp/ntopng-users.conf not found (it will be created)
> 03/Jul/2013 12:45:51 [PcapInterface.cpp:44] Reading packets from interface 
> eth3...
> 03/Jul/2013 12:45:51 [NetworkInterface.cpp:706] User changeod to nobody
> 03/Jul/2013 12:45:51 [HTTPserver.cpp:299] HTTP server listening on port 3000 
> [/opt/ntopng/httpdocs][/opt/ntopng/scripts]
> 03/Jul/2013 12:45:51 [main.cpp:143] Using RRD version 1.4.7
> 03/Jul/2013 12:45:51 [main.cpp:152] Working directory: /var/tmp
> 03/Jul/2013 12:45:51 [main.cpp:154] Scripts/HTML pages directory: /opt/ntopng
> 03/Jul/2013 12:45:51 [Ntop.cpp:120] Welcome to ntopng x86_64 v.1.0 
> ($Revision: 6537 $) - (C) 1998-13 ntop.org
> 03/Jul/2013 12:45:51 [PeriodicActivities.cpp:51] Started periodic activities 
> loop...
> 03/Jul/2013 12:45:51 [NetworkInterface.cpp:446] Started packet polling...
> 03/Jul/2013 12:45:51 [AddressResolution.cpp:218] Error resolution failure for 
> LTRIM dns.toresolve 0 1000
> GET dns.cache.176.74.177.144
> RPUSH [-2/Name or service not known/Success]
> 03/Jul/2013 12:45:51 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:45:52 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:45:52 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:45:52 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:45:53 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:45:53 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:45:53 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:45:54 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:45:54 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:45:54 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:45:55 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:45:55 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:45:55 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:45:56 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:45:56 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:45:56 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:45:57 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:45:57 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:45:57 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:45:58 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:45:58 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:45:58 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:45:59 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:45:59 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:45:59 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:46:00 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:46:00 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:46:00 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:46:01 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:46:01 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:46:01 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:46:02 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:46:02 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:46:02 [HTTPserver.cpp:239] [HTTP] /lua/network_load.lua 
> [/opt/ntopng/scripts/lua/network_load.lua]
> 03/Jul/2013 12:46:03 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:46:03 [NetworkInterface.cpp:673] Purging idle hosts
> ^C03/Jul/2013 12:46:03 [main.cpp:37] Shutting down...
> 03/Jul/2013 12:46:04 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:46:04 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:46:05 [NetworkInterface.cpp:649] Purging idle flows
> 03/Jul/2013 12:46:05 [NetworkInterface.cpp:673] Purging idle hosts
> 03/Jul/2013 12:46:05 [ProtoStats.cpp:35] [IPv4]  3.61 MB/8.47 K Packets
> 03/Jul/2013 12:46:05 [ProtoStats.cpp:35] [IPv6]  0 B/0.00 Packets
> 03/Jul/2013 12:46:05 [ProtoStats.cpp:35] [ARP]   3.76 KB/64.00 Packets
> 03/Jul/2013 12:46:05 [ProtoStats.cpp:35] [MPLS]  0 B/0.00 Packets
> 03/Jul/2013 12:46:05 [ProtoStats.cpp:35] [Other] 654 B/9.00 Packets
> 03/Jul/2013 12:46:05 [NetworkInterface.cpp:131] Interface eth3 shutdown
> 03/Jul/2013 12:46:05 [HTTPserver.cpp:310] HTTP server terminated
> 03/Jul/2013 12:46:05 [AddressResolution.cpp:185] Address resolution stats [0 
> resolved][1 failures]
> root@nfs0:/opt/ntopng# 
> 
> I hope someone can help?
> 
> Thanks in advance,
> 
> Phill Thomas
> _______________________________________________
> Ntop-dev mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to