I have ntopng up and running on Ubuntu 14.10. I simply did an apt-get install, I did not compile from sources. I can manually start ntopng by running "sudo service ntopng start", but ntopng does not automatically start at boot. I see a start script in /etc/init.d. I checked /var/log/ntopng/ntopng.log and see the following messages:
bruce@HomeServer:/var/log/ntopng$ more ntopng.log 06/Feb/2015 22:25:09 [Ntop.cpp:461] 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/Feb/2015 22:25:09 [PcapInterface.cpp:54] Reading packets from interface eth0. .. 06/Feb/2015 22:25:09 [Ntop.cpp:568] Registered interface eth0 [id: 0] 06/Feb/2015 22:25:09 [Utils.cpp:235] User changed to nobody 06/Feb/2015 22:25:09 [Ntop.cpp:435] Parent process is exiting (this is normal) 06/Feb/2015 22:25:09 [main.cpp:147] PID stored in file /var/tmp/ntopng.pid 06/Feb/2015 22:25:09 [HTTPserver.cpp:342] HTTP server listening on port 3000 [/u sr/share/ntopng/httpdocs][/usr/share/ntopng/scripts] 06/Feb/2015 22:25:09 [main.cpp:179] Using RRD version 1.4.8 06/Feb/2015 22:25:09 [main.cpp:188] Working directory: /var/lib/ntopng/ntopng 06/Feb/2015 22:25:09 [main.cpp:190] Scripts/HTML pages directory: /usr/share/nto png 06/Feb/2015 22:25:09 [Ntop.cpp:165] Welcome to ntopng x86_64 v.1.1 (r) - (C) 199 8-13 ntop.org 06/Feb/2015 22:25:09 [Redis.cpp:34] ERROR: Unable to connect to redis 127.0.0.1: 6379 06/Feb/2015 22:25:09 [Redis.cpp:37] ERROR: ntong requires redis server to be up and running 06/Feb/2015 22:25:09 [Redis.cpp:38] ERROR: Please start it and try again or use -r 06/Feb/2015 22:25:09 [Redis.cpp:39] ERROR: to specify a redis server other than the default When I enter "service redis-server status" I see redis-server running. I'm not sure if ntopng is trying to start before redis-server is completely up. I can manually start ntopng using "sudo service ntopng start" and see good data being captured and presented. What should I check next to take care of the redis-server / ntopng problem at reboot?
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
