# Elastic Agent Might Not Be Running

**URL:** <https://discuss.elastic.co/t/elastic-agent-might-not-be-running/317535>\
**Category:** Elastic Agent\
**Created:** [October 26, 2022, 2:11pm UTC](https://discuss.elastic.co/t/elastic-agent-might-not-be-running/317535 "2022-10-26T14:11:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigverm23](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigverm23/32/112550_2.png) [@bigverm23](https://discuss.elastic.co/u/bigverm23)\
**Post date:** [October 26, 2022, 2:11pm UTC](https://discuss.elastic.co/t/elastic-agent-might-not-be-running/317535/1 "2022-10-26T14:11:51Z")

</div>

```auto
{"log.level":"info","@timestamp":"2022-10-26T10:03:34.190-0400","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":271},"message":"Elastic Agent might not be running; unable to trigger restart","ecs.version":"1.6.0"}
Successfully enrolled the Elastic Agent.
Elastic Agent has been successfully installed.

```

```auto
~/elastic-agent-8.4.3-linux-x86_64$ sudo elastic-agent version
Binary: 8.4.3 (build: 90167b9e65c7a9e0dbe4e9c92c43c767efdfeb0d at 2022-10-04 10:34:00 +0000 UTC)
Daemon: <failed to communicate>
could not get version. failed to communicate with running daemon: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix /run/elastic-agent.sock: connect: no such file or directory"
Use --binary-only flag to skip trying to retrieve version from running daemon

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 31, 2022, 2:21am UTC](https://discuss.elastic.co/t/elastic-agent-might-not-be-running/317535/2 "2022-10-31T02:21:45Z")

</div>

It's not clear if you are posting a log excerpt to ask a question, or for some other purpose. It'd be great if you could add a little more context here please.

---

<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 28, 2022, 2:22am UTC](https://discuss.elastic.co/t/elastic-agent-might-not-be-running/317535/3 "2022-11-28T02:22:39Z")

</div>

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