# dtuser creation failed on linux

**URL:** <https://community.dynatrace.com/t/dtuser-creation-failed-on-linux/43109>\
**Category:** Dynatrace Managed\
**Tags:** linux, dynatrace-saas, oneagent\
**Created:** [December 8, 2023, 5:05pm UTC](https://community.dynatrace.com/t/dtuser-creation-failed-on-linux/43109 "2023-12-08T17:05:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MariettaAlmeida](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@MariettaAlmeida](https://community.dynatrace.com/u/MariettaAlmeida)\
**Post date:** [December 8, 2023, 5:05pm UTC](https://community.dynatrace.com/t/dtuser-creation-failed-on-linux/43109/1 "2023-12-08T17:05:51Z")

</div>

hi all,

im facing this error while installing oneagent on linux:

 ![MariettaAlmeida_1-1702055055499.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/6fdbe1007dbf490521f173ac728a0b1b6f0c83a1.png)

error: failed to create dtuser

non-privileged mode was not enabled

…

oneagent failed to connect to dynatrace cluster

---

how can i fix this ?

aside, which monitoring capabilities will i loose ?

thank you all in advance

---

<div class="post-metadata">

**Author:** ![Romanenkov\_Al3x](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_al3x/32/36257_2.png) [@Romanenkov\_Al3x](https://community.dynatrace.com/u/Romanenkov_Al3x)\
**Post date:** [December 9, 2023, 6:36am UTC](https://community.dynatrace.com/t/dtuser-creation-failed-on-linux/43109/2 "2023-12-09T06:36:05Z")

</div>

Hello. Can you provide more information about this OS?

| cat /etc/\*-release |
| --- |

You can check tecnology support by this [documentation](https://docs.dynatrace.com/docs/setup-and-configuration/technology-support#linux):

default UID, GID for dtuser is 1000:1000.

If on your system already exist another user with this ID, for example sysops:1000:1000, you can create dtuser by yourself.

```markup
sudo cat /etc/passwd | grep 1000

```

This is example if you cant delete user with uid:gid - 1000.

```plaintext
useradd -s /bin/false dtuser

```

```plaintext
passwd dtuser

```

```plaintext
usermod -u 997 dtuser

```

```plaintext
groupmod -g 997 dtuser

```

Last string in installation log address you to check **network connectivity** between OneAgent (host) and monitoring endpoints ActiveGates/Nodes.

host --\> activegate:9999

host --\> node:443 or to saas endpoint.

You can contact **Dynatrace One** and get support faster in context your case, since the specialists will have inside information, which I do not have. Them will help you with this faster.

Regards,

Alex Romanenkov

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [December 9, 2023, 3:41pm UTC](https://community.dynatrace.com/t/dtuser-creation-failed-on-linux/43109/3 "2023-12-09T15:41:55Z")

</div>

[@MariettaAlmeida](https://community.dynatrace.com/user/59040),

From what I can see in the screenshot, my best bet would be that dtuser already existed when you ran the script.

The installation proceeded, but ultimately was not successful because it couldn’t connect to AG/tenant.

Please check if dtuser does exist, and solve connectivity issue.

---

<div class="post-metadata">

**Author:** ![MariettaAlmeida](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@MariettaAlmeida](https://community.dynatrace.com/u/MariettaAlmeida)\
**Post date:** [December 13, 2023, 9:24pm UTC](https://community.dynatrace.com/t/dtuser-creation-failed-on-linux/43109/4 "2023-12-13T21:24:34Z")

</div>

hi&nbsp;[@Romanenkov\_Al3x](https://community.dynatrace.com/user/51881)&nbsp;we checked but there is a group called dtuser instead. we tried deleting it and creating dtuser&nbsp; user but we stilll having problem with the installation:

error: failed to create dtuser

is an oracle linux

![MariettaAlmeida_0-1702502822767.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/c/cc8c1c639b480a5e4a685d562352a0a48209d9d9.png)
