Please I need help I can’t access lxd,

-------- Please I need help I can’t access lxd, I have important information and software inside containers virtual machines.

~$ lxd --version
6.1

~$ systemctl list-jobs
JOB UNIT TYPE STATE
14107 snap.lxd.activate.service start running

1 jobs listed.

-------- lxd is working

~$ systemctl status snap.lxd.activate.service
● snap.lxd.activate.service - Service for snap application lxd.activate
Loaded: loaded (/etc/systemd/system/snap.lxd.activate.service; enabled; vendor preset: enabled)
Active: activating (start) since Fri 2024-07-19 19:19:25 WEST; 21min ago
Main PID: 33574 (daemon.activate)
Tasks: 13 (limit: 27989)
Memory: 19.4M
CPU: 229ms
CGroup: /system.slice/snap.lxd.activate.service
├─33574 /bin/sh /snap/lxd/29469/commands/daemon.activate
└─33616 lxd activateifneeded

jul 19 19:19:25 luiz-Vivobook systemd[1]: Starting Service for snap application lxd.activate…
jul 19 19:19:25 luiz-Vivobook lxd.activate[33574]: => Starting LXD activation
jul 19 19:19:25 luiz-Vivobook lxd.activate[33574]: ==> Loading snap configuration
jul 19 19:19:25 luiz-Vivobook lxd.activate[33574]: ==> Checking for socket activation support
jul 19 19:19:25 luiz-Vivobook lxd.activate[33574]: ==> Setting LXD socket ownership
jul 19 19:19:25 luiz-Vivobook lxd.activate[33574]: ==> Setting LXD user socket ownership
jul 19 19:19:25 luiz-Vivobook lxd.activate[33574]: ==> Checking if LXD needs to be activated

-------- the service is working

-------- but I can’t do anything with lxd, when I run the commands “sudo lxd”, “lxc list” or “lxc info” nothing happens and the terminal stops indefinitely

~$ sudo lxd --debug --group lxd
DEBUG [2024-07-19T20:11:45+01:00] Connecting to a local LXD over a Unix socket
DEBUG [2024-07-19T20:11:45+01:00] Sending request to LXD etag= method=GET url=“http://unix.socket/1.0

-------- the terminal stops indefinitely

Hey,

lxd is a Canonical product and therefore support for it is in: LXD - Ubuntu Community Hub

Glancing quickly over some threads there seems to be somewhat related issues, but please move your issue there and they should be able to aid you.

Hi!

In this forum we used to provide support for LXD but due to recent events, we switched to Incus, which is a continuation of the old LXD. Both still have a lot of similarities but also important differences, including the different packaging (Incus is not provided as a snap package which simplifies troubleshooting and recovery).

There’s a migration process from LXD to Incus, though you would need to get access first to the storage pool.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.