From owner-freebsd-ports@freebsd.org Tue Dec 13 00:23:57 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3833AC738ED for ; Tue, 13 Dec 2016 00:23:57 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-wj0-x22f.google.com (mail-wj0-x22f.google.com [IPv6:2a00:1450:400c:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9E2126D for ; Tue, 13 Dec 2016 00:23:56 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: by mail-wj0-x22f.google.com with SMTP id tg4so86939460wjb.1 for ; Mon, 12 Dec 2016 16:23:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:to:from:message-id:date:user-agent:mime-version :in-reply-to; bh=yn4g/hsrfoBTvvcrufNy9sw7EHL1aDanK9L/0EeOBKU=; b=ebn632z11ZM4rRoCBrofuXOkaOzHqf3E6GLitV1z+qqzF34taeqWBsBQyiFBo1LaaS XsBMTpJc4TY6fBAnub7fDKgu2whDF4aqcxes1VTnD4z//dYe/Ipiy9vELpK1amgbBMSQ roL5tZ3WfQLvfR7+R1HE4XUInBcy8+E5MSdAHoDzZBVAjwtgXUkRIrUmhVGsy7JZtkgE 02HSPn1OCRbk6H1NhWFE5fqevcCdz/LO0GV/7z60nuqB0v1hNuC7PqC8EgAO1zpjy8xt gk5SluR3ua9QitIbJZWDt8/KCo84yYXodd7vuVQbNGlx3UM7GfdqOZiN735Pjy1exG+2 x0Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to; bh=yn4g/hsrfoBTvvcrufNy9sw7EHL1aDanK9L/0EeOBKU=; b=NvgxEMadhoIYkU0x4Hd4MNZ0Y0IfI8H1skALnSZeF76ta3IcEOsUKwDPuQb2rWecyW 31WEb8xjXiETPpN2sXiS6QQcbsHV6bM99jdm9TWdsnt4XG5IBaXycNyQpR/ZfqXlCUFu KaQJ41j0evE9PnnRuiU6Cg3B6Au32RqHpAdA5RTO1m/NGWkVv/50VRvynaXHbSKNYvSF bPpbmeALRoacEtcefmEBXH8LLjXI2eSSX80lhdmv8UMQFTW/LUI2Ph+kR0uTTYgkPH/3 30qYoVwJBehM/sLtgK2Prv+QLhBpl75qBi489Zb2EJCzgDGOhXRCOYDiAhg6OVX+95k8 carQ== X-Gm-Message-State: AKaTC01JTF14kgqrACyT3L/epGpSRh3TYB4H9bpc3Vh99tN7jWTnQhh4PVaIw6tIasTtsg== X-Received: by 10.194.109.42 with SMTP id hp10mr58317104wjb.167.1481588634708; Mon, 12 Dec 2016 16:23:54 -0800 (PST) Received: from x220.optiplex-networks.com (optiplexnetworks.plus.com. [212.159.80.17]) by smtp.googlemail.com with ESMTPSA id kp5sm59620087wjb.8.2016.12.12.16.23.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Dec 2016 16:23:54 -0800 (PST) Subject: Fwd: Ntopng port segfaulting when using with Mysql References: <0570f8c8-00fa-2f70-53ce-260796189e88@gmail.com> To: freebsd-ports From: Kaya Saman X-Forwarded-Message-Id: <0570f8c8-00fa-2f70-53ce-260796189e88@gmail.com> Message-ID: <72415579-c88b-3182-05e5-37a9c938a69b@gmail.com> Date: Tue, 13 Dec 2016 00:23:53 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <0570f8c8-00fa-2f70-53ce-260796189e88@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2016 00:23:57 -0000 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 To: freebsd-ports 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