Hi Jeff,

On Thu, Feb 10, 2011 at 11:11:20AM -0500, Jeff Green wrote:
> This an squeeze upgraded collectd install from lenny. Upon (re)start collectd
> gives the message:
> 
> Restarting statistics collection and monitoring daemon: collectdCan't load 
> '/usr/lib/perl/5.10/auto/threads/threads.so' for module threads: 
> /usr/lib/perl/5.10/auto/threads/threads.so: undefined symbol: PL_no_mem at 
> /usr/lib/perl/5.10/XSLoader.pm line 70.
[…]
> I tracked down a previous similar incident with analysis here:
> http://mailman.verplant.org/pipermail/collectd/2008-March/001616.html
> 
> Following option 3, I added a:
> 
> export LD_PRELOAD=/usr/lib/libperl.so.5.10.1
> 
> in /etc/init.d/collectd.
> 
> That worked.
> 
> I couldn't find any particular mention of this issue in the collectd man 
> pages but did
> not look extensively.

Darn! That should have been documented :-/

This can now be solved by using the "Globals true" config option when
loading the plugin (use a <LoadPlugin perl> block rather than a single
statement). See the collectd.conf(5) manpage for details.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to