I don't know what I did, but what ever it was it wasn't good. I had to shut it down my server and move it to clean the floor and after booting it back up I noticed my containers were not running.
Running /etc/init.d/lxd start:
* Starting lxd service ...
* start-stop-daemon: /usr/libexec/lxd does not exist [ !! ]
* ERROR: lxd failed to start
I tried "rc-update del lxd default" and rebooted then "rc-update add lxd default && openrc"
Still had the same issue.
So then I tried "mkdir /usr/libexec/lxd && openrc" and I got:
* Starting lxd service ... [ ok ]
lxc list
Error: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: no such file or directory
tail -f /var/log/syslog showed me this:
/etc/init.d/lxd[21723]: ERROR: lxd failed to start
/etc/init.d/lxd[21771]: start-stop-daemon: failed to exec `/usr/libexec/lxd': Permission denied
If I start lxd as root with "lxd --group lxd" I can get my containers but I have to do it in a tmux session so I can leave it running after logging out of ssh. Doing this I am unable to tell any difference from the way my server used to start lxd via openrc.
What ever I did wrong was done days or maybe weeks ago. Did I miss configure something? Did I use the wrong option in etc-update? I have tried recompiling lxd, lxc, lxcfs, and cgmanager but it didn't change anything. I am at a loss. What should I look at next?
Question
lazlo.vii
I don't know what I did, but what ever it was it wasn't good. I had to shut it down my server and move it to clean the floor and after booting it back up I noticed my containers were not running.
Running /etc/init.d/lxd start:
I tried "rc-update del lxd default" and rebooted then "rc-update add lxd default && openrc"
Still had the same issue.
So then I tried "mkdir /usr/libexec/lxd && openrc" and I got:
tail -f /var/log/syslog showed me this:
If I start lxd as root with "lxd --group lxd" I can get my containers but I have to do it in a tmux session so I can leave it running after logging out of ssh. Doing this I am unable to tell any difference from the way my server used to start lxd via openrc.
What ever I did wrong was done days or maybe weeks ago. Did I miss configure something? Did I use the wrong option in etc-update? I have tried recompiling lxd, lxc, lxcfs, and cgmanager but it didn't change anything. I am at a loss. What should I look at next?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts