Skip to content

elastic-agent status: elastic-agent-control.sock: connect: no such file or directory #24956

@mtojek

Description

@mtojek

Hi,

I tried to integrate with elastic-agent status, but it always fail with:

bash-4.2$ ./elastic-agent status
Error: failed to communicate with Elastic Agent daemon: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix /usr/share/elastic-agent/data/tmp/elastic-agent-control.sock: connect: no such file or directory"

More data:

bash-4.2$ find . | egrep ".sock$"
./state/data/tmp/elastic-agent.sock
./state/data/tmp/default/metricbeat/metricbeat.sock
./state/data/tmp/default/filebeat/filebeat.sock
./state/data/tmp/elastic-agent-control.sock

Missing state?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions