I added a -v to my ntopng.conf, here is what i get when i run 'ntopng
/etc/ntopng/ntopng.conf', still the same error about the ZMQ endpoint

root@bh-lab-ntop-702:/etc/init.d# ntopng /etc/ntopng/ntopng.conf
07/Oct/2014 14:57:38 [Ntop.cpp:680] Setting local networks to
10.0.0.0/8,132.206.0.0/16,132.216.0.0/16,142.157.0.0/16,172.16.0.0/12
07/Oct/2014 14:57:38 [AddressResolution.cpp:133] Rule '10.0.0.0'/'8'
07/Oct/2014 14:57:38 [AddressResolution.cpp:133] Rule '132.206.0.0'/'16'
07/Oct/2014 14:57:38 [AddressResolution.cpp:133] Rule '132.216.0.0'/'16'
07/Oct/2014 14:57:38 [AddressResolution.cpp:133] Rule '142.157.0.0'/'16'
07/Oct/2014 14:57:38 [AddressResolution.cpp:133] Rule '172.16.0.0'/'12'
07/Oct/2014 14:57:38 [Redis.cpp:86] Successfully connected to Redis
127.0.0.1:6379
07/Oct/2014 14:57:38 [PF_RINGInterface.cpp:50] Reading packets from PF_RING
v.6.0.3 interface eth1...
07/Oct/2014 14:57:38 [Ntop.cpp:804] Registered interface eth1 [id: 0]
07/Oct/2014 14:57:38 [ExportInterface.cpp:45] ERROR: Unable to bind ZMQ
endpoint "tcp://*:3702": Protocol not supported
07/Oct/2014 14:57:38 [Utils.cpp:250] User changed to nobody
07/Oct/2014 14:57:38 [main.cpp:186] ERROR: Unable to store PID in file
/var/run/ntopng/ntopng.pid
07/Oct/2014 14:57:38 [HTTPserver.cpp:366] HTTPS Disabled: missing SSL
certificate /usr/share/ntopng/httpdocs/ssl/ntopng-cert.pem
07/Oct/2014 14:57:38 [HTTPserver.cpp:368] Please read
https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable
SSL.
07/Oct/2014 14:57:38 [HTTPserver.cpp:412] Web server dirs
[/usr/share/ntopng/httpdocs][/usr/share/ntopng/scripts]
07/Oct/2014 14:57:38 [HTTPserver.cpp:415] HTTP server listening on port 3000
07/Oct/2014 14:57:38 [main.cpp:231] Working directory: /var/tmp/ntopng
07/Oct/2014 14:57:38 [main.cpp:233] Scripts/HTML pages directory:
/usr/share/ntopng
07/Oct/2014 14:57:38 [Ntop.cpp:208] Welcome to ntopng x86_64 v.1.2.2
(r8418) - (C) 1998-14 ntop.org
07/Oct/2014 14:57:38 [PeriodicActivities.cpp:53] Started periodic
activities loop...
07/Oct/2014 14:57:38 [PeriodicActivities.cpp:91] Starting script
/usr/share/ntopng/scripts/callbacks/second.lua
07/Oct/2014 14:57:38 [RuntimePrefs.cpp:32] Dump alerts into syslog


On Tue, Oct 7, 2014 at 2:53 PM, Zachary McGibbon <[email protected]
> wrote:

> I try it manually on the CLI and it works, but not with ntopng.conf
>
> root@bh-lab-ntop-702:~# ntopng -i eth1 -I "tcp://*:3702"
> 07/Oct/2014 14:52:46 [Ntop.cpp:680] Setting local networks to
> 192.168.1.0/24,0.0.0.0/32,224.0.0.0/8,239.0.0.0/8,255.255.255.255/32,127.0.0.0/8
> 07/Oct/2014 14:52:46 [Redis.cpp:86] Successfully connected to Redis
> 127.0.0.1:6379
> 07/Oct/2014 14:52:46 [PF_RINGInterface.cpp:50] Reading packets from
> PF_RING v.6.0.3 interface eth1...
> 07/Oct/2014 14:52:46 [Ntop.cpp:804] Registered interface eth1 [id: 0]
> 07/Oct/2014 14:52:46 [ExportInterface.cpp:48] Successfully created ZMQ
> endpoint tcp://*:3702
> 07/Oct/2014 14:52:46 [Utils.cpp:250] User changed to nobody
>
>
> On Tue, Oct 7, 2014 at 9:31 AM, Zachary McGibbon <
> [email protected]> wrote:
>
>> I'm trying to setup a master console for a few ntopng instances by
>> following the ntopng 1.2 user guide in section 6.2, however even when I
>> follow the man page for the remote nodes on how to setup a listening port I
>> get this error on the remote nodes:
>>
>> Oct  6 16:42:51 bh-lab-ntop-701 ntopng: [ExportInterface.cpp:45] ERROR:
>> Unable to bind ZMQ endpoint "tcp://*:3701": Protocol not supported
>>
>> my ntopng.conf:
>>
>> root@bh-lab-ntop-701:/var/run# more /etc/ntopng/ntopng.conf
>> -m="10.0.0.0/8,132.206.0.0/16,132.216.0.0/16,142.157.0.0/16,172.16.0.0/12
>> "
>> -G=/var/run/ntopng.pid
>> -A=2
>> -i=eth1
>> -x=512000
>> -X=512000
>> -l
>> -I "tcp://*:3701"
>>
>> I also tried:
>> -I="tcp://*:3701"
>>
>> ... and this did not work either
>>
>> This is from the man page:
>>
>> -I|--export-flows
>> Export the expired flows on the specified endpoint. For instance
>> supposing to start ntopng on  host  1.2.3.4  as  ntopng  -I "tcp://*:3456",
>>  it  exports  flows on this endpoint so that you can create a hierarchy of
>> ntopng's. You can achieve that by starting a collector ntopng as ntopng -i
>> tcp://1.2.3.4:3456
>>
>> Any ideas?
>>
>
>
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to