After installing vnstat with homebrew:

brew install vnstat

and opening it, i got following error:

Error: Failed to open database "/usr/local/var/db/vnstat/vnstat.db" in read-only mode.
The vnStat daemon should have created the database when started.
Check that it is configured and running. See also "man vnstatd"

It seems, that the daemon is not running.

1 Answer 1


The solution was to start the service via brew:

sudo brew services start vnstat

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .