Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl: Configuration failed with a fatal error - plugin disabled! #4

Open
rajeshbabukolli opened this issue Jan 31, 2019 · 4 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@rajeshbabukolli
Copy link

Plugin loading failed while starting collectd server, this is my collectd logs

Jan 31 07:54:56 localhost collectd[5517]: plugin_load: plugin "syslog" successfully loaded.
Jan 31 07:54:56 localhost collectd[5517]: type = syslog, key = LogLevel, value = info
Jan 31 07:54:56 localhost collectd[5517]: plugin_load: plugin "perl" successfully loaded.
Jan 31 07:54:56 localhost collectd[5517]: perl: Initializing Perl interpreter...
Jan 31 07:54:56 localhost collectd[5517]: perl: init_pi: Unable to bootstrap Collectd: lock can only be used on shared values at /usr/share/perl/5.18/perl5db.pl line 4100.
Jan 31 07:54:56 localhost collectd[5517]: perl: Configuration failed with a fatal error - plugin disabled!
Jan 31 07:54:56 localhost collectd[5517]: plugin_load: plugin "cpu" successfully loaded.
Jan 31 07:54:56 localhost collectd[5517]: plugin_load: plugin "csv" successfully loaded.
Jan 31 07:54:56 localhost collectd[5517]: plugin_load: plugin "df" successfully loaded.
Jan 31 07:54:56 localhost collectd[5517]: plugin_load: plugin "load" successfully loaded.
Jan 31 07:54:56 localhost collectd[5517]: plugin_load: plugin "memory" successfully loaded.
Jan 31 07:54:56 localhost collectd[5517]: plugin_load: plugin "write_http" successfully loaded.
Jan 31 07:54:56 localhost collectd[5517]: plugin_load: plugin "swap" successfully loaded.
Jan 31 07:54:56 localhost collectdmon[5505]: Warning: collectd terminated with exit status 1
Jan 31 07:54:56 localhost collectdmon[5505]: Warning: restarting collectd
Jan 31 07:54:56 localhost collectd[5518]: plugin_load: plugin "syslog" successfully loaded.
Jan 31 07:54:56 localhost collectd[5518]: type = syslog, key = LogLevel, value = info
Jan 31 07:54:56 localhost collectd[5518]: plugin_load: plugin "perl" successfully loaded.
Jan 31 07:54:56 localhost collectd[5518]: perl: Initializing Perl interpreter...
Jan 31 07:54:56 localhost collectd[5518]: perl: init_pi: Unable to bootstrap Collectd: lock can only be used on shared values at /usr/share/perl/5.18/perl5db.pl line 4100.
Jan 31 07:54:56 localhost collectd[5518]: perl: Configuration failed with a fatal error - plugin disabled!

My Perl version
root@localhost:~# perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi
(with 55 registered patches, see perl -V for more detail)

My Top plugin config:

Globals true IncludeDir "/usr/local/share/perl/5.18.2/Collectd/Plugins" BaseName "Collectd::Plugins" EnableDebugger "" LoadPlugin "Top"
    <Plugin Top>

TopProcessesCountByMemory "4"

TopProcessesCountByCPU "5"

    </Plugin>

root@localhost:/etc/init.d# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Could you check issue

@rajeshbabukolli
Copy link
Author

This plugin not working on ubuntu 14.04 but it is working on ubuntu 16.04. It is not compatible with older versions.
Please suggest.

@michelgokan
Copy link
Owner

@rajeshbabukolli currently this plugin is only tested and supported on Ubuntu 16.04 LTS or higher with Perl 5.018 or higher. Did you try it with the latest version of Perl?

@rajeshbabukolli
Copy link
Author

Michel,
actually in Ubuntu 14.04 LTS is also having higher version of perl, it is 5.182.

root@localhost:~# perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi
(with 55 registered patches, see perl -V for more detail)

We don't the effects of latest perl with other services which are running, that's why i not updating perl.

@michelgokan michelgokan added the bug Something isn't working label Feb 7, 2019
@michelgokan michelgokan self-assigned this Feb 7, 2019
@michelgokan
Copy link
Owner

@rajeshbabukolli I will try to re-create this problem with a fresh ubuntu 14.04 LTS installation, and will let you know ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants