继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

安装Gbase报错service cgconfig is not exist on hosts 解决办法

donlex
关注TA
已关注
手记 23
粉丝 17
获赞 99

安装Gbase8a时出现以下错误:

Environmental Checking on gcluster nodes.
Cgconfig service is not exist on host [‘192.168.48.18’, ‘192.168.48.19’, ‘192.168.48.20’], resource manangement can not be used, continue ([Y,y]/[N,n])?

检查以下安装包是否安装,如缺少请安装

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

之后重新启动安装程序就可以了。

打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP