[ SOLVED ] vnstat -u Error: Unable to get interface "ovpnc1" statistics.



  • Just fought with this and wanted to share. I installed cron and started getting emails with ovpnc1 errors. Turns out it was from an old vpnc interface that is disabled and doesn't show in 'ifconfig' or 'vnstat --iflist', but did have files in /var/db/vnstat.

    I removed both .ovpnc1 and ovpnc1 and 'vnstat -u' from cli worked, spam stopped, life is good.

    Hope this helps!


Log in to reply