藍鯨-監控 排錯思路

1.現象和報錯html

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.思路和解決方法vim

3.由報錯聯想到以前有重啓網絡
因此dns變成原來配置的
 vim /etc/resolv.conf 
nameserver 127.0.0.1

 3.當沒法解析時,第一步,在報錯的機器上使用dig看看consul可否解析:bash


./bkcec stop consul
ps aux|grep consul
kill -9 pid
參考: https://docs.bk.tencent.com/bkce_maintain_faq/component/consul.htmldig xxx.service.consul @127.0.0.1
相關文章
相關標籤/搜索