Saturday, 27th April 2024

Comment posted Fix vnstat error “eth0: Not enough data available yet.” on Debian GNU / Linux by .

Recent comments by

Share this on:

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

No Responses to “…”

  1. Thibs says:
    Firefox 8.0 Firefox 8.0 Windows 7 x64 Edition Windows 7 x64 Edition
    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 Comment
  2. hip0 says:
    Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
    Mozilla/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 Comment
  3. Lister says:
    Firefox 14.0.1 Firefox 14.0.1 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/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 Comment
  4. Andy says:
    Google Chrome 22.0.1229.94 Google Chrome 22.0.1229.94 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/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 Comment
  5. Ap says:
    Google Chrome 64.0.3282.186 Google Chrome 64.0.3282.186 Windows 10 x64 Edition Windows 10 x64 Edition
    Mozilla/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