Dpto. Datos Television Costa Blanca <datos <at> tvt-datos.es> writes:

> 
> Hi Daniel,
> 
> Run it with gdb for debug and trace information.
> 
> How to?
> 
> sudo apt-get install gdb
> then
> 
> # sudo gdb ntopng
> run /etc/ntopng.conf (<-- Im using ntopng config file, if you use 
> directly the options in command line, do run with the ntopng options. 
> run -i eth0 -e -u ntop....)
> 
> Regards,
> 


Hi Everyone,

I've the same issue with the same error message in dmesg.
I've run ntopng in debug mode with gdb and this is the output:
----------------
(gdb) run -ieth0 -m 192.168.0.0/16 -Untopng
Starting program: /usr/local/bin/ntopng -ieth0 -m 192.168.0.0/16 -Untopng
warning: no loadable sections found in added symbol-file system-supplied DSO
at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
15/May/2014 08:35:30 [Ntop.cpp:469] Setting local networks to 192.168.0.0/16
15/May/2014 08:35:30 [PcapInterface.cpp:68] Reading packets from interface
eth0...
15/May/2014 08:35:30 [Ntop.cpp:576] Registered interface eth0 [id: 0]
15/May/2014 08:35:30 [Utils.cpp:241] WARNING: Unable to locate user anonymous
15/May/2014 08:35:30 [main.cpp:150] PID stored in file /var/tmp/ntopng.pid
Error Opening file /usr/local/share/ntopng/httpdocs/geoip/GeoIPASNum.dat
15/May/2014 08:35:30 [Geolocation.cpp:59] WARNING: Unable to read GeoIP
database /usr/local/share/ntopng/httpdocs/geoip/GeoIPASNum.dat
Error Opening file /usr/local/share/ntopng/httpdocs/geoip/GeoIPASNumv6.dat
15/May/2014 08:35:30 [Geolocation.cpp:59] WARNING: Unable to read GeoIP
database /usr/local/share/ntopng/httpdocs/geoip/GeoIPASNumv6.dat
Error Opening file /usr/local/share/ntopng/httpdocs/geoip/GeoLiteCity.dat
15/May/2014 08:35:30 [Geolocation.cpp:59] WARNING: Unable to read GeoIP
database /usr/local/share/ntopng/httpdocs/geoip/GeoLiteCity.dat
Error Opening file /usr/local/share/ntopng/httpdocs/geoip/GeoLiteCityv6.dat
15/May/2014 08:35:30 [Geolocation.cpp:59] WARNING: Unable to read GeoIP
database /usr/local/share/ntopng/httpdocs/geoip/GeoLiteCityv6.dat
15/May/2014 08:35:30 [HTTPserver.cpp:350] HTTPS Disabled: missing SSL
certificate /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem
15/May/2014 08:35:30 [HTTPserver.cpp:351] Please read README.SSL if you want
to enable SSL
[New Thread 0x7ffff2069700 (LWP 29878)]
[New Thread 0x7ffff1868700 (LWP 29879)]
[New Thread 0x7ffff1067700 (LWP 29880)]
[New Thread 0x7ffff0866700 (LWP 29881)]
[New Thread 0x7fffe3fff700 (LWP 29882)]
[New Thread 0x7fffe37fe700 (LWP 29883)]
15/May/2014 08:35:30 [HTTPserver.cpp:381] Web server dirs
[/usr/local/share/ntopng/httpdocs][/usr/local/share/ntopng/scripts]
15/May/2014 08:35:30 [HTTPserver.cpp:382] HTTP server listening on port 3000
15/May/2014 08:35:30 [main.cpp:184] Using RRD version 1.4.7
15/May/2014 08:35:30 [main.cpp:200] Working directory: /var/tmp/ntopng
15/May/2014 08:35:30 [main.cpp:202] Scripts/HTML pages directory:
/usr/local/share/ntopng
15/May/2014 08:35:30 [Ntop.cpp:163] Welcome to ntopng x86_64 v.1.1.2 (r7628)
- (C) 1998-14 ntop.org
15/May/2014 08:35:30 [Redis.cpp:50] Successfully connected to Redis
127.0.0.1:6379
15/May/2014 08:35:30 [PeriodicActivities.cpp:53] Started periodic activities
loop...
[New Thread 0x7fffe2ffd700 (LWP 29884)]
[New Thread 0x7fffe27fc700 (LWP 29885)]
[New Thread 0x7fffe1ffb700 (LWP 29886)]
[New Thread 0x7fffe17fa700 (LWP 29887)]
[New Thread 0x7fffe0ff9700 (LWP 29888)]
15/May/2014 08:35:30 [NetworkInterface.cpp:744] Started packet polling on
interface eth0...
[New Thread 0x7fffcbfff700 (LWP 29890)]
16/May/2014 01:00:01 [Redis.cpp:893] Started dump on
/var/tmp/ntopng/datadump/20140515.sqlite
16/May/2014 01:00:02 [Redis.cpp:1104] Processed 0 hosts, 0 contacts in 1 sec
[0.0 contacts/sec][140515]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe27fc700 (LWP 29885)]
0x0000000000419ca3 in ?? ()
(gdb) 
---------------

Regards.

Alessandro




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

Reply via email to