# Metricbeat Error: data path already locked by another beat

**URL:** <https://discuss.elastic.co/t/metricbeat-error-data-path-already-locked-by-another-beat/266503>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 8, 2021, 3:52am UTC](https://discuss.elastic.co/t/metricbeat-error-data-path-already-locked-by-another-beat/266503 "2021-03-08T03:52:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bob96589](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@bob96589](https://discuss.elastic.co/u/bob96589)\
**Post date:** [March 8, 2021, 3:52am UTC](https://discuss.elastic.co/t/metricbeat-error-data-path-already-locked-by-another-beat/266503/1 "2021-03-08T03:52:10Z")

</div>

Steps to reproduce (run the following command in terminal):

> docker run -d --name metricbeat [docker.elastic.co/beats/metricbeat:7.11.1](http://docker.elastic.co/beats/metricbeat:7.11.1)  
> docker exec -it metricbeat metricbeat -e

Error:

> 2021-03-08T03:29:41.319Z INFO instance/beat.go:660 Home path: [/usr/share/metricbeat] Config path: [/usr/share/metricbeat] Data path: [/usr/share/metricbeat/data] Logs path: [/usr/share/metricbeat/logs]  
> 2021-03-08T03:29:41.319Z INFO instance/beat.go:668 Beat ID: 028d1f67-94dc-4574-94a0-3e66d4092ef6  
> 2021-03-08T03:29:41.326Z INFO instance/beat.go:405 metricbeat stopped.  
> **2021-03-08T03:29:41.326Z ERROR instance/beat.go:971 Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).**  
> **Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).**

Thanks

---

<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 5, 2021, 5:52am UTC](https://discuss.elastic.co/t/metricbeat-error-data-path-already-locked-by-another-beat/266503/2 "2021-04-05T05:52:52Z")

</div>

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