Articles in this section

agent360 error: extension module was built for another version of psutil

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • agent360 is not transmitting data for the past 15 minutes.

  • The following error can be seen when the command agent360 test is run into an SSH session:

    Load error: version conflict: '/usr/local/lib64/python3.6/site-packages/psutil/_psutil_linux.cpython-36m-x86_64-linux-gnu.so' C extension module was built for another version of psutil (5.9.0 instead of 6.1.0); you may try to 'pip uninstall psutil', manually remove /usr/local/lib64/python3.6/site-packages/psutil/_psutil_linux.cpython-36m-x86_64-linux-gnu.so or clean the virtual env somehow, then reinstall

Cause

Conflicting file in the plugin folder.

Resolution

  1. Connect to the server via SSH

  2. Move the conflicting file out of the folder:

    # mv /usr/local/lib64/python3.6/site-packages/psutil/_psutil_linux.cpython-36m-x86_64-linux-gnu.so /root

  3. Restart the agent360 service again:

    # systemctl restart agent360

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.