Question

Can't install VMWARE-daemon because PERL(ZMQ::Constants) is necessary

  • 14 June 2023
  • 7 replies
  • 527 views

Badge +1

Hello, 

I currently facing a problem when I want to install “centreon-plugin-Virtualization-VMWare-daemon” to monitor my ESX.

 

It seems that perl(ZMQ::Constants) is required/necessary to do the installation. 

I already tried to install perl(ZMQ::Constants) with cpan “cpan ZMQ::Constants” :

 

It looks like ZMQ::Constants is up to date … 

I checked on internet and it seems like no one got the problem, so I’m really lost at this point. 

I have installed Centreon on a Oracle 9. I installed packages perl-ZMQ-libZMQ4, perl-VMware-VSphere 

 

Is someone already faced this problem ? 

 

Hope I’ll get answer. 

 KR, 


7 replies

Badge +1

I don’t know why I can’t edit my previous message. 

Just checked if ZMQ::Constants was installed

And, yeah, ZMQ is already installed. 

Any tips ?

Badge

Hi,

I’ve the same issue … and i’ve ZMQ::Constants 1.04

Regards

Badge +1

Hi,

I’ve the same issue … and i’ve ZMQ::Constants 1.04

Regards

Hi,

I just switched to Centos7 and the problem was solved. I don’t know why this problem occured on Oracle 

Badge

Hello guys,

We have the same issue on our RHEL 9 machine:

[root@centreon ~]# cpan ZMQ::CONSTANTS
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/root/.cpan/Metadata'
  Database was generated on Tue, 20 Jun 2023 06:17:02 GMT
>(error): Could not expand [ZMQ::CONSTANTS]. Check the module name.
>(info): I can suggest names if you install one of Text::Levenshtein::XS, Text::Levenshtein::Damerau::XS, Text::Levenshtein, and Text::Levenshtein::Damerau::PP
>(info): and you provide the -x option on invocation.
>(error): Skipping ZMQ::CONSTANTS because I couldn't find a matching namespace.
[root@lscentreon ~]# instmodsh
Available commands are:
   l            - List all installed modules
   m <module>   - Select a module
   q            - Quit the program
cmd? l
Installed modules are:
   CPAN
   DBD::Oracle
   List::Compare
   Nagios::Monitoring::Plugin
   Nagios::Object
   Path::Class
   Perl
   Sub::Uplevel
   Term::ReadLine
   Test::Exception
   Test::NoWarnings
   ZMQ::Constants
cmd? q
 

 

We need help here, because we can’t just downgrade to RHEL/CentOS 7.

Userlevel 4
Badge +12

Hi all, sorry for that, and for my late answer.

According to me it has been fixed a while ago, and my tests show that it’s OK now.

Can you confirm?

Userlevel 1
Badge +5

I have a similar error. ZMQ Constants is installed. 

Status information

UNKNOWN: Cannot load module --custommode.

Can't load '/usr/lib64/perl5/vendor_perl/auto/ZMQ/LibZMQ4/LibZMQ4.so' for module ZMQ::LibZMQ4: libperl.so.5.36: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type at /usr/share/perl5/XSLoader.pm line 96.

 

Any help please? i dont have access to the internet from my environment. I am searching in the downloads for the right package but cannot progress. 

 

~]# cpan -l | grep ZMQ

Loading internal null logger. Install Log::Log4perl for logging messages

ZMQ::FFI        1.19

ZMQ::FFI::Constants     1.19

ZMQ::FFI::ContextRole   1.19

ZMQ::FFI::ErrorHelper   1.19

ZMQ::FFI::SocketRole    1.19

ZMQ::FFI::Util  1.19

ZMQ::FFI::Versioner     1.19

ZMQ::FFI::Custom::Raw   1.19

ZMQ::FFI::ZMQ2::Context 1.19

ZMQ::FFI::ZMQ2::Raw     1.19

ZMQ::FFI::ZMQ2::Socket  1.19

ZMQ::FFI::ZMQ3::Context 1.19

ZMQ::FFI::ZMQ3::Raw     1.19

ZMQ::FFI::ZMQ3::Socket  1.19

ZMQ::FFI::ZMQ4::Context 1.19

ZMQ::FFI::ZMQ4::Raw     1.19

ZMQ::FFI::ZMQ4::Socket  1.19

ZMQ::FFI::ZMQ4_1::Context       1.19

ZMQ::FFI::ZMQ4_1::Raw   1.19

ZMQ::FFI::ZMQ4_1::Socket        1.19

ZMQ::LibZMQ4    0.01

ZMQ::Constants  1.04

ZMQ::Constants::V2_1_11 undef

ZMQ::Constants::V3_1_1  undef

ZMQ::Constants::V3_1_2  undef

ZMQ::Constants::V4_0_4  undef

vendor_perl::ZMQ::LibZMQ4       0.01

vendor_perl::ZMQ::Constants     1.04

vendor_perl::ZMQ::Constants::V2_1_11    undef

vendor_perl::ZMQ::Constants::V3_1_1     undef

vendor_perl::ZMQ::Constants::V3_1_2     undef

vendor_perl::ZMQ::Constants::V4_0_4     undef

Userlevel 4
Badge +12

Hi!

We are working on this issue. The fix will be released as soon as possible.

Reply