Error: Unable to read database “/var/lib/vnstat/venet0

yum install vnstat

if you do something like this:

vnstat -u -i venet0

you can get error:

Error: Unable to read database “/var/lib/vnstat/venet0”.
Info: -> A new database has been created

so:

you should wait a bit and again run:
/usr/bin/vnstat -u -i venet0
vnstat -d

Leave a Reply

Your email address will not be published. Required fields are marked *