# elasticsearch-Ansible

**URL:** <https://discuss.elastic.co/t/elasticsearch-ansible/103852>\
**Category:** Elasticsearch\
**Created:** [October 13, 2017, 8:03am UTC](https://discuss.elastic.co/t/elasticsearch-ansible/103852 "2017-10-13T08:03:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tulasiram](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@tulasiram](https://discuss.elastic.co/u/tulasiram)\
**Post date:** [October 13, 2017, 8:03am UTC](https://discuss.elastic.co/t/elasticsearch-ansible/103852/1 "2017-10-13T08:03:21Z")

</div>

elasticsearch not started and shows the error which is in SS always. it has automated by Ansible. please provide the solution that where the issue has occured and how to resolve?!.

[ansible@ip-172-31-21-60 ~]$ sudo service elasticsearch start  
Starting elasticsearch (via systemctl): Job for elasticsearch.service failed because the control process exited with error code. See "systemctl status elasticsearch.service" and "journalctl -xe" for details.  
[FAILED]  
after execute , Journalctl -xe :

Oct 13 08:23:01 ip-172-31-21-60.ap-south-1.compute.internal kibana[515]: {"type":"log","@timestamp":"2017-10-13T08:23:01Z","tags":["warning","elasticsearch","admin"],"pid":515,"message":"No living connections"}  
Oct 13 08:23:03 ip-172-31-21-60.ap-south-1.compute.internal sudo[2936]: ansible : TTY=pts/1 ; PWD=/home/ansible ; USER=root ; COMMAND=/bin/journalctl -xe

in logs 🙂  
Oct 13 08:50:49 ip-172-31-21-60.ap-south-1.compute.internal sshd[3563]: Received disconnect from 59.45.175.24 port 37388:11: [preauth]  
Oct 13 08:50:49 ip-172-31-21-60.ap-south-1.compute.internal sshd[3563]: Disconnected from 59.45.175.24 port 37388 [preauth]  
Oct 13 08:50:51 ip-172-31-21-60.ap-south-1.compute.internal kibana[515]: {"type":"log","@timestamp":"2017-10-13T08:50:51Z","tags":["warning","elasticsearch","admin"],"pid":515,"message":"Unable to revive connection: [http://172.31.21.60:9200/](http://172.31.21.60:9200/)"}  
Oct 13 08:50:51 ip-172-31-21-60.ap-south-1.compute.internal kibana[515]: {"type":"log","@timestamp":"2017-10-13T08:50:51Z","tags":["warning","elasticsearch","admin"],"pid":515,"message":"No living connections"}  
Oct 13 08:50:54 ip-172-31-21-60.ap-south-1.compute.internal kibana[515]: {"type":"log","@timestamp":"2017-10-13T08:50:54Z","tags":["warning","elasticsearch","admin"],"pid":515,"message":"Unable to revive connection: [http://172.31.21.60:9200/](http://172.31.21.60:9200/)"}  
Oct 13 08:50:54 ip-172-31-21-60.ap-south-1.compute.internal kibana[515]: {"type":"log","@timestamp":"2017-10-13T08:50:54Z","tags":["warning","elasticsearch","admin"],"pid":515,"message":"No living connections"}  
Oct 13 08:50:56 ip-172-31-21-60.ap-south-1.compute.internal kibana[515]: {"type":"log","@timestamp":"2017-10-13T08:50:56Z","tags":["warning","elasticsearch","admin"],"pid":515,"message":"Unable to revive connection: [http://172.31.21.60:9200/](http://172.31.21.60:9200/)"}  
Oct 13 08:50:56 ip-172-31-21-60.ap-south-1.compute.internal kibana[515]: {"type":"log","@timestamp":"2017-10-13T08:50:56Z","tags":["warning","elasticsearch","admin"],"pid":515,"message":"No living connections"}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 13, 2017, 8:17am UTC](https://discuss.elastic.co/t/elasticsearch-ansible/103852/2 "2017-10-13T08:17:59Z")

</div>

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them.

---

<div class="post-metadata">

**Author:** ![tulasiram](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@tulasiram](https://discuss.elastic.co/u/tulasiram)\
**Post date:** [October 13, 2017, 8:24am UTC](https://discuss.elastic.co/t/elasticsearch-ansible/103852/3 "2017-10-13T08:24:54Z")

</div>

thanks warkolm , i have updated with error mesages and journal log information.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 10, 2017, 8:24am UTC](https://discuss.elastic.co/t/elasticsearch-ansible/103852/4 "2017-11-10T08:24:58Z")

</div>

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