Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl: (7) Failed to connect to localhost port 9200: Connection refused #67

Closed
mhabou opened this issue Jun 24, 2016 · 10 comments
Closed

Comments

@mhabou
Copy link

mhabou commented Jun 24, 2016

Hi

curl localhost:9200

i got this error

curl: (7) Failed to connect to localhost port 9200: Connection refused

ubuntu 15.10 32 bits

@afoucret
Copy link
Contributor

The issue is not in ElasticSuite but more likely in your ElasticSearch install.

Can you check you ran all steps described here : https://github.com/Smile-SA/elasticsuite/wiki/ServerConfig

BR,

@mhabou
Copy link
Author

mhabou commented Jun 27, 2016

@afoucret
I followed all the steps

@afoucret
Copy link
Contributor

Are you using any virtualization or container stuff ?

The problem is clearly related with your ElasticSearch setup and not in ElasticSuite.
It seems that the service is not started.

I would start by checking this : https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-service.html#using-systemd

@mhabou
Copy link
Author

mhabou commented Jun 27, 2016

@afoucret
The service is not starting

I'm not using any virtualization or container stuff

root@sofisoft-OptiPlex-380:/var/www/html# java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) Server VM (build 25.91-b14, mixed mode)

root@sofisoft-OptiPlex-380:/var/www/html# /etc/init.d/elasticsearch stop
[ ok ] Stopping elasticsearch (via systemctl): elasticsearch.service.
root@sofisoft-OptiPlex-380:/var/www/html# /etc/init.d/elasticsearch start
[ ok ] Starting elasticsearch (via systemctl): elasticsearch.service.
root@sofisoft-OptiPlex-380:/var/www/html# 

@afoucret
Copy link
Contributor

Since this issue is purely related to running ElasticSearch on Ubuntu 15.10, it would be better to look for a solution into the ElasticSearch community (and start digging into the elasticsearch github repo https://github.com/elastic/elasticsearch).

IMHO it is not related to ElasticSuite at all and this issue should be closed.

@mhabou
Copy link
Author

mhabou commented Jun 27, 2016

Where can i find any log of ElasticSearch ?

@afoucret
Copy link
Contributor

You will find log into /var/log/elasticsearch.
If the problem occurs during startup, useful information can sometines be found into the syslog (/var/logsyslog ?)

As explained in my previous response I close this issue which is not related directly with ElasticSuite.

Thx

@mhabou
Copy link
Author

mhabou commented Jun 27, 2016

no log file in this folder
/var/log/elasticsearch/

no log related to elasticsearch in
/var/log/syslog

@sravankumark
Copy link

I am beginner for ElasticSearch and i would like to install ES in my AWS RHEL 7.2, Can you please share the steps for installation.
Thank you

@asabanovic
Copy link

Here is a tutorial on how to install it and what issues to watch out for (Elasticsearch 5) on ubuntu/homestead
https://medium.com/@adnanxteam/how-to-install-elasticsearch-5-and-kibana-on-homestead-vagrant-60ea757ff8c7

romainruaud added a commit to romainruaud/elasticsuite that referenced this issue Nov 24, 2021
…n-query

 #ESP-244 Display explain query in BO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants