Hi Team,
We have recently upgraded our VM servers from version 5.5 to version 6.7
After the upgrade on all VM servers
Networking for VMHost and VM Status for VMHost these service went to critical with error message as
"ESX3 CRITICAL - Can't load class 'HostSerialAttachedHba' at /usr/share/perl5/VMware/VIMRuntime.pm line 52"
Suggest what can be done?
Thanks & Regards,
Mayur
ESX3 CRITICAL - Can't load class 'HostSerialAttachedHba'
Re: ESX3 CRITICAL - Can't load class 'HostSerialAttachedHba'
Did you install the latest version of the vmware perl SDK after upgrading?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Re: ESX3 CRITICAL - Can't load class 'HostSerialAttachedHba'
We run the command with help of doc provided in link, but we encountered below error :
[root@OSLMSnagios vmware-vsphere-cli-distrib]# ./vmware-install.pl EULA_AGREED=yes --default
A previous installation of vSphere CLI has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of vSphere CLI installed. Continuing will remove it in
preparation for installing a new vSphere CLI. Do you want to continue?
[yes]
Uninstalling the tar installation of vSphere CLI.
The removal of vSphere CLI 5.5.0 build-2043780 for Linux completed
successfully.
Installing vSphere CLI 6.7.0 build-8156551 for Linux.
WARNING: The http_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the http_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
WARNING: The ftp_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the ftp_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
Please wait while configuring CPAN ...
Can't locate Module/Build.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
Below mentioned modules with their version needed to be installed,
these modules are available in your system but vCLI need specific
version to run properly
Module: ExtUtils::MakeMaker, Version: 6.96
Module: Module::Build, Version: 0.4205
Do you want to continue? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Invalid default answer!
Execution aborted.
Please suggest what need to do?
[root@OSLMSnagios vmware-vsphere-cli-distrib]# ./vmware-install.pl EULA_AGREED=yes --default
A previous installation of vSphere CLI has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of vSphere CLI installed. Continuing will remove it in
preparation for installing a new vSphere CLI. Do you want to continue?
[yes]
Uninstalling the tar installation of vSphere CLI.
The removal of vSphere CLI 5.5.0 build-2043780 for Linux completed
successfully.
Installing vSphere CLI 6.7.0 build-8156551 for Linux.
WARNING: The http_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the http_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
WARNING: The ftp_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the ftp_proxy environment
variable .
If your system has direct Internet access, you can ignore this warning .
Please wait while configuring CPAN ...
Can't locate Module/Build.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
Below mentioned modules with their version needed to be installed,
these modules are available in your system but vCLI need specific
version to run properly
Module: ExtUtils::MakeMaker, Version: 6.96
Module: Module::Build, Version: 0.4205
Do you want to continue? (yes/no)
The answer "" is invalid. It must be one of "y" or "n".
Invalid default answer!
Execution aborted.
Please suggest what need to do?
Thanks
Höegh
Höegh
Re: ESX3 CRITICAL - Can't load class 'HostSerialAttachedHba'
Hi All,
We followed the doc shared in above link, & upgraded Perl modules. Now issue resolved.
Now we can close the incident.
Thanks & Regards
Hoegh
We followed the doc shared in above link, & upgraded Perl modules. Now issue resolved.
Now we can close the incident.
Thanks & Regards
Hoegh
Thanks
Höegh
Höegh
Re: ESX3 CRITICAL - Can't load class 'HostSerialAttachedHba'
That's great to hear, locking the topic and marking as resolved.