[collectd_plugin_python 0005255]: Unable to load Python plugin

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Thu Oct 22 13:21:17 CEST 2015


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5255 
====================================================================== 
Reported By:                omen
Assigned To:                dam
====================================================================== 
Project:                    collectd_plugin_python
Issue ID:                   5255
Category:                   
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2015-10-22 00:01 CEST
Last Modified:              2015-10-22 13:21 CEST
====================================================================== 
Summary:                    Unable to load Python plugin
Description: 
I am unable to use the python plugin in collectd. I get the following
error:
lt_dlopen ("/opt/csw/lib/collectd/python.so") failed: file not found. The
most common cause for this problem is missing dependencies. Use ldd(1) to
check the dependencies of the plugin / shared object.
plugin_load: Load plugin "python" failed with status 1.

The problem seems to be that collectd cannot load any of the 32 bit plugins
(in /opt/csw/lib/collectd/) but the collectd_plugin_python package provides
no 64 bit plugin in /opt/csw/lib/64/collectd .
====================================================================== 

---------------------------------------------------------------------- 
 (0011071) dam (administrator) - 2015-10-22 13:21
 https://www.opencsw.org/mantis/view.php?id=5255#c11071 
---------------------------------------------------------------------- 
Yes, this is true. You cannot use 32 bit modules for 64 bit binaries.
Unfortunately we don't have 64 bit Python as the configuration is not
supported by upstream and nobody had the time to fix it.
You can run a separate 32 bit instance of CollectD with the plugin by
calling it explicitly
by editing the SMF script  /var/opt/csw/svc/method/svc-cswcollectd or call
/opt/csw/sbin/<sparcv8plus|pentium_pro>/collectdmon explicitly.

It would be nice to have a way to explicitly enable 32 and 64 bit daemons
separately in SMF but that is not finished yet.



More information about the bug-notifications mailing list