While installing Autonomous Health Framework (AHF) on Oracle
Linux 7 in azure vm, we faced the below error
[root@az-psdvdb1
u01]# ./ahf_setup AHF Installer
for Platform Linux Architecture x86_64 AHF
Installation Log : /tmp/ahf_install_223200_6496_2023_01_11-23_33_23.log Starting
Autonomous Health Framework (AHF) Installation AHF Version:
22.3.2 Build Date: 202212190711 PERL :
/bin/perl [ERROR] :
AHF-00074: Perl Modules not found :
Data::Dumper |
After going through the installation log mentioned above ,
it was found the system couldn’t find perl-Data-Dumper in the server.
To verify it,
[root@az-psdvdb1
u01]# rpm -q perl-Data-Dumper package
perl-Data-Dumper is not installed |
Also, tried finding the rpm, but looks like it could only
find the missing perl module in existing installed oracle home.
[root@az-psdvdb1
u01]# find / -name Dumper.pm /u01/oracle/19.3.0/perl/lib/5.28.1/x86_64-linux-thread-multi/Data/Dumper.pm |
So , let’s Install perl-Data-Dumper
[root@az-psdvdb1
u01]# yum install perl-Data-Dumper Loaded
plugins: langpacks, ulninfo ksplice-uptrack
| 2.9 kB 00:00:00 ol7_UEKR6
| 3.0 kB 00:00:00 ol7_addons |
3.0 kB 00:00:00 ol7_epel
| 3.6 kB 00:00:00 ol7_latest |
3.6 kB 00:00:00 ol7_optional_latest
| 3.0 kB 00:00:00 packages-microsoft-com-prod | 3.0 kB 00:00:00 (1/2):
ol7_epel/x86_64/updateinfo
| 830 kB 00:00:00 (2/2):
ol7_epel/x86_64/primary_db
| 16 MB
00:00:00 Resolving
Dependencies -->
Running transaction check --->
Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed -->
Finished Dependency Resolution Dependencies
Resolved ======================================================================================================================== Package Arch Version Repository Size ======================================================================================================================== Installing: perl-Data-Dumper x86_64 2.145-3.el7 ol7_latest 47 k Transaction
Summary ======================================================================================================================== Install 1 Package Total
download size: 47 k Installed
size: 97 k Is this ok
[y/d/N]: y Downloading
packages: perl-Data-Dumper-2.145-3.el7.x86_64.rpm
| 47 kB 00:00:00 Running
transaction check Running
transaction test Transaction
test succeeded Running
transaction Installing : perl-Data-Dumper-2.145-3.el7.x86_64
1/1 Verifying
: perl-Data-Dumper-2.145-3.el7.x86_64
1/1 Installed: perl-Data-Dumper.x86_64 0:2.145-3.el7 Complete! [root@az-psdvdb1
u01]# |
Now lets check the module again
[root@az-psdvdb1
u01]# find / -name Dumper.pm /usr/lib64/perl5/vendor_perl/Data/Dumper.pm /u01/oracle/19.3.0/perl/lib/5.28.1/x86_64-linux-thread-multi/Data/Dumper.pm |
Now lets retry the installation
[oracle@az-psdvdb1 u01]$ ./ahf_setup AHF Installer for Platform Linux Architecture x86_64 AHF Installation Log :
/tmp/ahf_install_223200_29632_2023_01_12-00_28_15.log Starting Autonomous Health Framework (AHF) Installation AHF Version: 22.3.2 Build Date: 202212190711 Default AHF Location : /home/oracle/oracle.ahf Do you want to install AHF at [/home/oracle/oracle.ahf]
? [Y]|N : n …. … |
So this resolved the issue.
No comments:
Post a Comment