Re: ZMQ socket error

Alfredo Cardigliano <[email protected]> Thu, 30 Aug 2018 09:46:43 +0200
Newsgroups gmane.linux.ntop.general
Message-ID <[email protected]>
Hi
please follow this issue at https://github.com/ntop/nProbe/issues/283 <https://github.com/ntop/nProbe/issues/283>

Thank you
Alfredo

> On 30 Aug 2018, at 09:03, BASSAGET Cédric <[email protected]> wrote:
> 
> Hello !
> 
> Hello.
> I have a problem with ZMQ socket :
> 
> 29/Aug/2018 18:02:08 [plugin.c:175] No plugins found in ./plugins
> 29/Aug/2018 18:02:08 [plugin.c:183] Loading 23 plugins [.so] from /usr/local/lib/nprobe/plugins
> 29/Aug/2018 18:02:09 [nprobe.c:3764] ERROR: Invalid nProbe license (/etc/nprobe.license) [Missing license file]
> 29/Aug/2018 18:02:09 [nprobe.c:3771] ERROR: *****************************************************
> 29/Aug/2018 18:02:09 [nprobe.c:3772] ERROR: ** **
> 29/Aug/2018 18:02:09 [nprobe.c:3773] ERROR: ** Switching to DEMO MODE (missing valid license) **
> 29/Aug/2018 18:02:09 [nprobe.c:3774] ERROR: ** **
> 29/Aug/2018 18:02:09 [nprobe.c:3775] ERROR: ** Purchase your nProbe license at **
> 29/Aug/2018 18:02:09 [nprobe.c:3776] ERROR: ** https://shop.ntop.org/ <https://shop.ntop.org/> **
> 29/Aug/2018 18:02:09 [nprobe.c:3777] ERROR: ** **
> 29/Aug/2018 18:02:09 [nprobe.c:3778] ERROR: *****************************************************
> 29/Aug/2018 18:02:09 [nprobe.c:5388] WARNING: The output interfaceId is set to 0: did you forget to use -Q perhaps ?
> 29/Aug/2018 18:02:09 [nprobe.c:5391] WARNING: The input interfaceId is set to 0: did you forget to use -u perhaps ?
> 29/Aug/2018 18:02:09 [nprobe.c:5397] WARNING: You have specified --zmq and not specified -n.
> 29/Aug/2018 18:02:09 [nprobe.c:5398] WARNING: We believe you want to use just ZMQ and no netflow export
> 29/Aug/2018 18:02:09 [nprobe.c:5399] WARNING: Setting flow export to -n none
> 29/Aug/2018 18:02:09 [nprobe.c:5433] -i is ignored as --collector-port|-3 has been used: using '-i none'
> 29/Aug/2018 18:02:09 [nprobe.c:5478] Welcome to nProbe v.8.4.180829 ($Revision: 6125 $) for x86_64-unknown-linux-gnu with native PF_RING acceleration
> 29/Aug/2018 18:02:09 [nprobe.c:5488] Running on Debian GNU/Linux 8.2 (jessie)
> 29/Aug/2018 18:02:09 [nprobe.c:5499] [LICENSE] nProbe SystemId: 646DECFD7104A212
> 29/Aug/2018 18:02:09 [nprobe.c:5566] Sample rate [packet: 1][flow collection/export: 1/1]
> 29/Aug/2018 18:02:09 [nprobe.c:8243] ERROR: ***************************************************************
> 29/Aug/2018 18:02:09 [nprobe.c:8244] ERROR: * NOTE: This is a DEMO version limited to 25000 flows export. *
> 29/Aug/2018 18:02:09 [nprobe.c:8245] ERROR: ***************************************************************
> 29/Aug/2018 18:02:09 [nprobe.c:8251] Welcome to nProbe v.8.4.180829 for x86_64-unknown-linux-gnu
> 29/Aug/2018 18:02:09 [nprobe.c:7160] WARNING: Adding %EXPORTER_IPV4_ADDRESS to the template as nProbe is working as collector
> 29/Aug/2018 18:02:09 [plugin.c:1212] 0 plugin(s) enabled
> 29/Aug/2018 18:02:09 [nprobe.c:7730] Non IPv4/v6 traffic is discarded according to the template
> 29/Aug/2018 18:02:09 [util.c:454] WARNING: Unable to load AS file /usr/local/nprobe/GeoIPASNum.dat. AS support disabled
> 29/Aug/2018 18:02:09 [util.c:465] WARNING: Unable to load AS IPv6 file /usr/local/nprobe/GeoIPASNumv6.dat. AS IPv6 support disabled
> 29/Aug/2018 18:02:09 [nprobe.c:8428] IPv6 traffic will NOT be exported/accounted by this probe
> 29/Aug/2018 18:02:09 [nprobe.c:8429] due to configuration options (e.g. use NetFlow v9)
> 29/Aug/2018 18:02:09 [nprobe.c:8430] Please use -V to set the version to other than NetFlow V5
> 29/Aug/2018 18:02:09 [nprobe.c:8475] Flows ASs will not be computed
> 29/Aug/2018 18:02:09 [nprobe.c:8581] Not capturing packet from interface (collector mode)
> 29/Aug/2018 18:02:09 [util.c:4547] Initializing ZMQ as server
> 29/Aug/2018 18:02:09 [util.c:4590] Succesfully created ZMQ endpoint tcp://127.0.0.1:6445 <http://127.0.0.1:6445/>
> 29/Aug/2018 18:02:09 [util.c:3625] nProbe changed user to 'nobody'
> 29/Aug/2018 18:02:09 [collect.c:144] Flow collector listening on port 6345 (IPv4/v6)
> 29/Aug/2018 18:02:09 [nprobe.c:8812] nProbe started successfully
> ^C29/Aug/2018 18:02:13 [nprobe.c:526] Received shutdown request... [signal: 2]
> 29/Aug/2018 18:02:14 [engine.c:3126] About to flush hash (threadId 0)
> 29/Aug/2018 18:02:14 [engine.c:3128] Completed hash walk (thread 0)
> 
> 29/Aug/2018 18:02:17 [util.c:4657] WARNING: [ZMQ] rc=-1 - errno=88/Socket operation on non-socket
> 29/Aug/2018 18:02:17 [util.c:4677] WARNING: rc=-1 - errno=88/Socket operation on non-socket
> 29/Aug/2018 18:02:17 [util.c:4683] WARNING: SEND ERROR [flow]
> 
> I'm unable to find why I have the
> [ZMQ] rc=-1 - errno=88/Socket operation on non-socket
> error
> 
> Can anybody point me in the right direction please ?
> Regards
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEunYLiJIhvMrSEXzAm6qh6WCZ23EFAluHoOMACgkQm6qh6WCZ
23FDZA//a3gMq09NgyWpoXlZzjgDboyRLO1rVKpYR2CE04OOZNzfw2WVBbNENnpV
c2J5UL+pss0s9vQc3B+97GSnw6LiH50pfTja2AwVJKoilCSagAgwchrmO/aRXLQg
5trvc+IU4HVwoXmR4IG0O57Ws62NKyNMctgqH21cmC0dV0PbVqHxX4qeqFN32UI/
7C3CerWJkeHkWxfH9IAqZM/q/gO3KcyXgSC8sKaeXQ4iFoBCNqWdm1Isknarms8d
0GZEnfTFtopp6Mb8MlijFd03D4s1Eg/sqoWRrsmjqazePYpuLmvV2FGQX5D3CmiQ
RU15CJsTIuvdRz+fQUehPQgvZnKfYF9iLb06mP/JKV1VhXnd+X9B/6Q9/xC0FPS8
q+gXgqLvqTuheiL4wpNY40vCuw0s4FvH1Ij9ymLg6BIPzaf/Hy2G4dTE1vIc5s4a
sAvQtB0FSm5tUVcpQHyklXaBXEl9Uogyqbev9vaKot2ZGrKElMn9VePTsEkH3yGN
gWHmSVZydw5z2HFfnieGYpNFky9Dt7jPSLbW4KJAItw1KlFmDLSRoD+J56d82uV9
CpgoRpR1YmRjGOHWB7mU5zaGPl7RkIDT6pKhZNKazfSwMN9G5J7mM1f5TbDcqK/O
cqVAym5x7w76QLsmLm8+8g4maEEsEvgWOVTSpZUWdbSEjrhylc0=
=DkUU
-----END PGP SIGNATURE-----