Skip to content

Instantly share code, notes, and snippets.

@tarr1124
Created May 25, 2015 08:36
Show Gist options
  • Save tarr1124/71fd63bc2dd6ab944c4a to your computer and use it in GitHub Desktop.
Save tarr1124/71fd63bc2dd6ab944c4a to your computer and use it in GitHub Desktop.
elasticsearchが動かなかった時の調査メモ ref: http://qiita.com/tarr1124/items/49e69bda3359a68302b1
$ curl localhost:9200
{
"status" : 200,
"name" : "Wilson Fisk",
"version" : {
"number" : "1.1.1",
"build_hash" : "f1585f096d3f3985e73456debdc1a0745f512bbc",
"build_timestamp" : "2014-04-16T14:27:12Z",
"build_snapshot" : false,
"lucene_version" : "4.7"
},
"tagline" : "You Know, for Search"
}
$ curl -X GET http://localhost:9200/_cat/nodes
<hostname> 100.67.120.153 4 17 0.00 d * Wilson Fisk
$ curl -X GET http://localhost:9200/_cat/shards
apache_access-201405 0 p STARTED 271 115.4kb 100.67.120.153 Wilson Fisk
kibana-int 0 p STARTED 1 12.1kb 100.67.120.153 Wilson Fisk
$ curl -X GET http://localhost:9200/_cat/count/apache_access-201405
1399435877 13:11:17 271
$ ./elasticsearch -f
which: no java in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin)
Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment