Package: vnstati
Version: 1.11-2
Severity: important

Howdy,

Upon installing vnstat using the following command:

  $ apt-get install vnstati

the vnstat daemon is able to create its own database for each interface.
However, when trying to update its own database, it attempts to create
a backup database '.eth0' for example. It is unable to.

The error in syslog shows:

  vnstatd[12464]: Error: Unable create database backup "/var/lib/vnstat/.eth0".
  vnstatd[12464]: Error: Unable to write database, continuing with cached data.
  vnstatd[12464]: Database write possible again.

Running the following command has resolved the issue. I was able to
reproduce this issue on two machines running the same version of jess.

The fix for me was the following command

  $ touch /var/lib/vnstat/.eth0
  $ chown -R vnstat:vnstat /var/lib/vnstat/.eth0


--
Adam Brenner <a...@aeb.io>


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vnstati depends on:
ii  libc6   2.18-5
ii  libgd3  2.1.0-3+b1
ii  vnstat  1.11-2

vnstati recommends no packages.

vnstati suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to