[Xymon] Debian buster: Task libs terminated, status 2

Jaap Winius jwinius at umrk.nl
Tue Jul 10 18:35:22 CEST 2018


Hi folks,

This is really a bug report and a fix related to the current  
hobbit-plugins package for Debian buster.

Most of my Xymon servers and clients are all running v4.3.28-2 on  
Debian stretch, but I do have one Debian buster client system running  
the same Xymon client software version and it had a problem. The libs  
test for this client failed constantly and had status purple. The  
clientlaunch.log was full of entries like this:

    2018-07-09 10:22:00.240038 Task libs terminated, status 2

More tellingly, the xymonclient.log kept reporting:

Mon Jul  9 06:56:35 2018 /usr/lib/xymon/client/ext/libs  
hobbit.pm.uninitialized: Can't locate File/Slurp.pm in @INC (you may  
need to install the File::Slurp module) (@INC contains: /etc/perl  
/usr/local/lib/x86_64-linux-gnu/perl/5.26.2  
/usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26  
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26  
/usr/share/perl/5.26 /usr/local/lib/site_perl  
/usr/lib/x86_64-linux-gnu/perl-base) at /usr/lib/xymon/client/ext/libs  
line 33.
Mon Jul  9 06:56:35 2018 /usr/lib/xymon/client/ext/libs  
hobbit.pm.uninitialized: Hobbit::max_color(): No colors given as  
argument at /usr/share/perl5/Hobbit.pm line 126.
BEGIN failed--compilation aborted at /usr/lib/xymon/client/ext/libs line 33.
Hobbit::max_color(): No colors given as argument at  
/usr/share/perl5/Hobbit.pm line 126.

So, this problem was easily fixed by installing an additional Debian package:

   ~# apt install libfile-slurp-perl

In other words, this package needs to be listed as a dependency for  
hobbit-plugins.

Cheers,

Jaap



More information about the Xymon mailing list