# Error using Endpoint Security in Linux

**URL:** <https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316>\
**Category:** Endpoint Security\
**Created:** [December 22, 2020, 1:18am UTC](https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316 "2020-12-22T01:18:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![roh](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@roh](https://discuss.elastic.co/u/roh)\
**Post date:** [December 22, 2020, 1:18am UTC](https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316/1 "2020-12-22T01:18:18Z")

</div>

Hi all  
I was testing Elastic Agent with Endpoint Security policy.  
I thought only malware protection doesn't work in linux, but I get this error when I try to use Endpoint Security.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/8/98efd7639fe013cff6ea91b993d7dbd61bb2c1ba.png)  
I also tried Endpoint Security policy with malware protection disabled, but same error appears.  
I wonder what's the problem...

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![ferullo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ferullo/32/74240_2.png) [@ferullo](https://discuss.elastic.co/u/ferullo)\
**Post date:** [December 23, 2020, 9:16pm UTC](https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316/2 "2020-12-23T21:16:02Z")

</div>

Hi @roh. Thanks for trying out Endpoint Security!

What Linux distribution and version are you using, and what architecture?

---

<div class="post-metadata">

**Author:** ![roh](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@roh](https://discuss.elastic.co/u/roh)\
**Post date:** [December 27, 2020, 3:35pm UTC](https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316/3 "2020-12-27T15:35:24Z")

</div>

Sorry for the late reply...  
Here's Linux distribution, version and architecture  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/9/e924efb16396be6a1c0e092e49fa1e070f244e28.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/b/3b52fb6f9c71ac6e8c27e03f368dfa113b134ab3.png)

---

<div class="post-metadata">

**Author:** ![ferullo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ferullo/32/74240_2.png) [@ferullo](https://discuss.elastic.co/u/ferullo)\
**Post date:** [December 28, 2020, 7:46pm UTC](https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316/4 "2020-12-28T19:46:05Z")

</div>

Running Endpoint under WSL is not supported. The issue you're encountering is Endpoint fails to install it's systemd service, it seems because WSL doesn't have "real" support for systemd.

Is there a reason you're installing under WSL rather than on the Windows "host" or on a standalone Linux machine? We're of course always interested to understand user needs and support them the best we can.

---

<div class="post-metadata">

**Author:** ![roh](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@roh](https://discuss.elastic.co/u/roh)\
**Post date:** [December 29, 2020, 1:05am UTC](https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316/5 "2020-12-29T01:05:34Z")

</div>

Thanks for the reply, @ferullo  
The reason why I tried to install under WSL is not that special.  
I had to test on Linux and the easy way I knew was using WSL.  
Don't have standalone Linux machine either ☹  
Then will using Linux VM work?

---

<div class="post-metadata">

**Author:** ![austinsonger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/austinsonger/32/78994_2.png) [@austinsonger](https://discuss.elastic.co/u/austinsonger)\
**Post date:** [December 29, 2020, 6:14am UTC](https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316/6 "2020-12-29T06:14:23Z")

</div>

Install virtualbox and go [https://osboxes.org](https://osboxes.org)

---

<div class="post-metadata">

**Author:** ![ferullo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ferullo/32/74240_2.png) [@ferullo](https://discuss.elastic.co/u/ferullo)\
**Post date:** [December 29, 2020, 6:11pm UTC](https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316/7 "2020-12-29T18:11:10Z")

</div>

Yes, a Linux VM will work.

---

<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:** [January 26, 2021, 6:11pm UTC](https://discuss.elastic.co/t/error-using-endpoint-security-in-linux/259316/8 "2021-01-26T18:11:24Z")

</div>

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