This same issue was first reported in Debian bug #589454 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589454) and fixed upstream in vnStat 1.11 months ago:
1.11 / 1-Jun-11 - Fix: Memory allocation was miscalculated when creating interface list from /sys/class/net when /proc/net/dev wasn't available which in turn could crash the daemon - Fix: Daemon database cache could remain empty after a -HUP signal - Fix: Don't make temp directory in vnstat.cgi writable for everyone - Import GNU/kFreeBSD support from Debian (#608963, patch by Mats Erik Andersson) - Remove usage of GNU only '-D' option for install for BSD in Makefile - The daemon now automatically creates databases for available interfaces if no databases are found during startup ** Bug watch added: Debian Bug tracker #589454 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589454 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/836739 Title: "zero database" error on install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vnstat/+bug/836739/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs