Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data)

I have removed 5x and installed 7x that is not working.

./filebeat -e -d "*"

2021-12-30T02:52:25.982+0530 INFO instance/beat.go:686 Home path: [/app/filebeat-7.16.2-linux-x86_64] Config path: [/app/filebeat-7.16.2-linux-x86_64] Data path: [/app/filebeat-7.16.2-linux-x86_64/data] Logs path: [/app/filebeat-7.16.2-linux-x86_64/logs] Hostfs Path: [/]

2021-12-30T02:52:25.982+0530 DEBUG [beat] instance/beat.go:744 Beat metadata path: /app/filebeat-7.16.2-linux-x86_64/data/meta.json

2021-12-30T02:52:25.982+0530 INFO instance/beat.go:694 Beat ID: d058145d-573d-4f2b-9c11-efdb5bf5eef3

2021-12-30T02:52:25.984+0530 DEBUG [conditions] conditions/conditions.go:98 New condition contains: map

2021-12-30T02:52:25.984+0530 DEBUG [conditions] conditions/conditions.go:98 New condition !contains: map

2021-12-30T02:52:26.214+0530 WARN [add_cloud_metadata] add_cloud_metadata/provider_aws_ec2.go:95 error when check request status for getting IMDSv2 token: http request status 404. No token in the metadata request will be used.

2021-12-30T02:52:26.215+0530 DEBUG [docker] docker/client.go:49 Docker client will negotiate the API version on the first request.

2021-12-30T02:52:26.215+0530 DEBUG [add_cloud_metadata] add_cloud_metadata/providers.go:129 add_cloud_metadata: starting to fetch metadata, timeout=3s

2021-12-30T02:52:26.215+0530 DEBUG [add_docker_metadata] add_docker_metadata/add_docker_metadata.go:87 add_docker_metadata: docker environment not detected: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

2021-12-30T02:52:26.216+0530 DEBUG [kubernetes] add_kubernetes_metadata/kubernetes.go:147 Could not create kubernetes client using in_cluster config: unable to build kube config due to error: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable {"libbeat.processor": "add_kubernetes_metadata"}

2021-12-30T02:52:26.224+0530 DEBUG [add_cloud_metadata] add_cloud_metadata/providers.go:166 add_cloud_metadata: received disposition for digitalocean after 8.721784ms. result=[provider:digitalocean, error=failed with http status code 404, metadata={}]

2021-12-30T02:52:26.224+0530 DEBUG [add_cloud_metadata] add_cloud_metadata/providers.go:166 add_cloud_metadata: received disposition for gcp after 8.881999ms. result=[provider:gcp, error=failed with http status code 404, metadata={}]

2021-12-30T02:52:26.224+0530 DEBUG [add_cloud_metadata] add_cloud_metadata/providers.go:166 add_cloud_metadata: received disposition for huawei after 9.209637ms. result=[provider:huawei, error=, metadata={"cloud":{"availability_zone":"JMNG-PE3-NONPROD","instance":{"id":"7d3c8c3f-52ab-4312-9b45-25a6192870d7"},"provider":"huawei","region":"","service":{"name":"ECS"}}}]

2021-12-30T02:52:26.224+0530 DEBUG [add_cloud_metadata] add_cloud_metadata/providers.go:132 add_cloud_metadata: fetchMetadata ran for 9.27828ms

2021-12-30T02:52:26.224+0530 INFO [add_cloud_metadata] add_cloud_metadata/add_cloud_metadata.go:105 add_cloud_metadata: hosting provider type detected as huawei, metadata={"cloud":{"availability_zone":"JMNG-PE3-NONPROD","instance":{"id":"7d3c8c3f-52ab-4312-9b45-25a6192870d7"},"provider":"huawei","region":"","service":{"name":"ECS"}}}

2021-12-30T02:52:26.224+0530 DEBUG [processors] processors/processor.go:120 Generated new processors: add_host_metadata=[netinfo.enabled=[true], cache.ttl=[5m0s]], condition=!contains: map, add_cloud_metadata={"cloud":{"availability_zone":"JMNG-PE3-NONPROD","instance":{"id":"7d3c8c3f-52ab-4312-9b45-25a6192870d7"},"provider":"huawei","region":"","service":{"name":"ECS"}}}, add_docker_metadata=[match_fields= match_pids=[process.pid, process.ppid]], add_kubernetes_metadata

2021-12-30T02:52:26.225+0530 INFO instance/beat.go:425 filebeat stopped.

2021-12-30T02:52:26.225+0530 ERROR instance/beat.go:1015 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).

Do you want to run multiple instances of Filebeat? If not, are you sure that no other instance of Filebeat 7.16.2 is running when you are trying to start yours?

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