Applications Systems
Linux Agent: status=217/USER When Starting swiagentd.service: "Agent service did not start - force to start it"
Linux SolarWinds Platform Agent installs and initializes successfully, but the service fails to start. The install log ends with: Agent service did not start - force to start it and Start of agent service failed with exit code '1'. On the OS side, systemctl status swiagentd.service shows ExecStartPre=/bin/sh -c test -e /opt/SolarWinds/Agent/bin/swiagent.cfg (code=exited, status=217/USER), indicating systemd cannot resolve the configured service user.
First published date
Last published date
Overview
Agent installed Initializing agent Generating SolarWinds Agent secure certificate ...[done] Agent initialized Checking status of agent service Checking status of agent service Checking status of agent service Checking status of agent service Checking status of agent service Checking status of agent service Agent service did not start - force to start it Start of agent service failed with exit code '1'
# systemctl status swiagentd.service
* swiagentd.service - SolarWinds Agent Service
Loaded: loaded (/usr/lib/systemd/system/swiagentd.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2026-03-13 14:45:08 CET; 487ms ago s
Product section
Cause
status=217/USER is a systemd error code meaning:
The service user account cannot be resolved or set up.
In this state, systemd never actually runs the pre‑start command or the agent binary. The failure is at the service account / User= configuration level (missing user, wrong user name, or broken identity mapping), not in the installer or the test -e command.
Resolution
Minimal root-cause check (optional)
Identify the configured user:
cat /usr/lib/systemd/system/swiagentd.service
cat /usr/lib/systemd/system/swiagentd.service
Check whether that user exists:
-
If
idreports “no such user”, this confirms thatstatus=217/USERis caused by a missing/invalid service account.
Proceed with Clean reinstall of the agent (simplest path; recommended)
if:
-
status=217/USERpersists after a clean reinstall, and -
You have confirmed that:
-
The
User=inswiagentd.serviceexists (idworks). -
/opt/SolarWinds/Agentis owned by that user and is accessible (r-xon all parent directories).
-
Engage SolarWinds Support for further investigation.
Attach:
-
Full
systemctl status swiagentd.serviceoutput. -
journalctl -u swiagentd.service -b(last 100–200 lines). -
ls -ld /opt /opt/SolarWinds /opt/SolarWinds/Agent /opt/SolarWinds/Agent/binandls -l /opt/SolarWinds/Agent/bin/swiagent.cfg.