LXD ERROR create VM

Hi all,
When I init LXD VM, I have problem: error while loading shared libraries: libdqlite.so.0: cannot open shared object file: No such file or directory

I am using: Opennebula 5.8.1
LXD node version: ubuntu 18.10

Thanks.

That seems to be a direct dependency of lxd missing on your setup. If you are using 1810, I imagine you are using lxd via snapd, please make sure to be using the LTS snap package version of lxd,

snap install lxd --channel=3.0/stable

Hi dann1,
I check with your command and this is resulf:
snap "lxd" is already installed, see 'snap help refresh'

root:~# snap list
Name  Version    Rev    Tracking  Publisher   Notes
core  16-2.38.1  6818   stable    canonical✓  core
lxd   3.12       10601  stable/…  canonical✓  -

Thanks

Try swapping to the stable channel

snap refresh hello --channel=3.0/stable

or if that fails,

snap remove lxd
snap install lxd --channel=3.0/stable

Hi,
This is my result:

root:~# snap refresh hello --channel=3.0/stable
snap "hello" is not installed
root:~# snap remove lxd
lxd removed
root:~# snap install lxd --channel=3.0/stable
lxd (3.0/stable) 3.0.3 from Canonical✓ installed
root:~# snap refresh hello --channel=3.0/stable
snap "hello" is not installed
root:~# /snap/lxd/current/bin/lxd forkstart one-29 /var/snap/lxd/common/lxd/containers /var/snap/lxd/common/lxd/logs/one-29/lxc.conf
/snap/lxd/current/bin/lxd: error while loading shared libraries: libdqlite.so.0: cannot open shared object file: No such file or directory
root:~# snap list
Name  Version    Rev   Tracking  Publisher   Notes
core  16-2.38.1  6818  stable    canonical✓  core
lxd   3.0.3      9663  3.0       canonical✓  -

Thanks

No idea, but that is a LXD specific issue, the missing library should be provided by the snap package itself.

Hi,
I reinstall node OS with ubuntu 18.04 and everything fine :slight_smile:.

Thank.