Question

Force check wont work since update

  • 18 January 2024
  • 8 replies
  • 127 views

Badge +2

Hi everyone,

Since the last update I can’t use force check on my hosts/services + I need to restart centengine everytime I add a new host in order to make it appear on Centreon.

I use the IT-100 license. 

Gorgoned is not starting because of this error (below), I did some research but can’t find any solution on how to install this FFI::Platypus module (seems to be a Perl module). Is this why there is a problem on the force checks?

Hope someone has a solution to my problem ! :) 

 

Have a good day and thank’s for reading ;)


8 replies

Userlevel 6
Badge +18

Hi @GaëlLC just execute:

dnf install perl-FFI-Platypus

 

Badge +2

Hi @Laurent ,

Thank’s for the command, unfortunately I’ve the same issue (even if I have restarted gorgoned !). 
Do you what is the @INC file ?

Gaël

Badge +2

Do you what is the @INC file ?

 

@INC is, in Perl, the list of directories in which perl (the command) will search the modules your program is trying to load. It is the equivalent of $PATH for Perl.

You can see the content of that variable with “perl -E ‘say @INC’”. “perl -V” will show you Perl’s configuration, including @INC.

Badge +2

Do you what is the @INC file ?

 

@INC is, in Perl, the list of directories in which perl (the command) will search the modules your program is trying to load. It is the equivalent of $PATH for Perl.

You can see the content of that variable with “perl -E ‘say @INC’”. “perl -V” will show you Perl’s configuration, including @INC.

@eseyman Thank you for the command. 
It seems that Platypus module is not included in @INC :
 

  

Badge +2

@INC does not contains the modules but the directories in which the modules are installed.

If you run “rpm -ql perl-FFI-Platypus” you will see that one of the files in the rpm is /usr/lib64/perl5/vendor_perl/FFI/Platypus.pm . This means that the FFI::Platypus module is installed in /usr/lib64/perl5/vendor_perl/. That directory is in your Perl’s @INC.

Badge +2

It seems that Platypus module is not included in @INC :
 

  

Note that this does not match the @INC you showed us in your first post.

Badge +2

Hi @eseyman,

Hope you’re good ! 


It seems that Platypus module is installed in /usr/local/lib64/perl5/FFI :  

It does not match the @INC. 
So I need to add it int @INC ?

Thank’s for the help :) 

 

Gaël

Badge +2

It seems that it’s ok for the first error I just added the path to FFI in the script located at /usr/local/share/perl5/5.32/ZMQ/FFI/Util.pm

Now there is this error “Compilation failed” do someone know how to repair gorgoned ? 

Thank’s and have a good day.

Gaël

Reply