Hi Zachary,

On 04 Aug 2014, at 16:29, Zachary McGibbon <[email protected]> wrote:

> Since updating to 1.1.99 (r8043) it is no longer starting with my ntopng.conf 
> file, however it works when I run verbose??

You can decide to use the configuration file or the command line, but you can’t 
use both in the same time.

In case you use a configuration file, the following options on the command line 
will be ignored.
In case you use a command line option, the following configuration file will be 
ignored. (your case, as you can see in your trace, ntopng was active on all 
available interfaces)

I tested your configuration file and it works well for me.
However, update you svn code and then can you try to run ntopng using the 
command line option instead the configuration file?

Thanks
Filippo

> 
> root@nbox1:~# cat /etc/ntopng/ntopng.conf
> -m="192.168.0.0/16"
> -G=/var/run/ntopng/ntopng.pid
> -A=2
> -i=eth1
> -i=eth2
> -F
> 
> root@nbox1:~# /usr/local/bin/ntopng /etc/ntopng/ntopng.conf
> 04/Aug/2014 10:28:02 [Ntop.cpp:565] Setting local networks to 192.168.0.0/16
> 04/Aug/2014 10:28:02 [Redis.cpp:74] Successfully connected to Redis 
> 127.0.0.1:6379
> 04/Aug/2014 10:28:02 [NetworkInterface.cpp:107] WARNING: Unable to locate 
> interface Id 0
> 
> root@nbox1:~# /usr/local/bin/ntopng -v /etc/ntopng/ntopng.conf
> 04/Aug/2014 10:28:11 [Ntop.cpp:565] 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
> 04/Aug/2014 10:28:11 [AddressResolution.cpp:132] Rule '192.168.1.0'/'24'
> 04/Aug/2014 10:28:11 [AddressResolution.cpp:132] Rule '0.0.0.0'/'32'
> 04/Aug/2014 10:28:11 [AddressResolution.cpp:132] Rule '224.0.0.0'/'8'
> 04/Aug/2014 10:28:11 [AddressResolution.cpp:132] Rule '239.0.0.0'/'8'
> 04/Aug/2014 10:28:11 [AddressResolution.cpp:132] Rule '255.255.255.255'/'32'
> 04/Aug/2014 10:28:11 [AddressResolution.cpp:132] Rule '127.0.0.0'/'8'
> 04/Aug/2014 10:28:11 [Redis.cpp:74] Successfully connected to Redis 
> 127.0.0.1:6379
> 04/Aug/2014 10:28:12 [PcapInterface.cpp:81] Reading packets from interface 
> eth1...
> 04/Aug/2014 10:28:12 [Ntop.cpp:672] Registered interface eth1 [id: 0]
> 04/Aug/2014 10:28:12 [PcapInterface.cpp:81] Reading packets from interface 
> eth2...
> 04/Aug/2014 10:28:12 [Ntop.cpp:672] Registered interface eth2 [id: 1]
> 04/Aug/2014 10:28:12 [PcapInterface.cpp:81] Reading packets from interface 
> eth0...
> 04/Aug/2014 10:28:12 [Ntop.cpp:672] Registered interface eth0 [id: 2]
> 04/Aug/2014 10:28:12 [PcapInterface.cpp:81] Reading packets from interface 
> lo...
> 04/Aug/2014 10:28:12 [Ntop.cpp:672] Registered interface lo [id: 3]
> 04/Aug/2014 10:28:12 [Utils.cpp:251] User changed to nobody
> 04/Aug/2014 10:28:12 [main.cpp:180] PID stored in file /var/tmp/ntopng.pid
> 04/Aug/2014 10:28:12 [HTTPserver.cpp:351] HTTPS Disabled: missing SSL 
> certificate /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem
> 04/Aug/2014 10:28:12 [HTTPserver.cpp:352] Please read 
> https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable 
> SSL.
> 04/Aug/2014 10:28:12 [HTTPserver.cpp:389] Web server dirs 
> [/usr/local/share/ntopng/httpdocs][/usr/local/share/ntopng/scripts]
> 04/Aug/2014 10:28:12 [HTTPserver.cpp:392] HTTP server listening on port 3000
> 04/Aug/2014 10:28:12 [main.cpp:214] Using RRD version 1.4.7
> 04/Aug/2014 10:28:12 [main.cpp:230] Working directory: /var/tmp/ntopng
> 04/Aug/2014 10:28:12 [main.cpp:232] Scripts/HTML pages directory: 
> /usr/local/share/ntopng
> 04/Aug/2014 10:28:12 [Ntop.cpp:191] Welcome to ntopng x86_64 v.1.1.99 (r8043) 
> - (C) 1998-14 ntop.org
> 04/Aug/2014 10:28:12 [PeriodicActivities.cpp:53] Started periodic activities 
> loop...
> 04/Aug/2014 10:28:12 [RuntimePrefs.cpp:32] Dump alerts into syslog
> 04/Aug/2014 10:28:12 [Ntop.cpp:261] Adding 127.0.0.1/32 as IPv4 interface 
> address
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule '127.0.0.1'/'32'
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule '127.0.0.1'/'32'
> 04/Aug/2014 10:28:12 [Ntop.cpp:261] Adding 192.168.0.38/32 as IPv4 interface 
> address
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule '192.168.0.38'/'32'
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule '192.168.0.38'/'32'
> 04/Aug/2014 10:28:12 [Ntop.cpp:273] Adding ::1/128 as IPv6 interface address
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule '::1'/'128'
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule '::1'/'128'
> 04/Aug/2014 10:28:12 [Ntop.cpp:273] Adding fe80::250:56ff:fe8f:690d/128 as 
> IPv6 interface address
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule 
> 'fe80::250:56ff:fe8f:690d'/'128'
> 04/Aug/2014 10:28:12 [PeriodicActivities.cpp:91] Starting script 
> /usr/local/share/ntopng/scripts/callbacks/second.lua
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule 
> 'fe80::250:56ff:fe8f:690d'/'128'
> 04/Aug/2014 10:28:12 [Ntop.cpp:273] Adding fe80::250:56ff:fe8f:31ba/128 as 
> IPv6 interface address
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule 
> 'fe80::250:56ff:fe8f:31ba'/'128'
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule 
> 'fe80::250:56ff:fe8f:31ba'/'128'
> 04/Aug/2014 10:28:12 [Ntop.cpp:273] Adding fe80::250:56ff:fe8f:23c0/128 as 
> IPv6 interface address
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule 
> 'fe80::250:56ff:fe8f:23c0'/'128'
> 04/Aug/2014 10:28:12 [AddressResolution.cpp:132] Rule 
> 'fe80::250:56ff:fe8f:23c0'/'128'
> 04/Aug/2014 10:28:12 [NetworkInterface.cpp:800] Started packet polling on 
> interface eth1...
> 04/Aug/2014 10:28:12 [NetworkInterface.cpp:800] Started packet polling on 
> interface eth2...
> 04/Aug/2014 10:28:12 [NetworkInterface.cpp:800] Started packet polling on 
> interface eth0...
> 04/Aug/2014 10:28:12 [NetworkInterface.cpp:800] Started packet polling on 
> interface lo...
> 04/Aug/2014 10:28:12 [HTTPserver.cpp:148] [HTTP] redirect_to_login()
> 04/Aug/2014 10:28:13 [PeriodicActivities.cpp:91] Starting script 
> /usr/local/share/ntopng/scripts/callbacks/second.lua
> 04/Aug/2014 10:28:14 [HTTPserver.cpp:148] [HTTP] redirect_to_login()
> 04/Aug/2014 10:28:14 [HTTPserver.cpp:148] [HTTP] redirect_to_login()
> 04/Aug/2014 10:28:14 [PeriodicActivities.cpp:91] Starting script 
> /usr/local/share/ntopng/scripts/callbacks/second.lua
> 04/Aug/2014 10:28:15 [HTTPserver.cpp:148] [HTTP] redirect_to_login()
> 04/Aug/2014 10:28:15 [PeriodicActivities.cpp:91] Starting script 
> /usr/local/share/ntopng/scripts/callbacks/second.lua
> 
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to