Can not add a domain: collectdmng failed Fail to test configs for sw-collectd

Created:

2016-12-18 06:43:16 UTC

Modified:

2017-08-08 13:43:12 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Can not add a domain: collectdmng failed Fail to test configs for sw-collectd

Applicable to:

  • Plesk Onyx for Linux

Symptoms

On LXC virtual container domain creation failed with the error:

collectdmng failed: Fail to test configs for sw-collectd!

Plesk panel.log file contains the following:

ERR [1] PleskUtilException: collectdmng failed: Fail to test configs for sw-collectd!
file: /opt/psa/admin/plib/Service/Agent.php
line: 219
code: 0

Configuration test completes with an error:

sw-collectd -T -C /etc/sw-collectd/collectd.conf
rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.
read-function of plugin `memory' failed.
Exiting normally.
rrdtool plugin: Shutting down the queue thread. This may take a while.
collectd: Stopping 5 write threads.
 

Cause

LXC container has limits on getting information about memory.

Resolution

  1. Change extension of the file /etc/sw-collectd/conf.d/01syslog.conf to something other, for example /etc/sw-collectd/conf.d/01syslog.conf_ .
  2. Comment line LoadPlugin memory in the file /etc/sw-collectd/conf.d/02memory.conf
  3. Rename file back to /etc/sw-collectd/conf.d/01syslog.conf
  4. Rename file /usr/lib/x86_64-linux-gnu/sw/collectd/memory.so
Have more questions? Submit a request
Please sign in to leave a comment.