When attempting to restart the Agent, you may encounter this error if the Agent didn’t shut down correctly:
Starting Datadog Agent (using supervisord) datadog-agent
Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
To resolve this issue, take the following steps:
sudo /etc/init.d/datadog-agent stop
top -U dd-agent
If you do find processes running under
dd-agent, kill them.
After the above steps, start the Agent:
sudo /etc/init.d/datadog-agent start
If this doesn’t solve your issue, reach out to us!
Additional helpful documentation, links, and articles: