Background
Visit kinaba in the web page http://localhost:5601 , always prompt “kibana server is not ready yet”.
Execute the following command to view kibana logs,
docker logs kibana
Tips found:
Text
It is suspected that the internal IP of each container changes after the container is restarted.
1. Therefore, execute the following command to check the internal IP of elasticsearch container and find that it is kibana The ES container IP in yaml configuration file is inconsistent with the actual es container IP.
docker inspect --format '{{ .NetworkSettings.IPAddress }}' es container ID
// Check the id of es container
docker ps
2. Enter kibana container and update kibana.Yaml configuration file. Execute the following command to enter and edit kibana.yaml,
docker exec -it kibana container id /bin/bash
cd config
vi kibana.yml
Replace the IP address of the selected part in the figure below with the actual es container IP address, save and exit kibana.
3. Stop kibana service, delete kibana container and restart kibana.
// 3.1 Stop the kibana service
docker stop kibana container id
// 3.2 Delete the kibana container. (Not delete the kibana image! Not delete the kibana image! Not delete the kibana image!)
docker rm -f kibana container id
// 3.3 Enable running kibana
docker run --name kibana -e ELASTICSEARCH_HOST=http://es_contaner_ip:9200 -p 5601:5601 -d kibana:7.7.0
// Note: The command 'kibana:' in 3.3 above is followed by the kibana version number. To be on the safe side, it is recommended that the version of elasticsearch and kibana remain the same.
4. Browser revisit http://localhost:5601, refresh a few more times to access kibana normally.
Read More:
- [Solved] Arm Server kibana7.4.1 Error: Sending Logstash logs to /home/logstash-6.8.4/logs which is now configured via log4j2.properties
- Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to
- Docker Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid
- [Solved] matlab Error: CUDA_ERROR_SYSTEM_NOT_READY
- [vite] Internal server error:options.devServer.transformWidthEsBuild is not a function…
- [Solved] Mybatis Error: Establishing SSL connection without server‘s identity verification is not recommended.
- Huawei kafka Authentication error: Server not found in Kerberos database (7) – LOOKING_UP_SERVER
- Nacos Error: server is DOWN now, please try again later! [How to Solve]
- Abnormal [System.InvalidOperationException: custom type mapping for ‘xxx’ is not specified or is not a solution
- [Solved] PostgreSQL Remote Access Error: could not connect to server
- [Solved] (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- AUC Error – ValueError: Data is not binary and pos_label is not specified
- [Solved] PostgreSQL Error: Could not connect to server: no such file or directory
- [Solved] Android7 8 Jack server SSL error: Jack server failed to (re)start, try ‘jack-diagnose’ or see Jack server log
- The drone settings page is not trusted
- [Solved] Error(22) WARNING: IPv4 forwarding is disabled. Networking will not work.
- error: could not install *smartsocket* listener: Address already in use PM8:49 ADB server didn’t AC…
- [Solved] Error from server (InternalError): an error on the server (““) has prevented the request from suc
- Vue Browser Error: Failed to load resource: the server responded with a status of 404 (Not Found)
- [Solved] This is probably not a problem with npm. There is likely additional logging output above.