蓝鲸-监控 排错思路
作者:互联网
1.现象和报错
1.[10.253.124.21] paas_agent() paas_agent FATAL Exited too quickly (process log may have details) 2.看paas_agent的日志 : no such host] 2019/06/06 14:09:41 http.go:183: 证书验证失败:Post https://license.service.consul:8443/certificate: dial tcp: lookup license.service.consul on 61.144.227.5:53: no such host
2.思路和解决方法
3.由报错联想到之前有重启网络 所以dns变成原来配置的 vim /etc/resolv.conf nameserver 127.0.0.1
3.当无法解析时,第一步,在报错的机器上使用dig看看consul能否解析:
dig xxx.service.consul @127.0.0.1
./bkcec stop consul
ps aux|grep consul
kill -9 pid
参考: https://docs.bk.tencent.com/bkce_maintain_faq/component/consul.html
标签:paas,service,consul,dig,排错,agent,蓝鲸,报错,监控 来源: https://www.cnblogs.com/hixiaowei/p/10986694.html