# Filebeat service not starting on reboot after OS upgrade

**URL:** https://discuss.elastic.co/t/filebeat-service-not-starting-on-reboot-after-os-upgrade/125376
**Category:** Beats
**Tags:** filebeat
**Created:** [March 23, 2018, 1:42pm UTC](https://discuss.elastic.co/t/filebeat-service-not-starting-on-reboot-after-os-upgrade/125376 "2018-03-23T13:42:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![juhlig](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@juhlig](https://discuss.elastic.co/u/juhlig)
#### Post date: [March 23, 2018, 1:42pm UTC](https://discuss.elastic.co/t/filebeat-service-not-starting-on-reboot-after-os-upgrade/125376/1 "2018-03-23T13:42:07Z")

</div>

Hi,  
we were running filebeat 5.6.8 on an Ubuntu 14.04 machine until recently. After a release upgrade to Ubuntu 16.04 via do-release-upgrade, the filebeat service is not starting on system startup any longer.  
`service filebeat status` only says it inactive (dead). The logs show nothing. It is possible to start the service just fine with `service filebeat start`. However, since that machine is being shut down and started automatically, the service start at boot is required.  
Please advise.

---

<div class="post-metadata">

### Author: ![yodog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yodog/32/4822_2.png) [@yodog](https://discuss.elastic.co/u/yodog)
#### Post date: [March 23, 2018, 5:38pm UTC](https://discuss.elastic.co/t/filebeat-service-not-starting-on-reboot-after-os-upgrade/125376/2 "2018-03-23T17:38:08Z")

</div>

your problem is [probably] not related to filebeat...

try `systemctl enable --now filebeat.service` and post the result

---

<div class="post-metadata">

### Author: ![juhlig](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@juhlig](https://discuss.elastic.co/u/juhlig)
#### Post date: [March 26, 2018, 11:04am UTC](https://discuss.elastic.co/t/filebeat-service-not-starting-on-reboot-after-os-upgrade/125376/3 "2018-03-26T11:04:01Z")

</div>

Indeed it was not. The problem was that Ubuntu 16 does not use the init.d Scripts any longer.

---

<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 23, 2018, 11:04am UTC](https://discuss.elastic.co/t/filebeat-service-not-starting-on-reboot-after-os-upgrade/125376/4 "2018-04-23T11:04:03Z")

</div>

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