昊鼎王五:启动job报错的解决方案,解决license启动失败方案

#昊鼎王五:启动job报错的解决方案,解决license启动失败方案

Q.前提知识:

本文基于《昊鼎王五:如何安装蓝鲸智云v3.1.7社区版本之002安装主要产品?》
https://blog.csdn.net/haoding205/article/details/82698663
本篇记录启动job报错的解决方案,解决license启动失败方案

#1.蓝鲸license的使用要求

关闭nscd 服务
证书需要同时用license和gse所在服务器mac地址同时申请
resolv.conf 文件第一行添加 nameserver 127.0.0.1(3台服务器都需要加,若文件中有 option 选项中有 rotate 字样, 需要去掉"rotate",路径/etc/)
license.service.consul 能否解析到 ip(可以用ping,dig)
  ping  license.service.consul(注意是ping)
如果不能,检查 consul,license进程是否启动
./bkcec status consul
./bkcec status license
--------------如果以上检查没有问题还是无法解析,可以重启consul再解析ip
./bkcec stop consul
./bkcec start consul
日志,登录job所在服务器:/data/bkce/logs/job/job.log
[root@hd101 yum.repos.d]# ifconfig  | egrep "ether"
        ether 90:b1:1c:93:ab:29  txqueuelen 1000  (Ethernet)

#2.查看蓝鲸证书

[root@hd103 install]# ./bkcec status consul
[192.168.1.101] consul: RUNNING
[192.168.1.102] consul: RUNNING
[192.168.1.103] consul: RUNNING
[root@hd103 install]# ./bkcec status license
[192.168.1.102] license: EXIT
[root@hd103 install]# ./bkcec status gse
[192.168.1.103] gse_api: RUNNING
[192.168.1.103] gse_btsvr: RUNNING
[192.168.1.103] gse_data: RUNNING
[192.168.1.103] gse_dba: RUNNING
[192.168.1.103] gse_task: RUNNING
[root@hd103 install]#
license和gse所在服务器就是102和103机器。

#3.更换证书后需要执行哪些操作

	1. 重新生成证书,将证书解压到/data/src/cert/
	2. ./bkcec stop job
	3. ./bkcec stop gse
	4. ./bkcec stop license
	5. ./bkcec sync all
	6. ./bkcec install license
	7. ./bkcec install job
	8. ./bkcec install gse
	9. ./bkcec start license
	10. ./bkcec start gse
	11. ./bkcec start job

实践如下:

http://bbs.bk.tencent.com/forum.php?mod=viewthread&tid=570&page=2#pid2128


[root@hd103 install]# ./bkcec start license
[192.168.1.103]20180411-181920 425   start license on host: 192.168.1.102
[192.168.1.102]20180411-181921 31   start license done
[root@hd103 install]# ./bkcec status license
[192.168.1.102] license: RUNNING
[root@hd103 install]# ./bkcec start gse
[192.168.1.103]20180411-182001 425   start gse on host: 192.168.1.103
start dba..
start data..
start task..
start btsvr..
start api..
[root@hd103 install]# ./bkcec status gse
[192.168.1.103] gse_api: RUNNING
[192.168.1.103] gse_btsvr: RUNNING
[192.168.1.103] gse_data: RUNNING
[192.168.1.103] gse_dba: RUNNING
[192.168.1.103] gse_task: RUNNING
[root@hd103 install]# ./bkcec start job
[192.168.1.103]20180411-182031 425   start job on host: 192.168.1.103
Starting job.........(PID=8012)...[Success]
[root@hd103 install]# ./bkcec status job
[192.168.1.103] job: RUNNING
[root@hd103 install]#

#4.其他参考
http://bbs.bk.tencent.com/forum.php?mod=viewthread&tid=570&page=2#pid2128
http://bbs.bk.tencent.com/forum.php?mod=viewthread&tid=570&page=1#pid2111

好了,聪明如你,知道了启动job报错的解决方案,解决license启动失败方案,是不是很欢喜 _

还有其他问题的可以在评论区留言或者扫码加博主获取资源或者提问。
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值