Fwd: Ntopng port segfaulting when using with Mysql

Kaya Saman kayasaman at gmail.com
Tue Dec 13 00:23:57 UTC 2016


If it helps here's the -v "Verbose" output:


13/Dec/2016 00:21:32 [Lua.cpp:218] Found 1 interface views
13/Dec/2016 00:21:32 [Ntop.cpp:759] No allowed interface found for lagg0
13/Dec/2016 00:21:32 [Lua.cpp:222] Returning name lagg0
13/Dec/2016 00:21:32 [Lua.cpp:271] ntop_select_interface() called
13/Dec/2016 00:21:32 [Ntop.cpp:1171] Getting interface view at name lagg0
13/Dec/2016 00:21:32 [Ntop.cpp:759] No allowed interface found for lagg0
13/Dec/2016 00:21:32 [Lua.cpp:250] getCurrentInterface() called
13/Dec/2016 00:21:32 [Lua.cpp:2771] ntop_get_interface_stats() called
13/Dec/2016 00:21:32 [Lua.cpp:271] ntop_select_interface() called
13/Dec/2016 00:21:32 [Ntop.cpp:1171] Getting interface view at name lagg0
13/Dec/2016 00:21:32 [Ntop.cpp:759] No allowed interface found for lagg0
13/Dec/2016 00:21:32 [Lua.cpp:250] getCurrentInterface() called
13/Dec/2016 00:21:32 [Lua.cpp:2771] ntop_get_interface_stats() called
13/Dec/2016 00:21:32 [Lua.cpp:717] ntop_is_windows() called
13/Dec/2016 00:21:32 [Lua.cpp:717] ntop_is_windows() called
13/Dec/2016 00:21:32 [Lua.cpp:607] ntop_is_not_empty_file() called
13/Dec/2016 00:21:32 [Lua.cpp:2229] 
ntop_rrd_fetch(/var/tmp/ntopng/1/rrd/..../bytes.rrd)
13/Dec/2016 00:21:32 [Lua.cpp:4201] ntop_lua_http_print() called
13/Dec/2016 00:21:32 [Lua.cpp:4201] ntop_lua_http_print() called
13/Dec/2016 00:21:32 [Lua.cpp:4201] ntop_lua_http_print() called
13/Dec/2016 00:21:32 [Lua.cpp:4201] ntop_lua_http_print() called
13/Dec/2016 00:21:32 [Lua.cpp:4201] ntop_lua_http_print() called
13/Dec/2016 00:21:32 [Lua.cpp:4201] ntop_lua_http_print() called
13/Dec/2016 00:21:32 [Lua.cpp:4201] ntop_lua_http_print() called
13/Dec/2016 00:21:32 [Lua.cpp:4201] ntop_lua_http_print() called
13/Dec/2016 00:21:32 [Lua.cpp:4201] ntop_lua_http_print() called
13/Dec/2016 00:21:32 [Lua.cpp:2470] ntop_get_prefs() called
13/Dec/2016 00:21:32 [Lua.cpp:250] getCurrentInterface() called
13/Dec/2016 00:21:32 [Lua.cpp:2834] ntop_interface_exec_sql_query() called
13/Dec/2016 00:21:32 [Lua.cpp:250] getCurrentInterface() called
13/Dec/2016 00:21:32 [Lua.cpp:388] ntop_get_ndpi_protocol_id() called
Segmentation fault



-------- Forwarded Message --------
Subject: 	Ntopng port segfaulting when using with Mysql
Date: 	Tue, 13 Dec 2016 00:20:12 +0000
From: 	Kaya Saman <kayasaman at gmail.com>
To: 	freebsd-ports <freebsd-ports at freebsd.org>



Hi,


I'm trying to run Ntopng while logging to a Mysql server.


I'm using this command to start it:


ntopng -r ris-server:6379 -i lagg0 -F
"mysql;remote-db-host;ntopng;flows;uname;passwd" -U ntopng -m
192.168.0.0/16,172.16.0.0/12,10.0.0.0/8 -D all -S all


What happens is that if I click on a host IP address then the Graph icon
I get this:


13/Dec/2016 00:16:12 [NetworkInterface.cpp:1057] WARNING: If you have
TSO/GRO enabled, please disable it
Segmentation fault


I'm wondering if it's something to do with this:
https://github.com/ntop/ntopng/issues/778

or something in the actual Port build mechanism causing this like a
library or so?


The version I have installed should be the latest from @Ports: # ntopng -V
v.2.5.161212 [Community Edition]
GIT rev:   :2.5.161212


Any insight would be highly appreciated.


Regards,


Kaya



More information about the freebsd-ports mailing list