Comment posted Fix vnstat error “eth0: Not enough data available yet.” on Debian GNU / Linux by .
Recent comments by
Tags: amp, bin, bugs, cron, debian gnu, dpkg, error message, eth, ethernet interface, eye, file, GNU, gnu linux, hourseth, initial database, installdebian, lib, Linux, none, package, quot, Returned, rf, root, scratch, squeeze, statistics, tar, tar gz, time, traffic, vnstatdebian, wget, work, zxvvf
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Thanks for this new tip !
I think instead of
apt-get –yes remove vnstat
You should have done
aptitude purge vnstat
View CommentView CommentMozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6
Sure but I’m not very in love with aptitude. That’s why I do it the old fashioned way.
View CommentView CommentMozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
on squeeze work for me service vnstat restart, then works all fine
View CommentView CommentMozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4
ok,, I ran into a problem being that the vnstat -l would work fine
but everything else would show not enough data yet,
For Centos edit this two files
vi /etc/init.d/vnstat
(near top / note your system usr folder if it is “bin” or “sbin”)
VNSTATD_BIN=/usr/bin/vnstatd
then
vi /etc/cron.d/vnstat
*/5 * * * * vnstat /usr/bin/vnstat.cron
(just like the first time check on your system if it is “bin” or “sbin”)
editing these two files will make your vnstat generate data right away
View CommentView CommentMozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
Thanks Andy! 🙂
View CommentView CommentMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
Had kinda the same problem using ver 1.18 and Centos .. "vnstat -u -i eth0" did the trick
Thnx!
View CommentView Comment