0
시작되지 않습니다 : Centos cgconfig fails to startcgconfig 서비스는 이미이 게시물을 참조한
내가 CentOS는 7 기계가 있습니다. 나는 주석 다음과 같은 /etc/cgconfig.conf 파일을 메모리에 남겨 시도했다 :
mount {
cpuset = /cgroup/cpuset;
cpu = /cgroup/cpu;
cpuacct = /cgroup/cpuacct;
memory = /cgroup/memory;
devices = /cgroup/devices;
freezer = /cgroup/freezer;
net_cls = /cgroup/net_cls;
blkio = /cgroup/blkio;
}
내가 수동으로 디렉토리 구조 것을 만들었습니다. 내가 service cgconfig start
를 실행하면, systemctl status cgconfig.service
나에게이 있습니다 :
cgconfig.service - Control Group configuration service
Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-03-14 20:27:40 EDT; 18s ago
Process: 6713 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -L /etc/cgconfig.d -s 1664 (code=exited, status=101)
Main PID: 6713 (code=exited, status=101)
Mar 14 20:27:40 localhost.localdomain systemd[1]: Starting Control Group configuration service...
Mar 14 20:27:40 localhost.localdomain cgconfigparser[6713]: /usr/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mounting failed
Mar 14 20:27:40 localhost.localdomain cgconfigparser[6713]: Error: cannot mount cpu to /cgroup/cpu: Device or resource busy
Mar 14 20:27:40 localhost.localdomain systemd[1]: cgconfig.service: main process exited, code=exited, status=101/n/a
Mar 14 20:27:40 localhost.localdomain systemd[1]: Failed to start Control Group configuration service.
Mar 14 20:27:40 localhost.localdomain systemd[1]: Unit cgconfig.service entered failed state.
Mar 14 20:27:40 localhost.localdomain systemd[1]: cgconfig.service failed.
가 나는 또한 /proc/mounts
에 아마 마운트 해제 CPU를보고 시도했습니다.
cgconfig 서비스를 시작하는 데 도움이 될 것입니다. Ubuntu
에서 실행
이 주제를 오프 주제로 닫는 투표. Stackoverflow는 프로그래밍 관련 질문에만 사용됩니다. [주제/도움말]에서 주제를 물어보십시오. 도움은 또한이 질문이 적합한 다른 SE 사이트에 대한 제안을 제공합니다. – kaylum