Blue Whale Question Library

1. cmdb not start up, get up to check kafka

/ the Data / install / bkcec Start CMDB   # start CMDB 
/ the Data / install / bkcec Start Kafka used to live   # start Kafka used to live 
/ the Data / install / bkcec Status Kafka used to live   # View fail 
LS / the Data / bkce / logs / Kafka used to live     # view the log and found that the connection is not on zk, zk can not resolve the domain name 
/ the Data / install / bkcec status zk # zk state is normal to see the 
problem analysis: 
the first deployment of the script will add a local dns, but lost after restarting the machine 
problems solved: 
adding local dns 
vi / etc / resolv.conf 
added in front of a multi-line: nameserver 127.0.0.1     # blue whale script this step, but after the restart the virtual machine disappears 
permanently added: 
vi / etc / sysconfig / Network-scripts / ifcfg- eth0 
DNS1 = 127.0 .0.1 
DNS2Your original dns =

Guess you like

Origin www.cnblogs.com/CGCong/p/12165318.html