[Solved] cgroup manager fails to start in Ubuntu 18.04 LTS guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
WFV
Posts: 83
Joined: 7. Mar 2016, 13:28
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: ArchLinux; Fedora; Ubuntu; Win7pro64; WinXP
Contact:

[Solved] cgroup manager fails to start in Ubuntu 18.04 LTS guest

Post by WFV »

CGroup Manager fails to start in guest Ubuntu 18.04 LTS. Maybe cgroupmanager.service fail in a Linux guest on Windows 10 host is a non-issue being VirtualBox is the container?
I don't understand containers enough so posting here and didn't find anything related to the boot error message googling.
The guest otherwise seems to be running fine, just upgraded from 16.04 LTS to 18.04 LTS (it took almost 3hrs...).
EDIT:

Code: Select all

$ journalctl -b | grep cgmanager
Sep 08 21:39:20 VBuntu cgmanager[664]: cgmanager: Error mounting unified: No such file or directory
Sep 08 21:39:20 VBuntu cgmanager[664]: cgmanager: failed to collect cgroup subsystems
Sep 08 21:39:20 VBuntu gpu-manager[666]: /etc/modprobe.d is not a file
Sep 08 21:39:20 VBuntu systemd[1]: cgmanager.service: Main process exited, code=exited, status=1/FAILURE
Sep 08 21:39:20 VBuntu systemd[1]: cgmanager.service: Failed with result 'exit-code'.
Sep 08 21:39:21 VBuntu cgmanager[729]: cgmanager: Error mounting unified: No such file or directory
Sep 08 21:39:21 VBuntu cgmanager[729]: cgmanager: failed to collect cgroup subsystems
Sep 08 21:39:21 VBuntu gpu-manager[666]: /etc/modprobe.d is not a file
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Service hold-off time over, scheduling restart.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Scheduled restart job, restart counter is at 1.
Sep 08 21:39:25 VBuntu gpu-manager[666]: Error: can't open /lib/modules/4.15.0-33-generic/updates/dkms
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Main process exited, code=exited, status=1/FAILURE
Sep 08 21:39:25 VBuntu cgmanager[737]: cgmanager: Error mounting unified: No such file or directory
Sep 08 21:39:25 VBuntu cgmanager[737]: cgmanager: failed to collect cgroup subsystems
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Failed with result 'exit-code'.
Sep 08 21:39:25 VBuntu cgmanager[738]: cgmanager: Error mounting unified: No such file or directory
Sep 08 21:39:25 VBuntu cgmanager[738]: cgmanager: failed to collect cgroup subsystems
Sep 08 21:39:25 VBuntu cgmanager[741]: cgmanager: Error mounting unified: No such file or directory
Sep 08 21:39:25 VBuntu cgmanager[741]: cgmanager: failed to collect cgroup subsystems
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Service hold-off time over, scheduling restart.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Scheduled restart job, restart counter is at 2.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Main process exited, code=exited, status=1/FAILURE
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Failed with result 'exit-code'.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Service hold-off time over, scheduling restart.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Scheduled restart job, restart counter is at 3.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Main process exited, code=exited, status=1/FAILURE
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Failed with result 'exit-code'.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Service hold-off time over, scheduling restart.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Scheduled restart job, restart counter is at 4.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Main process exited, code=exited, status=1/FAILURE
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Failed with result 'exit-code'.
Sep 08 21:39:22 VBuntu systemd[1]: cgmanager.service: Service hold-off time over, scheduling restart.
Sep 08 21:39:22 VBuntu systemd[1]: cgmanager.service: Scheduled restart job, restart counter is at 5.
Sep 08 21:39:22 VBuntu systemd[1]: cgmanager.service: Start request repeated too quickly.
Sep 08 21:39:22 VBuntu systemd[1]: cgmanager.service: Failed with result 'exit-code'.

$ systemctl status cgmanager.service
● cgmanager.service - Cgroup management daemon
   Loaded: loaded (/lib/systemd/system/cgmanager.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-09-08 21:39:22 PDT; 10min ago
  Process: 741 ExecStart=/sbin/cgmanager -m name=systemd (code=exited, status=1/FAILURE)
 Main PID: 741 (code=exited, status=1/FAILURE)

Sep 08 21:39:21 VBuntu systemd[1]: Stopped Cgroup management daemon.
Sep 08 21:39:21 VBuntu systemd[1]: Started Cgroup management daemon.
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Main process exited, code=exited, status=1/FAILURE
Sep 08 21:39:21 VBuntu systemd[1]: cgmanager.service: Failed with result 'exit-code'.
Sep 08 21:39:22 VBuntu systemd[1]: cgmanager.service: Service hold-off time over, scheduling restart.
Sep 08 21:39:22 VBuntu systemd[1]: cgmanager.service: Scheduled restart job, restart counter is at 5.
Sep 08 21:39:22 VBuntu systemd[1]: Stopped Cgroup management daemon.
Sep 08 21:39:22 VBuntu systemd[1]: cgmanager.service: Start request repeated too quickly.
Sep 08 21:39:22 VBuntu systemd[1]: cgmanager.service: Failed with result 'exit-code'.
Sep 08 21:39:22 VBuntu systemd[1]: Failed to start Cgroup management daemon.

root@VBuntu:/home/WFV# systemctl restart cgmanager.service
root@VBuntu:/home/WFV# systemctl status cgmanager.service
● cgmanager.service - Cgroup management daemon
   Loaded: loaded (/lib/systemd/system/cgmanager.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-09-08 21:51:34 PDT; 11s ago
  Process: 2985 ExecStart=/sbin/cgmanager -m name=systemd (code=exited, status=1/FAILURE)
 Main PID: 2985 (code=exited, status=1/FAILURE)

Sep 08 21:51:34 VBuntu systemd[1]: cgmanager.service: Service hold-off time over, scheduling restart.
Sep 08 21:51:34 VBuntu systemd[1]: cgmanager.service: Scheduled restart job, restart counter is at 5.
Sep 08 21:51:34 VBuntu systemd[1]: Stopped Cgroup management daemon.
Sep 08 21:51:34 VBuntu systemd[1]: cgmanager.service: Start request repeated too quickly.
Sep 08 21:51:34 VBuntu systemd[1]: cgmanager.service: Failed with result 'exit-code'.
Sep 08 21:51:34 VBuntu systemd[1]: Failed to start Cgroup management daemon.
Some reading, but nothing so far relating to why cgroup manager fails to start in Ubuntu guest on Windows host (laptop = Lenovo T430, Windows 10 pro, 64bit):
http://www.linuxandubuntu.com/home/virt ... -container
https://www.virtualbox.org/manual/ch01.html
https://en.wikipedia.org/wiki/Cgroups
http://man7.org/linux/man-pages/man7/cgroups.7.html

If it is a non-issue I will mark as solved. Thanks.
Last edited by WFV on 9. Sep 2018, 19:36, edited 3 times in total.
WFV
Posts: 83
Joined: 7. Mar 2016, 13:28
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: ArchLinux; Fedora; Ubuntu; Win7pro64; WinXP
Contact:

Re: cgroup manager fails to start in Ubuntu 18.04 LTS guest

Post by WFV »

OK, looks like answer is here - evidently I had searched the wrong criteria, but have found plenty cgmanager vs Ubuntu 18.04 now.
The original install was 14.04 LTS, migrated to 16.4 LTS, then 18.04 LTS so cgmanager became obsolete along the way. Will try the solution later.

[SOLVED]

Code: Select all

# apt-get purge cgmanager
# apt autoremove
Post Reply