Problem Description: two machines, one zookeeper_ Data can be found when the exporter is started normally, and the other one can be started normally, and then no data can be detected.
note: check through Prometheus ZK_ The exporter is alive, but the data of the machine reporting an error cannot be found
Error log: erro [0014] unable to open connection to zookeeper error = “dial TCP: lookup localhost on 8.8.8.8:53: no such host”
resolvent:
It’s a DNS problem, so check the/etc/resolv.conf file of the machine that reports an error and compare it with the file of the machine that does not report an error. If it is found that there is an inconsistency, change it to the constant one, and then solve the problem
Log in to Prometheus to view ZK_ Up data
Then the problem is solved
Read More:
- Exception record. When eclipse starts, an error is reported when workspace is opened
- Zeppelin starts successfully, but an error is reported
- Zeppelin starts successfully, but an error is reported
- Zookeeper starts the client and reports an error: java.net.connectexception: connection rejected
- An error is reported when springboot starts: error creating bean with name ‘XXXX’
- When angular4.0 starts the project, an error is reported: the “@ angular / compiler cli” package was not properly installed
- [Tomcat] an error is reported when Tomcat starts ERROR:transport error 202:bind failed:Address already
- Error in starting zookeeper in Windows: zookeeper audit is disabled
- After the eclipse Android virtual machine starts, an error will be reported: similar to SDK manager devices.xml Solution
- When the mybatis field contains an expression, an error is reported when it is stored in the database
- An error of 500 is reported when an item is assigned to a role
- Starting zookeeper to report an error already running as process
- An error is reported when the less file is introduced into main.js
- An error is reported when an android phone visits the app webpage: net::ERR_PROXY_CONNECTION_FAILED
- The imported package is gray and an error is reported
- Resourcemanger reported an error: the port is unavailable
- When the spring MVC project is running on idea, an error is reported when the controller is a null pointer
- An import error is reported in the python. The solution to setting. Pylintrc is invalid
- When react devtools is enabled, an error is reported for the project
- An error is reported when passing data pages using Ajax: Vue is not defined