[collectd] Perl interpreter does not load plugin (MyPlugin.pm)

Ulf Kreutzberg ulf.kreutzberg at hosteurope.de
Wed Sep 10 18:00:00 CEST 2008

Hi folks,

perhaps one of you can help me.
actually I have a problem with loading a perl Plugin into collectd.
It is the same with collectd 4.4.2 and 4.5.0 under debian/etch.

I have used MyPlugin.pm (and put it in /usr/lib/collectd), just for testing.
collectd is compiled with --enable-debug, and during startup it is logging:

2008-09-10 16:39:43] type = perl
[2008-09-10 16:39:43] file = /usr/lib/collectd/perl.so
[2008-09-10 16:39:43] perl: perl_config: Setting plugin basename to
[2008-09-10 16:39:43] perl: Initializing Perl interpreter...
[2008-09-10 16:39:43] perl: argv[0] = ""
[2008-09-10 16:39:43] perl: argv[1] = "-MCollectd"
[2008-09-10 16:39:43] perl: argv[2] = "-e"
[2008-09-10 16:39:43] perl: argv[3] = "1"
[2008-09-10 16:39:43] perl: argv[4] = "-I/usr/lib/collectd"
[2008-09-10 16:39:43] perl: init_pi: Unable to bootstrap Collectd.
(then collectd is running without that plugin enabled).

If I enable 'EnableDebugger ""' in collectd.conf, it is saying (perhaps
a different issue):

Starting statistics collection and monitoring daemon:
collectd/usr/sbin/collectd: symbol lookup error:
/usr/lib/perl/5.8/auto/IO/IO.so: undefined symbol: Perl_Tstack_sp_ptr

Perhaps some perl-package is missing?
Here is the collectd.conf-snippet:

=== snip ===
LoadPlugin perl
<Plugin perl>
    IncludeDir "/usr/lib/collectd"
    BaseName "Collectd::Plugin"
#   EnableDebugger ""
    LoadPlugin "MyPlugin"
=== snip ===
I have also added an entry to the types.db.

I would appreciate any help,
please let me know if you need further information.
Many thanks in advance and best regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080910/e18cddc0/attachment.pgp 

More information about the collectd mailing list