# Elastic agent not running

**URL:** <https://discuss.elastic.co/t/elastic-agent-not-running/345153>\
**Category:** Elastic Agent\
**Created:** [October 17, 2023, 4:35am UTC](https://discuss.elastic.co/t/elastic-agent-not-running/345153 "2023-10-17T04:35:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akshay\_Ranka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshay_ranka/32/121946_2.png) [@Akshay\_Ranka](https://discuss.elastic.co/u/Akshay_Ranka)\
**Post date:** [October 17, 2023, 4:35am UTC](https://discuss.elastic.co/t/elastic-agent-not-running/345153/1 "2023-10-17T04:35:13Z")

</div>

Hi,

I am facing the error

Error: failed to communicate with Elastic Agent 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"

I am installing Elastic agent standalone not through fleet server to see the logs on to kibana. In the elastic-agent.yml. I put the correct username and password. Able to see the json output through curl command.

Please help me with this.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [October 18, 2023, 3:49pm UTC](https://discuss.elastic.co/t/elastic-agent-not-running/345153/2 "2023-10-18T15:49:11Z")

</div>

Hi @Akshay_Ranka,

Welcome to the community! What version of Elastic Agent are you installing? Are you following [these instuctions](https://www.elastic.co/guide/en/fleet/current/install-standalone-elastic-agent.html)?

---

<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 15, 2023, 3:49pm UTC](https://discuss.elastic.co/t/elastic-agent-not-running/345153/3 "2023-11-15T15:49:23Z")

</div>

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