Mailing List Archive

ZMQ socket error
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/ **
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
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
Re: ZMQ socket error [ In reply to ]
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 <cedric.bassaget.ml@gmail.com> 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
> Ntop@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop
Re: ZMQ socket error [ In reply to ]
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 <cedric.bassaget.ml@gmail.com> 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
> Ntop@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop