Getting 503 error

hi
i m running elasticsearch and getting this error
when i try to run that getting this error

[root@rr4 ~]# curl -X GET 'http://localhost:9200'
{
"status" : 503,
"name" : "es-master",
"cluster_name" : "es-tuxfixer-cluster",
"version" : {
"number" : "1.7.3",
"build_hash" : "05d4530971ef0ea46d0f4fa6ee64dbc8df659682",
"build_timestamp" : "2015-10-15T09:14:17Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}
please also help me may be some issue in my config file so what is proper config settings waiting thanks.

i m using centos 7 dedicated server.

still waiting for that also i m getting error of that
some
[root@rr4 ~]# curl -X GET 'http://localhost:9200'
{
"name" : "node-1",
"cluster_name" : "my-application",
"version" : {
"number" : "2.1.1",
"build_hash" : "40e2c53a6b6c2972b3d13846e450e66f4375bd71",
"build_timestamp" : "2015-12-15T13:05:55Z",
"build_snapshot" : false,
"lucene_version" : "5.3.1"
},
"tagline" : "You Know, for Search"
}
is that working ?

curl: (7) Failed connect to localhost:9200; Connection refused now getting this issue

You appear to have multiple versions installed on the same host?

yes i think i have installed 2 versions 1 is 1.7 and 2nd is 2.1 something so which one is ok and how i can remove which version and plz tel me how to fix that issue which i explain above thanks.

How did you install them?

one of install them to follow this website


and one of install to follow this website

but i have running centos 7 dedicated server and now how to fix this issue plz

You would be best off following https://www.elastic.co/guide/en/elasticsearch/reference/5.2/setup.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.