-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Yuri
Sorry for the delayed response, i was al little busy this week When i start the ntop from command line with this comand "sudo ntopng --pid /var/tmp/ntopng.pid -i eth0 -w 3000" the tool logs to the console: 08/May/2015 15:10:32 [Ntop.cpp:586] 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 08/May/2015 15:10:32 [Redis.cpp:74] Successfully connected to Redis 127.0.0.1:6379 08/May/2015 15:10:32 [PcapInterface.cpp:81] Reading packets from interface eth0... 08/May/2015 15:10:32 [Ntop.cpp:710] Registered interface eth0 [id: 0] 08/May/2015 15:10:32 [Utils.cpp:251] User changed to nobody 08/May/2015 15:10:32 [main.cpp:184] PID stored in file /var/tmp/ntopng.pid 08/May/2015 15:10:32 [HTTPserver.cpp:351] HTTPS Disabled: missing SSL certificate /usr/local/share/ntopng/httpdocs/ssl/ntopng-cert.pem 08/May/2015 15:10:32 [HTTPserver.cpp:352] Please read https://svn.ntop.org/svn/ntop/trunk/ntopng/README.SSL if you want to enable SSL. 08/May/2015 15:10:32 [HTTPserver.cpp:389] Web server dirs [/usr/local/share/ntopng/httpdocs][/usr/local/share/ntopng/scripts] 08/May/2015 15:10:32 [HTTPserver.cpp:392] HTTP server listening on port 3000 08/May/2015 15:10:32 [main.cpp:232] Working directory: /var/tmp/ntopng 08/May/2015 15:10:32 [main.cpp:234] Scripts/HTML pages directory: /usr/local/share/ntopng 08/May/2015 15:10:32 [Ntop.cpp:206] Welcome to ntopng armv7l v.1.2.1 (r1.2.1) - (C) 1998-14 ntop.org 08/May/2015 15:10:32 [PeriodicActivities.cpp:53] Started periodic activities loop... 08/May/2015 15:10:32 [RuntimePrefs.cpp:32] Dump alerts into syslog 08/May/2015 15:10:32 [NetworkInterface.cpp:800] Started packet polling on interface eth0 [id: 1]... Then I request one of the pages that brings it to fall like "http://192.168.0.2:3000/lua/host_details.lua?ifname=eth0&host=192.168.0.161&page=traffic" The server vanishes and nothing new is shown on the console. Just returns to the prompt. Intereseting for me: a) the local networks setting says "192.168.1.0/24" but the adresses should be on "192.168.0.0/24" b) after restarting ntop with the same command and refresh the browser i couls the a rendered result. But when i refreshed the browser view a third time, ntop vanished again! Mit freundlichen Grüßen Florian Chr. Auer - ------------------------------------------------------------ VMM-IS (Veranstaltungsmanagement Reitsport & IT - Solutions) http://www.vmm-is.de in cooperation with - - André Cedik - GDG www.german-digital-group.de - - PTM Webdesign www.ptmdesign.de Inh.: Florian Chr. Auer Tel.: 0172 96 20 235 Am Bakersberg 19 Fax: 03212 130 9506 E-Mail: [email protected] 24211 Falkendorf ********************************************************************** Hinweis: Die angehängte .asc Datei ist ein PGP Public Key und dient bei unterstützten Mailprogrammen zur Verifikation des Absenders. Bei einem gegenseitigen Austausch dieser ist auch eine verschlüsselte Kommunikation untereinander möglich. Weitere Informationen: - -http://de.wikipedia.org/wiki/Pretty_Good_Privacy - -https://www.datenschutzzentrum.de/selbstdatenschutz/internet/pgp/wasdas.htm ********************************************************************** Am 04.05.2015 um 22:39 schrieb Francalacci Yuri: > Could you try to run it on the console without the daemon mode. Just to check > if it catches an exception and crashes. > Yuri > > Sent from my iPhone > > Il giorno 04/mag/2015, alle ore 20:14, Florian Auer <[email protected] <mailto:[email protected]>> ha scritto: > >> > Hello > > I wanted to replace my old ntop running on a raspberry PI with the ntopng server on a raspberry PI 2 > This took me some time but last weekend I managed to compile it and got it running. > As for now it looked good. System was running several hours and monitoring > > But now i have the problem, that the server vanishes without any log entry (as far as i could find till now) out of the memory if i call some of the urls the system offers. > f.ex. > - http://192.168.0.2:3000/lua/host_details.lua?host=192.168.0.161 > - http://192.168.0.2:3000/lua/host_details.lua?ifname=eth0&host=192.168.0.161&page=alerts > - http://192.168.0.2:3000/lua/host_details.lua?ifname=eth0&host=192.168.0.1&page=traffic > > This seems to happen every time i try to visit a detail page for an ip. > > Does anyone have an idea what might be the reason for this? > > The only log the server has written for now was the startup log: > 04/May/2015 18:06:03 [Prefs.cpp:548] Logging into /var/tmp/ntopng/ntopng.log > 04/May/2015 18:06:03 [Ntop.cpp:586] 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/May/2015 18:06:03 [Redis.cpp:74] Successfully connected to Redis 127.0.0.1:6379 > 04/May/2015 18:06:03 [Ntop.cpp:560] Parent process is exiting (this is normal) > > > ntopng is running with the following commands: > /usr/local/bin/ntopng --daemon --pid /var/tmp/ntopng.pid -i eth0 -w 3000 > > The mainly done things to build (grabbed from the history): > =========================================== > sudo apt-get install subversion libglib2.0 libxml2-dev libpcap-dev libtool rrdtool librrd-dev autoconf automake autogen redis-server wget libsqlite3-dev libhiredis-dev libgeoip-dev libcurl4-openssl-dev libpango1.0-dev libcairo2-dev libpng12-dev git checkinstall build-essential rrdtool-dev libndpi-dev pfring nprobe n2disk nbox libglib2.0-dev > > wget http://sourceforge.net/projects/ntop/files/ntopng/ntopng-1.2.1.tgz > tar xvfvz ntopng-1.2.1.tgz > cd ntopng-1.2.1/ > ./autogen.sh > ./configure > make geoip > make > sudo checkinstall > > sudo mkdir /var/log/ntopng > sudo touch /var/log/ntopng/startup.log > sudo nano /etc/default/ntopng > ENABLED=1 > INTERFACES="eth0" > HTTP_PORT=3000 > ADD_ARGS="" > > sudo chmod +x /etc/default/ntopng > #created a start/stop script using /etc/default/ntopng > sudo chmod +x /etc/init.d/ntopng > >> >> _______________________________________________ >> Ntop mailing list >> [email protected] <mailto:[email protected]> >> http://listgateway.unipi.it/mailman/listinfo/ntop > > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJVTNO4AAoJEL5TmvAnLexBVCEIAJ3zjldOPkFG8iIFq8CX9DZQ tNQDodL/AiqdS/aEw9DOHiyGyMpeIMtcUdPkzb3GQEmjKuYQPld3jGwF4dhjzfz1 uKGX5/NuBziaid+lZ+W1Ki+1wI60mrm5eY12JmWwOTIF9TqaXOR85XsDdGhgdN5U FzLIdUfkpNIrxYoA6pqK8yZxLqApmV048Wi+DTe+u672kRB+1YT+1VHeyhT8HBvh 3PGKCJcKnvS+IjzwFroy45+qxPICfGmQQVbZRsau0mOKg4okwZJ8CNxPllzXbPHL RHq9/lTw29g+s3aaXzhXm2pUB9eTwd/NrnemD+2I3NfUBoYuQKOGYB1ugwb95VI= =aacB -----END PGP SIGNATURE-----
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
