GBase 8a
安装配置
文章
安装报错service cgconfig is not exist on hosts
发表于2023-04-19 16:47:40185次浏览0个评论
问题描述:安装报错service cgconfig is not exist on hosts

解决方案:
检查以下安装包是否安装,如缺少请安装
yum list installed | grep libcgroup
yum list installed | grep libcgroup-tools
缺少则安装
yum -y install libcgroup
yum -y install libcgroup-tools
安装后设置cgroup服务开机启动
systemctl enable cgconfig.service
启动cgconfig服务
systemctl start cgconfig.service
这里如果执行报错:
Job for cgconfig.service failed because the control process
exited with error code. See“systemctl status cgconfig.service” and “journalctl -xe” for details.
则使用命令查看报错原因
systemctl status cgconfig.service
如果原因如下:
Error: cannot mount cpu to /cgroup/cpu: Device or resource busy
或
Failed to start Control Group configuration service.
则执行
cgclear - unload the cgroup filesystem
systemctl start cgconfig.service
评论已关闭
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25044
- 42023-09-25浏览数:18519
- 52020-05-11浏览数:17526