Your welcome, for more information, please refer to this guide https://svn.ntop.org/svn/ntop/trunk/ntopng/doc/UserGuide.pdf
Regards, Filippo On 06 Aug 2014, at 10:38, Support Reseau <[email protected]> wrote: > Hi Filippo Fontanelli, > > I have changed my NTOPNG configuration file as you told me. > > cat /etc/ntopng/ntopng.conf > -G=/var/tmp/ntopng.gid > --local-networks=192.168.13.0/24 > -i=eth0 > > And now it’s works. Thank you for your help > > Sincerely > > De : [email protected] > [mailto:[email protected]] De la part de Support Reseau > Envoyé : mercredi 6 août 2014 10:30 > À : [email protected] > Cc : [email protected] > Objet : Re: [Ntop] PROBLEM DURING CONNECTION TO NTOPNG GUI > > No I haven’t follow some guide. > > I have installed NTOPNG on Debian Wheezy : Linux fw.000000.priv 3.2.0-4-amd64 > #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux > > Sincerely > > De : [email protected] > [mailto:[email protected]] De la part de Filippo Fontanelli > Envoyé : mercredi 6 août 2014 10:27 > À : [email protected] > Cc : [email protected] > Objet : Re: [Ntop] PROBLEM DURING CONNECTION TO NTOPNG GUI > > Sorry for typos, this is the correct configuration file. > > cat /etc/ntopng/ntopng.conf > -G=/var/tmp/ntopng.gid > --local-networks=192.168.13.0/24 > -i=eth0 > > Filippo > > On 06 Aug 2014, at 10:24, Filippo Fontanelli <[email protected]> wrote: > > > Hi, > > see inline > > On 06 Aug 2014, at 10:11, Support Reseau <[email protected]> wrote: > > > Hi All, > > I have installed NTOPNG from svn, I follow this procedure : > svn co https://svn.ntop.org/svn/ntop/trunk/ntopng/ > cd ntopng > ./autogen.sh > ./configure > make > make install > > > Configuration and installation OK. No error during the compilation. The > binary works, see below output during process running : > ([email protected])-(~)# /usr/local/bin/ntopng -i 1 -v > 06/Aug/2014 10:02:44 [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 > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '192.168.1.0'/'24' > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '0.0.0.0'/'32' > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '224.0.0.0'/'8' > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '239.0.0.0'/'8' > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '255.255.255.255'/'32' > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '127.0.0.0'/'8' > 06/Aug/2014 10:02:44 [Redis.cpp:74] Successfully connected to Redis > 127.0.0.1:6379 > 06/Aug/2014 10:02:44 [PcapInterface.cpp:81] Reading packets from interface > eth0... > 06/Aug/2014 10:02:44 [Ntop.cpp:672] Registered interface eth0 [id: 0] > 06/Aug/2014 10:02:44 [Utils.cpp:251] User changed to nobody > 06/Aug/2014 10:02:44 [main.cpp:180] PID stored in file /var/tmp/ntopng.pid > 06/Aug/2014 10:02:44 [HTTPserver.cpp:351] HTTPS Disabled: missing SSL > certificate /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem > 06/Aug/2014 10:02:44 [HTTPserver.cpp:352] Please read > https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable > SSL. > 06/Aug/2014 10:02:44 [HTTPserver.cpp:389] Web server dirs > [/usr/local/share/ntopng/httpdocs][/root/scripts] > 06/Aug/2014 10:02:44 [HTTPserver.cpp:392] HTTP server listening on port 3000 > 06/Aug/2014 10:02:44 [main.cpp:214] Using RRD version 1.4.8 > 06/Aug/2014 10:02:44 [main.cpp:230] Working directory: /var/tmp/ntopng > 06/Aug/2014 10:02:44 [main.cpp:232] Scripts/HTML pages directory: > /usr/local/share/ntopng > 06/Aug/2014 10:02:44 [Ntop.cpp:191] Welcome to ntopng x86_64 v.1.1.99 (r8057) > - (C) 1998-14 ntop.org > 06/Aug/2014 10:02:44 [PeriodicActivities.cpp:53] Started periodic activities > loop... > 06/Aug/2014 10:02:44 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:44 [RuntimePrefs.cpp:32] Dump alerts into syslog > 06/Aug/2014 10:02:44 [Ntop.cpp:261] Adding 127.0.0.1/32 as IPv4 interface > address > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '127.0.0.1'/'32' > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '127.0.0.1'/'32' > 06/Aug/2014 10:02:44 [Ntop.cpp:261] Adding 192.168.13.175/32 as IPv4 > interface address > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '192.168.13.175'/'32' > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '192.168.13.175'/'32' > 06/Aug/2014 10:02:44 [Ntop.cpp:273] Adding ::1/128 as IPv6 interface address > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '::1'/'128' > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule '::1'/'128' > 06/Aug/2014 10:02:44 [Ntop.cpp:273] Adding fe80::210:f3ff:fe27:1258/128 as > IPv6 interface address > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule > 'fe80::210:f3ff:fe27:1258'/'128' > 06/Aug/2014 10:02:44 [AddressResolution.cpp:132] Rule > 'fe80::210:f3ff:fe27:1258'/'128' > 06/Aug/2014 10:02:44 [NetworkInterface.cpp:800] Started packet polling on > interface eth0... > 06/Aug/2014 10:02:45 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:46 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:47 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:48 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:49 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:50 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:51 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:52 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:53 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > 06/Aug/2014 10:02:54 [PeriodicActivities.cpp:91] Starting script > /usr/local/share/ntopng/scripts/callbacks/second.lua > ^C > 06/Aug/2014 10:02:55 [main.cpp:37] Shutting down... > 06/Aug/2014 10:02:55 [PcapInterface.cpp:169] Terminated packet polling for > eth0 > 06/Aug/2014 10:02:57 [ProtoStats.cpp:35] [IPv4] 19.64 KB/108.00 Packets > 06/Aug/2014 10:02:57 [ProtoStats.cpp:35] [IPv6] 210 B/2.00 Packets > 06/Aug/2014 10:02:57 [ProtoStats.cpp:35] [ARP] 4.16 KB/71.00 Packets > 06/Aug/2014 10:02:57 [ProtoStats.cpp:35] [MPLS] 0 B/0.00 Packets > 06/Aug/2014 10:02:57 [ProtoStats.cpp:35] [Other] 0 B/0.00 Packets > 06/Aug/2014 10:02:57 [Ntop.cpp:698] Interface eth0 [running: 0] > 06/Aug/2014 10:02:57 [main.cpp:55] Deleted PID /var/tmp/ntopng.pid [rc: 0] > 06/Aug/2014 10:02:57 [NetworkInterface.cpp:199] Flushing host contacts for > interface eth0 > 06/Aug/2014 10:02:57 [NetworkInterface.cpp:824] Cleanup interface eth0 > 06/Aug/2014 10:02:57 [HTTPserver.cpp:405] HTTP server terminated > 06/Aug/2014 10:02:57 [AddressResolution.cpp:217] Address resolution stats [0 > resolved][0 failures] > > The connection to rebis server looks good : > connected to Redis 127.0.0.1:6379 > > Ps –edf | grep ntopng > nobody 6694 1 0 août05 ? 00:07:59 /usr/local/bin/ntopng > /etc/ntopng/ntopng.conf > > file configuration > /etc/ntopng/ntopng.conf : > -G=/var/tmp/ntopng.gid > > /etc/ntopng/ntopng.start > --local-networks 192.168.13.0/24 > --interface 1 > > Please move the option lines in the ntopng.start into ntopng.conf. > The ntopng.start is used only for start ntopng on boot if you installed the > pre-build packages. > > cat /etc/ntopng/ntopng.conf > -G=/var/tmp/ntopng.gid > --local-networks 192.168.13.0/24 > --interface eth0 > > Than try to uninstall ntopng and run it from the svn directory as follow: > > cd <svn code dir> > make uninstall > ./ntopng /etc/ntopng/ntopng.conf > > > > The problem is when I try to connect on NTOPNG GUI. Login page appears but > when I enter credential to login into NTOPNG, I obtain this error : > Page "/" was not found > > How do you try to connect to the GUI? > Do you have active some firewall or iptable entry? > > Default url is http://localhost:3000 > > > > I try to reset password and flush DB but nothing change. > > See below logs during connection on NTOPNG GUI: > ([email protected])-(~)# redis-cli > redis 127.0.0.1:6379> montitor > (error) ERR unknown command 'montitor' > redis 127.0.0.1:6379> MONITOR > OK > 1407312488.068309 "MONITOR" > 1407312488.383181 "LPOP" "dns.toresolve" > 1407312488.383291 "LPOP" "dns.toresolve" > 1407312489.383454 "LPOP" "dns.toresolve" > 1407312489.383571 "LPOP" "dns.toresolve" > 1407312490.383729 "LPOP" "dns.toresolve" > 1407312490.383846 "LPOP" "dns.toresolve" > 1407312491.384001 "LPOP" "dns.toresolve" > 1407312491.384119 "LPOP" "dns.toresolve" > 1407312492.384253 "LPOP" "dns.toresolve" > 1407312492.384388 "LPOP" "dns.toresolve" > 1407312493.384514 "LPOP" "dns.toresolve" > 1407312493.384635 "LPOP" "dns.toresolve" > 1407312494.384782 "LPOP" "dns.toresolve" > 1407312494.384899 "LPOP" "dns.toresolve" > 1407312495.316659 "GET" "user.admin.password" > 1407312495.316797 "SET" "sessions.5a1b409954358a2d7bd34f60f6f0fd1b" "admin" > 1407312495.316892 "EXPIRE" "sessions.5a1b409954358a2d7bd34f60f6f0fd1b" "3600" > 1407312495.385039 "LPOP" "dns.toresolve" > 1407312495.385140 "LPOP" "dns.toresolve" > 1407312495.400300 "GET" "sessions.5a1b409954358a2d7bd34f60f6f0fd1b" > 1407312495.400411 "EXPIRE" "sessions.5a1b409954358a2d7bd34f60f6f0fd1b" "3600" > 1407312495.535597 "GET" "sessions.5a1b409954358a2d7bd34f60f6f0fd1b" > 1407312495.535703 "EXPIRE" "sessions.5a1b409954358a2d7bd34f60f6f0fd1b" "3600" > 1407312496.345881 "GET" "0.0.0.0.0.json" > 1407312496.346137 "GET" "dns.cache.0.0.0.0" > 1407312496.346219 "EXPIRE" "0.0.0.0" "3600" > 1407312496.346335 "HGET" "ntop.alternate_names" "0.0.0.0" > 1407312496.346425 "GET" "224.0.0.1.0.json" > 1407312496.346653 "GET" "dns.cache.224.0.0.1" > 1407312496.346732 "EXPIRE" "224.0.0.1" "3600" > 1407312496.346820 "HGET" "ntop.alternate_names" "224.0.0.1" > 1407312496.385261 "LPOP" "dns.toresolve" > 1407312496.385346 "LPOP" "dns.toresolve" > > Do you have a solution for me to resolved this problem ? > > Do you have follow some guide? > > > > Thank you in advance for your help > > Sincerely, > > Filippo > > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
