Mailing List Archive

Nprobe Segmentation fault
Hi guys,

have you broke something ?
After i'd performed yum update I recieved this

05/Mar/2017 12:16:17 [pro/pf_ring.c:213] Reading packets using PF_RING in 0
copy mode
Segmentation fault


Mar 05 12:04:05 Updated: ntopng-data-2.5.170305-2348.noarch
Mar 05 12:05:13 Updated: pfring-dkms-6.5.0-1149.noarch
Mar 05 12:05:16 Updated: pfring-6.5.0-1149.x86_64
Mar 05 12:05:17 Updated: nprobe-7.5.170305-5674.x86_64
Mar 05 12:05:23 Updated: ntopng-2.5.170305-2348.x86_64


uname -a
Linux nprobe01 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC
2017 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)



I have segfalt even in clear run

[root@nprobe01 ~]# nprobe
05/Mar/2017 12:20:17 [plugin.c:176] No plugins found in ./plugins
05/Mar/2017 12:20:17 [plugin.c:184] Loading 24 plugins [.so] from
/usr/local/lib/nprobe/plugins
05/Mar/2017 12:20:17 [nprobe.c:3537] ERROR: Invalid nProbe license
(/etc/nprobe.license) [License mismatch error]
05/Mar/2017 12:20:17 [nprobe.c:3544] ERROR:
*****************************************************
05/Mar/2017 12:20:17 [nprobe.c:3545] ERROR: **
**
05/Mar/2017 12:20:17 [nprobe.c:3546] ERROR: ** Switching to DEMO MODE
(missing valid license) **
05/Mar/2017 12:20:17 [nprobe.c:3547] ERROR: **
**
05/Mar/2017 12:20:17 [nprobe.c:3548] ERROR: ** Purchase your nProbe
license at **
05/Mar/2017 12:20:17 [nprobe.c:3549] ERROR: ** https://shop.ntop.org/
**
05/Mar/2017 12:20:17 [nprobe.c:3550] ERROR: **
**
05/Mar/2017 12:20:17 [nprobe.c:3551] ERROR:
*****************************************************
05/Mar/2017 12:20:17 [nprobe.c:5357] WARNING: The output interfaceId is set
to 0: did you forget to use -Q perhaps ?
05/Mar/2017 12:20:17 [nprobe.c:5360] WARNING: The input interfaceId is set
to 0: did you forget to use -u perhaps ?
05/Mar/2017 12:20:17 [nprobe.c:5459] Welcome to nProbe v.7.5.170305
($Revision: 5674 $) for x86_64-unknown-linux-gnu with native PF_RING
acceleration
05/Mar/2017 12:20:17 [nprobe.c:5469] Running on CentOS Linux release
7.3.1611 (Core)
05/Mar/2017 12:20:17 [nprobe.c:5480] [LICENSE] nProbe SystemId:
689C573F76056B06
05/Mar/2017 12:20:17 [nprobe.c:5569] WARNING: -n parameter is missing.
127.0.0.1:2055 will be used.
05/Mar/2017 12:20:17 [nprobe.c:5594] Sample rate [packet: 1][flow: 1]
05/Mar/2017 12:20:17 [nprobe.c:7868] ERROR:
***************************************************************
05/Mar/2017 12:20:17 [nprobe.c:7869] ERROR: * NOTE: This is a DEMO version
limited to 25000 flows export. *
05/Mar/2017 12:20:17 [nprobe.c:7870] ERROR:
***************************************************************
05/Mar/2017 12:20:17 [nprobe.c:7876] Welcome to nProbe v.7.5.170305 for
x86_64-unknown-linux-gnu
05/Mar/2017 12:20:17 [plugin.c:1068] 0 plugin(s) enabled
05/Mar/2017 12:20:17 [nprobe.c:7403] Non IPv4/v6 traffic is discarded
according to the template
05/Mar/2017 12:20:17 [util.c:430] GeoIP: loaded AS config file
/usr/share/ntopng/httpdocs/geoip/GeoIPASNum.dat
05/Mar/2017 12:20:17 [util.c:441] GeoIP: loaded AS IPv6 config file
/usr/share/ntopng/httpdocs/geoip/GeoIPASNumv6.dat
05/Mar/2017 12:20:17 [nprobe.c:6035] Using packet capture length 128
05/Mar/2017 12:20:17 [pro/pf_ring.c:357] Initializing PF_RING socket on
device ens192..
05/Mar/2017 12:20:18 [pro/pf_ring.c:399] Dumping traffic statistics on
/proc/net/pf_ring/stats/9749-ens192.9
05/Mar/2017 12:20:18 [pro/pf_ring.c:464] PF_RING enabled on ens192
05/Mar/2017 12:20:18 [nprobe.c:8052] IPv6 traffic will NOT be
exported/accounted by this probe
05/Mar/2017 12:20:18 [nprobe.c:8053] due to configuration options (e.g. use
NetFlow v9)
05/Mar/2017 12:20:18 [nprobe.c:8054] Please use -V to set the version to
other than NetFlow V5
05/Mar/2017 12:20:18 [util.c:3167] nProbe changed user to 'nobody'
05/Mar/2017 12:20:18 [nprobe.c:8428] nProbe started successfully
05/Mar/2017 12:20:18 [pro/pf_ring.c:213] Reading packets using PF_RING in 0
copy mode
Segmentation fault


Best,
Mike
Re: Nprobe Segmentation fault [ In reply to ]
Hi Mikhael,
my fault.

A new build is ongoing. Thanks for reporting it.

Luca

> On 5 Mar 2017, at 11:21, Mikhael Chernogorsky <mikhaelc@infinidat.com> wrote:
>
> Hi guys,
>
> have you broke something ?
> After i'd performed yum update I recieved this
>
> 05/Mar/2017 12:16:17 [pro/pf_ring.c:213] Reading packets using PF_RING in 0 copy mode
> Segmentation fault
>
>
> Mar 05 12:04:05 Updated: ntopng-data-2.5.170305-2348.noarch
> Mar 05 12:05:13 Updated: pfring-dkms-6.5.0-1149.noarch
> Mar 05 12:05:16 Updated: pfring-6.5.0-1149.x86_64
> Mar 05 12:05:17 Updated: nprobe-7.5.170305-5674.x86_64
> Mar 05 12:05:23 Updated: ntopng-2.5.170305-2348.x86_64
>
>
> uname -a
> Linux nprobe01 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
>
> cat /etc/centos-release
> CentOS Linux release 7.3.1611 (Core)
>
>
>
> I have segfalt even in clear run
>
> [root@nprobe01 ~]# nprobe
> 05/Mar/2017 12:20:17 [plugin.c:176] No plugins found in ./plugins
> 05/Mar/2017 12:20:17 [plugin.c:184] Loading 24 plugins [.so] from /usr/local/lib/nprobe/plugins
> 05/Mar/2017 12:20:17 [nprobe.c:3537] ERROR: Invalid nProbe license (/etc/nprobe.license) [License mismatch error]
> 05/Mar/2017 12:20:17 [nprobe.c:3544] ERROR: *****************************************************
> 05/Mar/2017 12:20:17 [nprobe.c:3545] ERROR: ** **
> 05/Mar/2017 12:20:17 [nprobe.c:3546] ERROR: ** Switching to DEMO MODE (missing valid license) **
> 05/Mar/2017 12:20:17 [nprobe.c:3547] ERROR: ** **
> 05/Mar/2017 12:20:17 [nprobe.c:3548] ERROR: ** Purchase your nProbe license at **
> 05/Mar/2017 12:20:17 [nprobe.c:3549] ERROR: ** https://shop.ntop.org/ <https://shop.ntop.org/> **
> 05/Mar/2017 12:20:17 [nprobe.c:3550] ERROR: ** **
> 05/Mar/2017 12:20:17 [nprobe.c:3551] ERROR: *****************************************************
> 05/Mar/2017 12:20:17 [nprobe.c:5357] WARNING: The output interfaceId is set to 0: did you forget to use -Q perhaps ?
> 05/Mar/2017 12:20:17 [nprobe.c:5360] WARNING: The input interfaceId is set to 0: did you forget to use -u perhaps ?
> 05/Mar/2017 12:20:17 [nprobe.c:5459] Welcome to nProbe v.7.5.170305 ($Revision: 5674 $) for x86_64-unknown-linux-gnu with native PF_RING acceleration
> 05/Mar/2017 12:20:17 [nprobe.c:5469] Running on CentOS Linux release 7.3.1611 (Core)
> 05/Mar/2017 12:20:17 [nprobe.c:5480] [LICENSE] nProbe SystemId: 689C573F76056B06
> 05/Mar/2017 12:20:17 [nprobe.c:5569] WARNING: -n parameter is missing. 127.0.0.1:2055 <http://127.0.0.1:2055/> will be used.
> 05/Mar/2017 12:20:17 [nprobe.c:5594] Sample rate [packet: 1][flow: 1]
> 05/Mar/2017 12:20:17 [nprobe.c:7868] ERROR: ***************************************************************
> 05/Mar/2017 12:20:17 [nprobe.c:7869] ERROR: * NOTE: This is a DEMO version limited to 25000 flows export. *
> 05/Mar/2017 12:20:17 [nprobe.c:7870] ERROR: ***************************************************************
> 05/Mar/2017 12:20:17 [nprobe.c:7876] Welcome to nProbe v.7.5.170305 for x86_64-unknown-linux-gnu
> 05/Mar/2017 12:20:17 [plugin.c:1068] 0 plugin(s) enabled
> 05/Mar/2017 12:20:17 [nprobe.c:7403] Non IPv4/v6 traffic is discarded according to the template
> 05/Mar/2017 12:20:17 [util.c:430] GeoIP: loaded AS config file /usr/share/ntopng/httpdocs/geoip/GeoIPASNum.dat
> 05/Mar/2017 12:20:17 [util.c:441] GeoIP: loaded AS IPv6 config file /usr/share/ntopng/httpdocs/geoip/GeoIPASNumv6.dat
> 05/Mar/2017 12:20:17 [nprobe.c:6035] Using packet capture length 128
> 05/Mar/2017 12:20:17 [pro/pf_ring.c:357] Initializing PF_RING socket on device ens192..
> 05/Mar/2017 12:20:18 [pro/pf_ring.c:399] Dumping traffic statistics on /proc/net/pf_ring/stats/9749-ens192.9
> 05/Mar/2017 12:20:18 [pro/pf_ring.c:464] PF_RING enabled on ens192
> 05/Mar/2017 12:20:18 [nprobe.c:8052] IPv6 traffic will NOT be exported/accounted by this probe
> 05/Mar/2017 12:20:18 [nprobe.c:8053] due to configuration options (e.g. use NetFlow v9)
> 05/Mar/2017 12:20:18 [nprobe.c:8054] Please use -V to set the version to other than NetFlow V5
> 05/Mar/2017 12:20:18 [util.c:3167] nProbe changed user to 'nobody'
> 05/Mar/2017 12:20:18 [nprobe.c:8428] nProbe started successfully
> 05/Mar/2017 12:20:18 [pro/pf_ring.c:213] Reading packets using PF_RING in 0 copy mode
> Segmentation fault
>
>
> Best,
> Mike
> _______________________________________________
> Ntop mailing list
> Ntop@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop