# Unit logstash.service not found

**URL:** <https://discuss.elastic.co/t/unit-logstash-service-not-found/134423>\
**Category:** Logstash\
**Created:** [June 4, 2018, 12:41pm UTC](https://discuss.elastic.co/t/unit-logstash-service-not-found/134423 "2018-06-04T12:41:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jasonespo](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Jasonespo](https://discuss.elastic.co/u/Jasonespo)\
**Post date:** [June 4, 2018, 12:41pm UTC](https://discuss.elastic.co/t/unit-logstash-service-not-found/134423/1 "2018-06-04T12:41:23Z")

</div>

Just configured a new logstash server and when I went to restart logstash I found out that my logstash.service wasn't available.

I tried to re-install logstash and get the following error:

chmod: cannot access '/etc/default/logstash': No such file or directory  
dpkg: error processing package logstash (--configure):  
subprocess installed post-installation script returned error exit status 1  
Errors were encountered while processing:  
logstash  
E: Sub-process /usr/bin/dpkg returned an error code (1)

I used the same way of installing logstash a few days ago and had no errors.

Has a new package of logstash been released and is causing problems?

Jason

---

<div class="post-metadata">

**Author:** ![pge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pge/32/32641_2.png) [@pge](https://discuss.elastic.co/u/pge)\
**Post date:** [June 28, 2018, 9:14am UTC](https://discuss.elastic.co/t/unit-logstash-service-not-found/134423/2 "2018-06-28T09:14:21Z")

</div>

Hi,  
may you add some informations?  
OS:  
OS version:  
ELK version:

---

<div class="post-metadata">

**Author:** ![Jasonespo](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Jasonespo](https://discuss.elastic.co/u/Jasonespo)\
**Post date:** [June 28, 2018, 9:45am UTC](https://discuss.elastic.co/t/unit-logstash-service-not-found/134423/3 "2018-06-28T09:45:49Z")

</div>

Hi, this error was due to the logstash-filter-mutate plugin and i've managed to fix it, thank you 🙂

---

<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:** [July 26, 2018, 9:45am UTC](https://discuss.elastic.co/t/unit-logstash-service-not-found/134423/4 "2018-07-26T09:45:54Z")

</div>

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