08 Dec 2023 05:05 PM - last edited on 11 Dec 2023 10:45 AM by MaciejNeumann
hi all,
im facing this error while installing oneagent on linux:
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
09 Dec 2023 06:36 AM - edited 09 Dec 2023 06:36 AM
Hello. Can you provide more information about this OS?
cat /etc/*-release |
You can check tecnology support by this documentation:
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.
sudo cat /etc/passwd | grep 1000
This is example if you cant delete user with uid:gid - 1000.
useradd -s /bin/false dtuser
passwd dtuser
usermod -u 997 dtuser
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
13 Dec 2023 09:24 PM - edited 13 Dec 2023 09:26 PM
hi @Romanenkov_Al3x we checked but there is a group called dtuser instead. we tried deleting it and creating dtuser user but we stilll having problem with the installation:
error: failed to create dtuser
is an oracle linux
09 Dec 2023 03:41 PM
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.