This issue has come up with newer version(s) of the ntopng deb. Specifically I was just now testing with this deb:
http://packages.ntop.org/apt-stable/16.04/x64/ntopng_3.8.190219-6179_amd64.deb and using this /etc/ntopng/ntopng.conf --http-port=0 --https-port=3000 --data-dir=/usr/local/ntopng --local-networks="192.168.0.0/16,10.0.0.0/8,172.16.0.0/12" --interface=eth1 --interface=eth2 --dns-mode=1 --community --daemon --disable-login=1 -G=/var/tmp/ntopng.pid If I try to start it with "systemctl start ntopng", it fails with this complaint even through stock Ubuntu redis-server is indeed running: Feb 20 19:29:35 nsm.server.org ntopng[7443]: 20/Feb/2019 19:29:35 [Redis.cpp:111] ERROR: ntopng requires redis server to be up and running Feb 20 19:29:35 nsm.server .org ntopng[7443]: 20/Feb/2019 19:29:35 [Redis.cpp:112] ERROR: Please start it and try again or use -r Feb 20 19:29:35 nsm.server .org ntopng[7443]: 20/Feb/2019 19:29:35 [Redis.cpp:113] ERROR: to specify a redis server other than the default Manually adding the -r option to ntopng.conf pointed at the running redis-server listener makes no difference. But if I start it ntopng the manual way, it starts up, daemonizes, and works just fine in my web browser: /usr/local/bin/ntopng /etc/ntopng/ntopng.conf In either case, my redis-server is installed and running just fine root@nsm:~# apt info redis-server E: Invalid operation info root@nsm:~# apt show redis-server Package: redis-server Version: 2:3.0.6-1ubuntu0.3 Priority: optional Section: universe/misc Source: redis Origin: Ubuntu ... root@nsm:~# systemctl status redis-server ● redis-server.service - Advanced key-value store Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2019-02-20 18:31:08 UTC; 56min ago ... Somehow it appears that the running redis-server process is invisible to systemd where ntopng is involved, thus preventing my from using systemctl to start it. Do you have any idea what might be going on? Kevin Branch
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
