9

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?

Casper
  • 2,978
  • 9
  • 33
  • 55
G.Z
  • 91
  • 1
  • 2
  • 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 07 '16 at 09:47

1 Answers1

7

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
Byte Commander
  • 105,631
  • 46
  • 284
  • 425
  • 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
  • 1
    After executing "sudo service lxd restart", it takes so long time to "Starting LXD - main daemon...". Is this normal? – Casper Jun 18 '16 at 09: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 07 '16 at 12:52