Elastic agent elastic-agent-control.sock does not exist

Hi Everyone,

I'm trying to install an elastic agent and to enroll it with fleet.
The enrollment is working, I can see the agent on my fleet server but after few seconds it goes into the unhealthy state.

when I run elastic-agent status this is the output:

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

And indeed there is not file called elastic-agent-control.sock in that path.

Anyone has an idea why this file does not exist and how I can create it?

Thank you in advance

Hi stoza!!
can you specify what version are you using?

Hi gbeltramelli,

I'm using version 7.17.2.
I think something is not install on the computer because when I use the docker image everything works fine.

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