Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Virtualization-VMWare-daemon-3.2.0 failed to start on CentOs 7 #92

Closed
philipraets opened this issue Nov 3, 2020 · 2 comments
Closed
Labels

Comments

@philipraets
Copy link

With the update to the latest Virtualization-VMWare-daemon-3.2.0 with yum update, centreon_vmware fails to start with following error:

Global symbol "%vm" requires explicit package name at /usr/share/perl5/vendor_perl/centreon/vmware/cmddiscovery.pm line 156

For now I've put "use strict" in a comment, so the service starts.

uname -a:
Linux centreon 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
yum update:
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: ftp.belnet.be
 * centos-sclo-rh: ftp.belnet.be
 * centos-sclo-sclo: ftp.belnet.be
 * extras: ftp.belnet.be
 * updates: ftp.belnet.be
base                                                     | 3.6 kB     00:00     
centos-sclo-rh                                           | 3.0 kB     00:00     
centos-sclo-sclo                                         | 3.0 kB     00:00     
centreon-stable                                          | 2.9 kB     00:00     
centreon-stable-noarch                                   | 2.9 kB     00:00     
extras                                                   | 2.9 kB     00:00     
ol7_oracle_instantclient                                 | 2.5 kB     00:00     
updates                                                  | 2.9 kB     00:00     
centreon-stable-noarch/primary_db                          | 366 kB   00:00     
Resolving Dependencies
--> Running transaction check
---> Package centreon-plugin-Virtualization-VMWare-daemon.noarch 0:3.1.2-20200602093832.el7.centos will be updated
---> Package centreon-plugin-Virtualization-VMWare-daemon.noarch 0:3.2.0-20201102124829.el7.centos will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package    Arch   Version                         Repository              Size
================================================================================
Updating:
 centreon-plugin-Virtualization-VMWare-daemon
            noarch 3.2.0-20201102124829.el7.centos centreon-stable-noarch  35 k

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 35 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for centreon-stable-noarch
centreon-plugin-Virtualization-VMWare-daemon-3.2.0-2020110 |  35 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : centreon-plugin-Virtualization-VMWare-daemon-3.2.0-2020110   1/2 
  Cleanup    : centreon-plugin-Virtualization-VMWare-daemon-3.1.2-2020060   2/2 
  Verifying  : centreon-plugin-Virtualization-VMWare-daemon-3.2.0-2020110   1/2 
  Verifying  : centreon-plugin-Virtualization-VMWare-daemon-3.1.2-2020060   2/2 

Updated:
  centreon-plugin-Virtualization-VMWare-daemon.noarch 0:3.2.0-20201102124829.el7.centos

Complete!
systemctl status centreon_vmware.service
● centreon_vmware.service - Centreon VMWare
   Loaded: loaded (/etc/systemd/system/centreon_vmware.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2020-11-03 10:48:39 CET; 5s ago
  Process: 7656 ExecStart=/usr/bin/perl /usr/bin/centreon_vmware.pl --logfile=/var/log/centreon/centreon_vmware.log --severity=error (code=exited, status=255)
 Main PID: 7656 (code=exited, status=255)

Nov 03 10:48:39 centreon systemd[1]: Started Centreon VMWare.
Nov 03 10:48:39 centreon perl[7656]: Global symbol "%vm" requires explicit package name at /usr/share/perl5/vendor_per...e 156.
Nov 03 10:48:39 centreon perl[7656]: Global symbol "%vm" requires explicit package name at /usr/share/perl5/vendor_per...e 156.
Nov 03 10:48:39 centreon perl[7656]: Compilation failed in require at /usr/share/perl5/vendor_perl/centreon/script/cen...e 268.
Nov 03 10:48:39 centreon systemd[1]: centreon_vmware.service: main process exited, code=exited, status=255/n/a
Nov 03 10:48:39 centreon systemd[1]: Unit centreon_vmware.service entered failed state.
Nov 03 10:48:39 centreon systemd[1]: centreon_vmware.service failed.
garnier-quentin added a commit that referenced this issue Nov 3, 2020
@garnier-quentin
Copy link
Contributor

Thanks! We are doing to push the release soon!

@philipraets
Copy link
Author

Thanks for the fast fix. I've applied the fix manually, and everything is fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants