I'm also getting permission denied in the log files for ntopng for basically everything under /var/db/ntopng/#/rrd (substitute # with numbers 0-5). They're owned by ntopng/wheel, so I'm not sure what's going on, but it can't seem to update rrd files
I copied the GeoIP databases to the same folder as usual (manually, as below). That seemed to work although the map view now is different and doesn't have the slick graphics it did before, feels like a step backward. I need to read up on it...maybe I'm missing something.Copy files to /usr/local/share/ntopng/httpdocs/geoip/ GeoLite2-ASN.mmdbGeoLite2-Country.mmdbGeoLite2-City.mmdbchmod +x /usr/local/opnsense/scripts/OPNsense/Ntopng/generate_certs.phpThen restarting ntopng worked. I didn't notice the log file issue.
Thanks Franco! Just updated no issues, but am seeing higher than normal CPU that looks to be attributable to ntopng. It varies between 50 and 100 (gui) vs normal idle of between 0 and 25. Looking at it via "top" it looks very high (50 to 300%). Not sure...maybe others can chime in...I've disabled it for now. Looks like that's an updated package too, but no mention in the release notes (?). Again, thanks and stay healthy!
Quote from: gpb on April 09, 2020, 03:01:50 amI copied the GeoIP databases to the same folder as usual (manually, as below). That seemed to work although the map view now is different and doesn't have the slick graphics it did before, feels like a step backward. I need to read up on it...maybe I'm missing something.Copy files to /usr/local/share/ntopng/httpdocs/geoip/ GeoLite2-ASN.mmdbGeoLite2-Country.mmdbGeoLite2-City.mmdbchmod +x /usr/local/opnsense/scripts/OPNsense/Ntopng/generate_certs.phpThen restarting ntopng worked. I didn't notice the log file issue.Can you send me the exact command? Then I can try to automate it in setup script
tail -f /var/db/ntopng/ntopng.log21/Apr/2020 19:56:01 [minute.lua:25] [rrd.lua:413] ERROR: rrd_update_r() [/var/db/ntopng/0/rrd/FTP_CONTROL.rrd][1587498960:786] failed [opening '/var/db/ntopng/0/rrd/FTP_CONTROL.rrd': Permission denied]21/Apr/2020 19:56:01 [minute.lua:25] [rrd.lua:413] ERROR: rrd_update_r() [/var/db/ntopng/0/rrd/MQTT.rrd][1587498960:2854] failed [opening '/var/db/ntopng/0/rrd/MQTT.rrd': Permission denied]21/Apr/2020 19:56:01 [minute.lua:25] [rrd.lua:413] ERROR: rrd_update_r() [/var/db/ntopng/0/rrd/WindowsUpdate.rrd][1587498960:775] failed [opening '/var/db/ntopng/0/rrd/WindowsUpdate.rrd': Permission denied]21/Apr/2020 19:56:01 [minute.lua:25] [rrd.lua:413] ERROR: rrd_update_r() [/var/db/ntopng/0/rrd/SSH.rrd][1587498960:219766] failed [opening '/var/db/ntopng/0/rrd/SSH.rrd': Permission denied]
ls -l /var/db/ntopng/0/rrd/ -rw------- 1 ntopng wheel 34640 Dec 10 01:58 AFP.rrd-rw------- 1 ntopng wheel 34640 Dec 10 01:58 AJP.rrd----rw-rw- 1 ntopng wheel 34640 Apr 2 2019 Apple.rrd-rw------- 1 ntopng wheel 34640 Apr 21 19:07 ApplePush.rrd-rw------- 1 ntopng wheel 34640 Feb 13 07:13 AppleStore.rrd-rw------- 1 ntopng wheel 34640 Apr 21 19:38 AppleiCloud.rrd----rw-rw- 1 ntopng wheel 34640 Apr 2 2019 AppleiTunes.rrd-rw------- 1 ntopng wheel 34640 Oct 24 06:27 BGP.rrd----rw-rw- 1 ntopng wheel 34640 Apr 2 2019 BJNP.rrd-rw------- 1 ntopng wheel 34640 Apr 21 19:07 BitTorrent.rrd...
opnsense-revert -r 20.1.3 ntopng
ntopng: [Utils.cpp:3351] WARNING: ntopng has not been compiled with libcap-dev