skip to Main Content

Ubuntu – Couldn't connect to server when using Elasticsearch

When using Localhost it's working fine root@ip-172-16-0-102:/home/ubuntu# curl localhost:9200 { "name" : "ip-172-16-0-102", "cluster_name" : "elasticsearch", "cluster_uuid" : "xXGFhvjvR_qbJK_oC0YPSg", "version" : { "number" : "8.13.4", "build_flavor" : "default", "build_type" : "deb", "build_hash" : "da95df118650b55a500dcc181889ac35c6d8da7c", "build_date" : "2024-05-06T22:04:45.107454559Z", "build_snapshot" : false,…

VIEW QUESTION

Only on EC2 Ubuntu, elasticsearch by docker doesn't work

Error log { "@timestamp":"2024-03-19T14:25:08.633Z", "log.level":"ERROR", "message":"fatal exception while booting Elasticsearch", "ecs.version":"1.2.0", "service.name":"ES_ECS", "event.dataset":"elasticsearch.server", "process.thread.name":"main", "log.logger":"org.elasticsearch.bootstrap.Elasticsearch", "elasticsearch.node.name":"ella", "elasticsearch.cluster.name":"es", "error.type":"java.lang.IllegalStateException", "error.message":"failed to obtain node locks, tried [/usr/share/elasticsearch/data]; maybe these locations are not writable or multiple nodes were started on the same data…

VIEW QUESTION

Azure – Encountering a “No route to host” error when trying to access my Elasticsearch cluster?

I have a elastic search cluster installed in my Azure Virtual machine (linux) with private ip 10.176.83.156 and the elasticsearch.yml file have following values cluster.name: Test-cluster node.name: node-1 path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch network.host: 0.0.0.0 http.port: 9200 xpack.security.enabled: true xpack.security.enrollment.enabled: true…

VIEW QUESTION
Back To Top
Search