# Elastic-Agent is not getting installed

**URL:** <https://discuss.elastic.co/t/elastic-agent-is-not-getting-installed/343976>\
**Category:** Elastic Agent\
**Created:** [September 27, 2023, 11:07am UTC](https://discuss.elastic.co/t/elastic-agent-is-not-getting-installed/343976 "2023-09-27T11:07:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![syedsyed](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@syedsyed](https://discuss.elastic.co/u/syedsyed)\
**Post date:** [September 27, 2023, 11:07am UTC](https://discuss.elastic.co/t/elastic-agent-is-not-getting-installed/343976/1 "2023-09-27T11:07:29Z")

</div>

Hello, I have 2 Problems, i have installed the integration of sonicwall in Elasticsearch and enrolled the elastic agent in fleet server by using the debian package, but the service is not getting started and iam getting the error as

1. **Elastic-agent.service - Elastic Agent is a unified agent to observe, monitor and protect your system**  
\*\* Loaded: loaded (/etc/systemd/system/elastic-agent.service; enabled; vendor preset: enabled)\*\*  
\*\* Active: activating (auto-restart) (Result: exit-code) since Wed 2023-09-27 16:23:44 IST; 9s ago\*\*  
\*\* Process: 3589 ExecStart=/usr/bin/elastic-agent (code=exited, status=200/CHDIR)\*\*  
\*\* Main PID: 3589 (code=exited, status=200/CHDIR)\*\*

I have verified the syslink for itand it is correct.

---

<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:** [October 25, 2023, 11:07am UTC](https://discuss.elastic.co/t/elastic-agent-is-not-getting-installed/343976/2 "2023-10-25T11:07:32Z")

</div>

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