I am new to Ubuntu. Just installed Ubuntu server 16.04 onto Dell R730 server yesterday. The first time reboot was okay. But the server refused to boot today. The error message was: Failed to start LXD.

boot messages

Can anyone please help?

share|improve this question
    
Just searched web. Press Ctrl + Alt + F1, and it booted successfully. Removed grub and reinstalled grub again. And the problem is gone. – G.Z Jun 7 '16 at 9:47

This problem is after upgrade. LXD service needs to be restarted using the root account.

sudo service lxd restart

You have to reboot afterwards, e.g. using this command:

sudo reboot
share|improve this answer
1  
No need enter a root shell using sudo su. Simply put the sudo in front of every single command that needs to be run as root. That way you have the commands logged under your account and you have greater control over what is running with elevated privileges. – Byte Commander Jun 13 '16 at 18:02
    
That did solve the issue. Thanks a lot! – G.Z Jun 15 '16 at 10:56
    
After executing "sudo service lxd restart", it takes so long time to "Starting LXD - main daemon...". Is this normal? – Kin Jun 18 '16 at 9:34
    
I encountered this problem after a fresh install of Ubuntu Server 16.04, not an upgrade. Your solution also worked here. Thanks. – Jochem Kuijpers Jul 7 '16 at 12:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.