# Metricbeat won't start on boot (AWS EC2, Ubuntu 16.04)

**URL:** https://discuss.elastic.co/t/metricbeat-wont-start-on-boot-aws-ec2-ubuntu-16-04/102706
**Category:** Beats
**Tags:** metricbeat
**Created:** [October 4, 2017, 12:55pm UTC](https://discuss.elastic.co/t/metricbeat-wont-start-on-boot-aws-ec2-ubuntu-16-04/102706 "2017-10-04T12:55:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wrossmorrow](https://avatars.discourse-cdn.com/v4/letter/w/ebca7d/32.png) [@wrossmorrow](https://discuss.elastic.co/u/wrossmorrow)
#### Post date: [October 4, 2017, 12:55pm UTC](https://discuss.elastic.co/t/metricbeat-wont-start-on-boot-aws-ec2-ubuntu-16-04/102706/1 "2017-10-04T12:55:28Z")

</div>

Hi! We're running EC2 instances with Ubuntu 16.04. We have metricbeat installed in the image we use, but it won't start on boot (for new instances or when restarting a stopped instance). Here's the sort of error we get when doing the "standard" sort of thing:

root@master:~# systemctl enable metricbeat  
Synchronizing state of metricbeat.service with SysV init with /lib/systemd/systemd-sysv-install...  
Executing /lib/systemd/systemd-sysv-install enable metricbeat  
insserv: script nfs-kernel-server: service nfs-kernel-server already provided!  
insserv: script nfs-kernel-server: service nfs-kernel-server already provided!

Anyone have some advice?

---

<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 1, 2017, 1:08pm UTC](https://discuss.elastic.co/t/metricbeat-wont-start-on-boot-aws-ec2-ubuntu-16-04/102706/2 "2017-11-01T13:08:55Z")

</div>

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