Jump to content

Rgd [AR-556] – Adding vnstat ( and ZFS support to MOTD )


Go to solution Solved by dolphs,

Recommended Posts

Posted

Just flashed rockpi-4a current buster image and it looks like I hit

"  Error: Unable to read database "/var/lib/vnstat/wg0": No such file or directory Merge "eth0+wg0" failed. ",

which can be shown here

 

Spoiler

login as: root
root@rockpi-4a's password:
 ____            _          _   _  _     _
|  _ \ ___   ___| | ___ __ (_) | || |   / \
| |_) / _ \ / __| |/ / '_ \| | | || |_ / _ \
|  _ < (_) | (__|   <| |_) | | |__   _/ ___ \
|_| \_\___/ \___|_|\_\ .__/|_|    |_|/_/   \_\
                     |_|
Welcome to Armbian 21.05.2 Buster with bleeding edge Linux 5.12.6-rockchip64

System load:   2%               Up time:       12 min
Memory usage:  6% of 1.93G      IP:            192.168.10.66
CPU temp:      42°C             Usage of /:    15% of 15G
RX today:      Error: Unable to read database "/var/lib/vnstat/wg0": No such file or directory Merge "eth0+wg0" failed.
 

 

Also have been checking vnstat to merge wg0 but did not succeed,

perhaps one can give me a hand please? TiA!

These are the adapters present:

 

Spoiler

rockpi-4a:~:# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 86:67:c3:ba:43:ca brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.66/24 brd 192.168.10.255 scope global dynamic noprefixroute eth0
       valid_lft 3318sec preferred_lft 3318sec
3: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
    link/none
 

 

  • Solution
Posted

looks like this helped in the end: " rockpi-4a:~:# vnstat -i wg0 --update "
 

Spoiler

Error: Unable to read database "/var/lib/vnstat/wg0": No such file or directory
Info: -> A new database has been created. 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines