1

Suddenly systemctl stopped to work while I ssh'ed in my remote server to check service status. Output was

Failed to list units: Launch helper exited with unknown return code 1

I discovered that now upstart is used (after a couple of reboots trying to make systemctl work).

Can I use systemd as my main init again? I didn't found any info how to switch from upstart to systemd here.

Ubuntu 16.04.5.

8
  • Thought of upgrading to 18.04? May 9, 2019 at 12:18
  • @GunnarHjalmarsson hmm, have'nt until now. Can I upgrade without breaking my webservers and so on? I found this question so far
    – Tarasovych
    May 9, 2019 at 12:21
  • Of course the process is backup and then upgrade! May 9, 2019 at 12:22
  • 1
    @Tarasovych: Nobody can guarantee that you won't need to tweak a thing or two to adapt to updated software. The upside is that you get an Ubuntu version which lasts until 2023 instead of 2021, and systemd is there by default. May 9, 2019 at 12:27
  • 1
    See this serverfault.com/a/778202/369307, but of course a backup is need! May 9, 2019 at 12:37

1 Answer 1

0

Thanks to George Udosen, I found this article.

I edited /etc/default/grub - added init=/bin/systemd to GRUB_CMDLINE_LINUX_DEFAULT, than restarted the server sudo shutdown -r now

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .