Monday, December 09, 2013

Skipping index creation, cannot connect to ElasticSearch

Error:

Skipping index creation, cannot connect to ElasticSearch
(The original exception was: #<Errno::ECONNREFUSED: Connection refused - connect(2)>)

Solution:
sudo apt-get update
Before install elastic search you need to install java first.
so install java from here.

If you want to use latest version of ElasticSerach then change below link:
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.7.deb
sudo dpkg -i elasticsearch-0.90.7.deb
For start elasticsearch do this:
sudo service elasticsearch start

0 comments:

Post a Comment