Running the agent with a second Python install

The agent requires Python 2.4 or above but some older Linux OSs come with very old versions of Python. Upgrading the system version of Python can break things so the alternative is to install a second Python installation and get the agent to use that.

This article is for our v1 agent and will soon be deprecated.

On Red Hat systems, such as CentOS and RHEL, this is easy to do with community supported packages. Follow the instructions in this blog post and then edit your /etc/init.d/sd-agent file changing lines 39, 40 and 52 from python to /usr/bin/python-2.x where x is the version of Python installed e.g. /usr/bin/python2.6

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Monday  —  Friday.

10am  —  6pm UK.

Dedicated Support.