Mantis - collectd_plugin_python
|
|||||||||||
Viewing Issue Advanced Details | |||||||||||
|
|||||||||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | ||||||
5255 | major | always | 2015-10-22 00:01 | 2016-10-08 22:31 | |||||||
|
|||||||||||
Reporter: | omen | Platform: | Solaris | ||||||||
Assigned To: | dam | OS: | OmniOS | ||||||||
Priority: | normal | OS Version: | v11 r151014 | ||||||||
Status: | closed | Product Version: | |||||||||
Product Build: | Resolution: | suspended | |||||||||
Projection: | none | ||||||||||
ETA: | none | Fixed in Version: | |||||||||
|
|||||||||||
Summary: | 0005255: 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 . |
||||||||||
Steps To Reproduce: |
Install the collectd and collectd_plugin_python plugins. Extract the contents of the attached collectd-conf.tar.gz to /etc/opt/csw . Try to run collectd: collectd -C /etc/opt/csw/collectd.conf -t It will die with the above error. |
||||||||||
Additional Information: |
From a truss the error appears to be in the mmapobj call: 2843: stat("/opt/csw/lib/collectd/python.so", 0xFFFFFD7FFFDFE320) = 0 2843: resolvepath("/opt/csw/lib/collectd/python.so", "/opt/csw/lib/collectd/python.so", 1023) = 31 2843: open("/opt/csw/lib/collectd/python.so", O_RDONLY) = 4 2843: mmapobj(4, MMOBJ_INTERPRET, 0xFFFFFD7FFF140DF8, 0xFFFFFD7FFFDFDE7C, 0x00000000) Err#48 ENOTSUP 2843: mmap(0x00000000, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0xFFFFFD7FFF130000 2843: munmap(0xFFFFFD7FFF130000, 4096) = 0 2843: close(4) = 0 2843: open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_SGS.mo", O_RDONLY) Err#2 ENOENT 2843: fstat(2, 0xFFFFFD7FFFDFD340) = 0 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.2843: write(2, " l t _ d l o p e n ( "".., 201) = 201 The error suggests running ldd, which shows no issues: root@zaphod.lawr.ucdavis.edu:/etc/opt/csw# ldd "/opt/csw/lib/collectd/python.so" libpython2.7.so.1.0 => /opt/csw/lib/i386/libpython2.7.so.1.0 libgcc_s.so.1 => /opt/csw/lib/i386/libgcc_s.so.1 libc.so.1 => /lib/libc.so.1 libsocket.so.1 => /lib/libsocket.so.1 libnsl.so.1 => /lib/libnsl.so.1 librt.so.1 => /lib/librt.so.1 libdl.so.1 => /lib/libdl.so.1 libm.so.2 => /lib/libm.so.2 libmp.so.2 => /lib/libmp.so.2 libmd.so.1 => /lib/libmd.so.1 |
||||||||||
Relationships |
| ||||||||||
Attached Files: |
collectd-conf.tar.gz [^] (519 bytes) 2015-10-22 00:01 collectd-conf-2.tar.gz [^] (750 bytes) 2015-10-23 01:44 |
||||||||||
|
|||||||||||
Issue History | |||||||||||
Date Modified | Username | Field | Change | ||||||||
2015-10-22 00:01 | omen | New Issue | |||||||||
2015-10-22 00:01 | omen | File Added: collectd-conf.tar.gz | |||||||||
2015-10-22 13:17 | dam | Status | new => assigned | ||||||||
2015-10-22 13:17 | dam | Assigned To | => dam | ||||||||
2015-10-22 13:21 | dam | Note Added: 0011071 | |||||||||
2015-10-22 21:30 | omen | Note Added: 0011072 | |||||||||
2015-10-23 01:44 | omen | File Added: collectd-conf-2.tar.gz | |||||||||
2015-10-23 01:45 | omen | Note Added: 0011073 | |||||||||
2015-10-23 08:59 | dam | Note Added: 0011074 | |||||||||
2015-10-23 18:09 | omen | Note Added: 0011075 | |||||||||
2016-10-08 22:30 | dam | Relationship added | related to 0003054 | ||||||||
2016-10-08 22:31 | dam | Note Added: 0011197 | |||||||||
2016-10-08 22:31 | dam | Status | assigned => closed | ||||||||
2016-10-08 22:31 | dam | Resolution | open => suspended |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|