When you attempt to start the SAS Environment Manager agent, the following message might be returned:
$ /sas/config/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bin $> hq-agent.sh start
-n Starting HQ Agent...
-n .
-n .
-n .
running (42).
Error contacting agent: Error sending argument: Unable to connect to 127.0.0.1:2144:
A remote host refused an attempted connect operation., retried 5 times, cmd=agent:ping
When you check the status of the SAS Environment Manager agent, this message might be returned:
$ /sas/config/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bin $> hq-agent.sh status
HQ Agent is running (PID:42).
Unable to contact agent: Error sending argument: Unable to connect to 127.0.0.1:2144:
Connection refused, retried 5 times, cmd=agent:getCurrentAgentBundle
To resolve this issue, ensure that no other process is already running on port 2144. Then start the SAS Environment Manager agent using this command:
sas-configuration-directory/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bin/hq-agent.sh start