# Restoring machine execute files

**URL:** <https://discuss.elastic.co/t/restoring-machine-execute-files/78448>\
**Category:** Elasticsearch\
**Created:** [March 14, 2017, 6:07am UTC](https://discuss.elastic.co/t/restoring-machine-execute-files/78448 "2017-03-14T06:07:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![avivc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avivc/32/16501_2.png) [@avivc](https://discuss.elastic.co/u/avivc)\
**Post date:** [March 14, 2017, 6:07am UTC](https://discuss.elastic.co/t/restoring-machine-execute-files/78448/1 "2017-03-14T06:07:46Z")

</div>

Hi everyone,  
I have a Linux machine that runs ES & Kibana  
For unknown reason, several scripts are missing in my machine:  
`/etc/init.d/elasticsearch`  
`/etc/default/elasticsearch`  
So when trying to run the machine using the command **service elasticsearch start** it gives an error

I'm trying to understand how to restore this missing files. I can use the command `apt-get install elasticsearch` and get all relevant files that missing, But I'm not sure how it goes and if it's overriding all users/nodes. I want to keep the last two

Any idea?  
Tnx

---

<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:** [April 11, 2017, 6:07am UTC](https://discuss.elastic.co/t/restoring-machine-execute-files/78448/2 "2017-04-11T06:07:49Z")

</div>

Closed on April 11, 2017, 6:07am UTC

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