Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. Connection Failed
  2.  
  3. Possibility #1: Your elasticsearch server is down or unreachable
  4.  
  5. This can be caused by a network outage, or a failure of the Elasticsearch process. If you have recently run a query that required a terms facet to be executed it is possible the process has run out of memory and stopped. Be sure to check your Elasticsearch logs for any sign of memory pressure.
  6.  
  7. Possibility #2: You are running Elasticsearch 1.4 or higher
  8.  
  9. Elasticsearch 1.4 ships with a security setting that prevents Kibana from connecting. You will need to set http.cors.allow-origin in your elasticsearch.yml to the correct protocol, hostname, and port (if not 80) that your access Kibana from. Note that if you are running Kibana in a sub-url, you should exclude the sub-url path and only include the protocol, hostname and port. For example, http://mycompany.com:8080, not http://mycompany.com:8080/kibana.
  10.  
  11. Click back, or the home button, when you have resolved the connection issue
  12.  
  13. [root@logs:~] #ps -ef | grep elasticsearch | grep -i -v -e grep -e screen
  14.  
  15. root 16666 9640 6 09:00 pts/1 00:05:49 /etc/alternatives/javahome/bin/java -Xms256m -Xmx1g -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC - XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.foreground=yes -Des.path.home=/usr/local/elasticsearch-1.1.1 -cp :/usr/local/elasticsearch-1.1.1/lib/elasticsearch-1.1.1.jar:/usr/local/elasticsearch- 1.1.1/lib/*:/usr/local/elasticsearch-1.1.1/lib/sigar/* org.elasticsearch.bootstrap.Elasticsearch
  16.  
  17. [root@logs:~] #netstat -tulpn | grep -i listen | grep java
  18.  
  19. tcp 0 0 :::2541 :::* LISTEN 16722/java
  20.  
  21. tcp 0 0 :::9200 :::* LISTEN 16666/java
  22.  
  23. tcp 0 0 :::9300 :::* LISTEN 16666/java
  24.  
  25. tcp 0 0 :::9301 :::* LISTEN 16722/java
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement