Project

General

Profile

Actions

Bug #9759

closed

new vnstat doesn't work on latest 2.5, need script update

Added by Viktor Gurov over 4 years ago. Updated over 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Status Traffic Totals
Target version:
-
Start date:
09/13/2019
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.5.0
Affected Plus Version:
Affected Architecture:

Description

After pressing "Enable Graphing" button got error:

Error: Unable to open database "/var/db/vnstat/vnstat.db": No such file or directory The vnStat daemon should have created the database when started.

it seem there is problem in new vnstat-2.2

Old, vnstat-1.15 uses /usr/local/bin/vnstat -u for database update, but new one:

/usr/local/bin/vnstat -u
Error: The "-u" parameter is not supported in this version.
/usr/local/bin/vnstat 
Error: Unable to open database "/var/db/vnstat/vnstat.db": No such file or directory
The vnStat daemon should have created the database when started.
Check that it is configured and running. See also "man vnstatd".

no such problem with 2.4.4-p3

2.5.0-DEVELOPMENT (amd64)
built on Thu Sep 12 23:59:20 EDT 2019
FreeBSD 12.0-RELEASE-p10

Actions #1

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Duplicate
  • Assignee deleted (Jared Dillard)

Duplicate of #9392

Actions

Also available in: Atom PDF