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]> ha > scritto: > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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 > > - -- > 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 > ********************************************************************** > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.22 (GNU/Linux) > > iQEcBAEBAgAGBQJVR7cNAAoJEL5TmvAnLexBNBcIAMkMKqimO0REYoPKmfi1FYVn > WksM5clFTinTSbrsM9h5o+x0DlYyydMowYUlWdqSX2Ol6SskbVbWSmqhFsYuC3cx > PMNsfqhNNKOEl+pVPrBWsyhBKFb0rcW1We9pZVd0wvuoeYuhLJAtj+GDATrenF3U > evOc/0bN09xsp+XJmTelHUbWexmAaTyy7sAj85/2SAiwnfM+dvXKm/gS+21UWPPy > 8OE7Q7N8p8nQ5RZaPCbD58uvhkhndJpe123EbqIL0c/djSvW6CEELhvZeeh8Jli5 > u/A4uX0nx9y6oZU8JT87vmFvXPOdQ6vf3Og7V2tJkBlA0D80ifIGeg0F8ZrrRzw= > =2DsT > -----END PGP SIGNATURE----- > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
