Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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
 

 

Solved by dolphs

  • Author
  • Solution

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.