On 17/02/2023 12:45, nfsen-discuss-requ...@lists.sourceforge.net wrote:
[image: image.png]
Your image was stripped from the digest and from the mailing list
archives, so is not visible. Please copy-paste the error message as text.
In PortTracker.pm there will be a line like this:
my $PORTSDBDIR = "/data/ports-db";
You need to make sure that directory exists and is writeable by the
netflow user/group.
Then you should initialize the database *as that user*. For example:
sudo -u netflow nftrack -I -d /data/ports-db
This creates about 8GB of files. Then just to be sure, update the
permissions:
sudo chown -R netflow:www-data /data/ports-db
sudo chmod 775 /data/ports-db
sudo chmod 664 /data/ports-db/*
> # grep -i 'porttracker.*success' /var/log/syslog
It would be better to do:
# grep -i nfsen /var/log/syslog
Then you might see errors as well as 'success' messages.
I believe you can get additional debugging by setting `$DEBUG = 1` in
/var/www/html/nfsen/conf.php, and then looking in /var/tmp/nfsen.log
(but I've not tested this)
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss