Trying to install AHF in version 25.11 on Oracle Linux 9 fails with the following error:
[root@XXX ahf]# ./ahf_setup
AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_2511000_14614_2026_01_07-14_52_12.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 25.11.0 Build Date: 202512150704
PERL : /u01/app/grid/product/19.0.0/grid/perl/bin/perl
[ERROR] : AHF-00026: Perl is not owned by root. AHF Requires Perl to be root owned for AHF Installations as the root user.
This is caused by missing perl modules in the default perl installation.
Checking the AHF install logs shows for example:
[2026-01-07 14:50:11.625 CET] Successfully validated Perl Owner of : /bin/perl
[2026-01-07 14:50:11.632 CET] Perl in checkPerlModules : /bin/perl
[2026-01-07 14:50:11.639 CET] Skip Perl Module List :
[2026-01-07 14:50:11.671 CET] Perl Module : Data::Dumper, Version : 2.174, Exit Status : 0
[2026-01-07 14:50:11.741 CET] Perl Module : File::Find, Version : , Exit Status : 2
[2026-01-07 14:50:11.749 CET] Perl Module not found : File::Find
[2026-01-07 14:50:11.781 CET] Perl Module : File::Path, Version : 2.18, Exit Status : 0
[2026-01-07 14:50:11.810 CET] Perl Module : File::Spec::Functions, Version : 3.78, Exit Status : 0
[2026-01-07 14:50:11.837 CET] Perl Module : File::Spec, Version : 3.78, Exit Status : 0
[2026-01-07 14:50:11.882 CET] Perl Module : File::Temp, Version : 0.2311, Exit Status : 0
[2026-01-07 14:50:11.897 CET] Perl Module : FindBin, Version : , Exit Status : 2
[2026-01-07 14:50:11.903 CET] Perl Module not found : FindBin
[2026-01-07 14:50:12.128 CET] Perl Module : List::Util, Version : 1.56, Exit Status : 0
[2026-01-07 14:50:12.142 CET] Perl Module : Math::BigInt, Version : , Exit Status : 2
[2026-01-07 14:50:12.149 CET] Perl Module not found : Math::BigInt
[2026-01-07 14:50:12.183 CET] Perl Module : Net::Domain, Version : 3.13, Exit Status : 0
[2026-01-07 14:50:12.198 CET] Perl Module : Net::Ping, Version : , Exit Status : 2
[2026-01-07 14:50:12.205 CET] Perl Module not found : Net::Ping
[2026-01-07 14:50:12.235 CET] Perl Module : Storable, Version : 3.21, Exit Status : 0
[2026-01-07 14:50:12.262 CET] Perl Module : Term::ANSIColor, Version : 5.01, Exit Status : 0
[2026-01-07 14:50:12.285 CET] Perl Module : Text::ParseWords, Version : 3.30, Exit Status : 0
[2026-01-07 14:50:12.312 CET] Perl Module : Text::Wrap, Version : 2013.0523, Exit Status : 0
[2026-01-07 14:50:12.339 CET] Perl Module : Time::Local, Version : 1.30, Exit Status : 0
[2026-01-07 14:50:12.354 CET] Perl Module : lib, Version : , Exit Status : 2
[2026-01-07 14:50:12.361 CET] Perl Module not found : lib
[2026-01-07 14:50:12.367 CET] PERL_ERROR in checkPerlModules : AHF-00074: Required Perl Modules not found : File::Find FindBin Math::BigInt Net::Ping lib
[2026-01-07 14:50:12.374 CET] Successfully validated Perl Modules in : /bin/perl
The solution is pretty simple: Install the missing perl modules. In my case with AHF 25.11 on Oracle Linux 9:
dnf install perl-File-Find perl-FindBin perl-Math-BigInt perl-Net-Ping perl-lib perl-File-Copy perl-English perl-Sys-Hostname perl-Term-ReadLine perl-locale