I started a container and got this error and now every LXD command throws this error, not seen it before, its a new server, I can access apache through the container.
$ lxc start container1
ERROR: ld.so: object '/usr/local/lib/libdb.so' from /etc/ld.so.preload cannot be preloaded (failed to map segment from shared object): ignored.
$ lxd version
ERROR: ld.so: object '/usr/local/lib/libdb.so' from /etc/ld.so.preload cannot be preloaded (failed to map segment from shared object): ignored.
4.0.6
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
I have not done anything different to setting up LXD, and I have setup LXD inside VMs more than 20 times, following the same instructions.
Update the system, install zfs-utils, set the production values. This error only comes up when running the LXD commands, running other commands do not.
The preloading is something I did not set. So I have no clue why this has happened.
EDIT
I have since formatted the server, but I am still curious to if this a hardware problem or what.