If you see this error when starting the agent, there are several possible causes.
This article is for our v1 agent and will soon be deprecated.
- You downloaded the pymongo Python library to the directory you started the agent from. For example you are in your home directory
/home/david
and downloaded the pymongo files there, then started the agent. If there is a directory calledpymongo
in your current directory, delete it then try restarting the agent.
- The owner of the
/usr/bin/sd-agent
directory is notsd-agent
. When installing the agent a user will be created for the agent to run as. If the/usr/bin/sd-agent
directory is not owned by this user then it will not be able to execute its files correctly. Change the ownership of the directory by executingsudo chown -R sd-agent:sd-agent /usr/bin/sd-agent
Comments