Elastic Search is showing Status Failed to Restart

Elastic Search is showing Status Failed to Restart:

  The Previously Elastic search is not working? then please follow these steps::
Remove previous versions of ElasticSearch:
sudo apt-get --purge autoremove elasticsearch
Remove the Elastic Search directories:
sudo rm -rf /var/lib/elasticsearch/

sudo rm -rf /etc/elasticsearch
Now, Re Install ElasticSearch 1.6 (as your version required ):
Downloading and Installing Elasticsearch

Elasticsearch can be downloaded directly from elastic.co in zip, tar.gz, deb, or rpm packages. For Ubuntu, it’s best to use the deb (Debian) package which will install everything you need to run Elasticsearch.

At the time of this writing, the latest Elasticsearch version is 1.7.2. Download it in a directory of your choosing with the command:

wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.6.0.deb

Then install it in the usual Ubuntu way with the dpkg command like this:

sudo dpkg -i elasticsearch-1.6.0.deb
 If you want the latest released version of Elasticsearch, go to elastic.co to find the link, and then use wget to download it to your Droplet. Be sure to download the deb package.
Go to your elastic search downloaded directory and
cd /.../downloads/.....
now, run this command,
sudo dpkg -i elasticsearch-1.6.0.deb
Selecting previously unselected package elasticsearch.
(Reading database … 215950 files and directories currently installed.)
Preparing to unpack elasticsearch-1.7.2.deb …
Creating elasticsearch group… OK
Creating elasticsearch user… OK
Unpacking elasticsearch (1.7.2) …
Setting up elasticsearch (1.7.2) …
Processing triggers for systemd (229-4ubuntu21.2) …
Processing triggers for ureadahead (0.100.0-19) …
ureadahead will be reprofiled on next reboot
Now, Start the Elastic search service,
sudo service elasticsearch start
Check the Elastic search, is it working,
sudo service elasticsearch status
Now, Check in your local machine Elastic Search is working or not…
For Output in local machine: type:
# Result::


  "status" : 200,

  "name" : "Skin",

  "cluster_name" : "elasticsearch",

  "version" : {

    "number" : "1.7.2",

    "build_hash" : "e43676b1385b8125d647f593f7202acbd816e8ec",

    "build_timestamp" : "2015-09-14T09:49:53Z",

    "build_snapshot" : false,

    "lucene_version" : "4.10.4"


  "tagline" : "You Know, for Search"




1 thought on “Elastic Search is showing Status Failed to Restart

Leave a Comment