Thursday, May 20, 2021

[ERROR] : AHF-00074: Perl Modules not found : Net::Ping

During AHF install the error was obtained:

 # ./ahf_setup

AHF Installer for Platform Linux Architecture x86_64

AHF Installation Log : /tmp/ahf_install_211200_5109_2021_05_20-13_16_48.log

Starting Autonomous Health Framework (AHF) Installation

AHF Version: 21.1.2 Build Date: 202105140934

PERL : /bin/perl

[ERROR] : AHF-00074: Perl Modules not found :  Net::Ping

[root@localhost ~]# which perl
/usr/bin/perl
 

SOLUTION:

[root@localhost ~]# cpan
bash: cpan: command not found...
Install package 'perl-CPAN' to provide command 'cpan'? [N/y] y



 * Waiting in queue...
The following packages have to be installed:
 annobin-9.23-1.el8.x86_64    Annotate and examine compiled binary files
 dtrace-2.0.0-1.5.1.el8.x86_64    DTrace user interface.
 dwz-0.12-9.el8.x86_64    DWARF optimization and duplicate removal tool
 efi-srpm-macros-3-2.0.2.el8.noarch    Common SRPM Macros for building EFI-related packages
 ghc-srpm-macros-1.4.2-7.el8.noarch    RPM macros for building Haskell source packages
 go-srpm-macros-2-16.el8.noarch    RPM macros for building Golang packages for various architectures
 ocaml-srpm-macros-5-4.el8.noarch    OCaml architecture macros
 openblas-srpm-macros-2-2.el8.noarch    OpenBLAS architecture macros
 perl-Algorithm-Diff-1.1903-9.el8.noarch    Compute `intelligent' differences between two files/lists
 perl-Archive-Tar-2.30-1.el8.noarch    A module for Perl manipulation of .tar files
 perl-Archive-Zip-1.60-3.el8.noarch    Perl library for accessing Zip archives
 perl-CPAN-2.18-397.el8.noarch    Query, download and build perl modules from CPAN sites
 perl-CPAN-Meta-2.150010-396.el8.noarch    Distribution metadata for a CPAN dist
 perl-CPAN-Meta-Requirements-2.140-396.el8.noarch    Set of version requirements for a CPAN dist
 perl-CPAN-Meta-YAML-0.018-397.el8.noarch    Read and write a subset of YAML for CPAN Meta files
 perl-Compress-Bzip2-2.26-6.el8.x86_64    Interface to Bzip2 compression library
 perl-Data-OptList-0.110-6.el8.noarch    Parse and validate simple name/value option pairs
 perl-Data-Section-0.200007-3.el8.noarch    Read multiple hunks of data out of your DATA section
 perl-Devel-Size-0.81-2.el8.x86_64    Perl extension for finding the memory usage of Perl variables
 perl-ExtUtils-CBuilder-1:0.280230-2.el8.noarch    Compile and link C code for Perl modules
 perl-ExtUtils-Command-1:7.34-1.el8.noarch    Perl routines to replace common UNIX commands in Makefiles
 perl-ExtUtils-Install-2.14-4.el8.noarch    Install Perl files from here to there
 perl-ExtUtils-MM-Utils-1:7.34-1.el8.noarch    ExtUtils::MM methods without dependency on ExtUtils::MakeMaker
 perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch    Create a module Makefile
 perl-ExtUtils-Manifest-1.70-395.el8.noarch    Utilities to write and check a MANIFEST file
 perl-ExtUtils-ParseXS-1:3.35-2.el8.noarch    Module and a script for converting Perl XS code into C code
 perl-File-HomeDir-1.002-4.el8.noarch    Find your home and other directories on any platform
 perl-File-Which-1.22-2.el8.noarch    Portable implementation of the 'which' utility
 perl-IO-Zlib-1:1.10-417.el8_3.noarch    Perl IO:: style interface to Compress::Zlib
 perl-IPC-Cmd-2:1.02-1.el8.noarch    Finding and running system commands made easy
 perl-JSON-PP-1:2.97.001-3.el8.noarch    JSON::XS compatible pure-Perl module
 perl-Locale-Maketext-1.28-396.el8.noarch    Framework for localization
 perl-Locale-Maketext-Simple-1:0.21-417.el8_3.noarch    Simple interface to Locale::Maketext::Lexicon
 perl-MRO-Compat-0.13-4.el8.noarch    Mro::* interface compatibility for Perls < 5.9.5
 perl-Module-Build-2:0.42.24-5.el8.noarch    Build and install Perl modules
 perl-Module-CoreList-1:5.20181130-1.el8.noarch    What modules are shipped with versions of perl
 perl-Module-Load-1:0.32-395.el8.noarch    Run-time require of both modules and files
 perl-Module-Load-Conditional-0.68-395.el8.noarch    Looking up module information and loading at run-time
 perl-Module-Metadata-1.000033-395.el8.noarch    Gather package and POD information from perl module files
 perl-Net-Ping-2.55-417.el8_3.noarch    Check a remote host for reachability
 perl-Package-Generator-1.106-11.el8.noarch    Generate new packages quickly and easily
 perl-Params-Check-1:0.38-395.el8.noarch    Generic input parsing/checking mechanism
 perl-Params-Util-1.07-22.el8.x86_64    Simple standalone parameter-checking functions
 perl-Perl-OSType-1.010-396.el8.noarch    Map Perl operating system names to generic types
 perl-Pod-Html-1.22.02-417.el8_3.noarch    Convert POD files to HTML
 perl-Software-License-0.103013-2.el8.noarch    Package that provides templated software licenses
 perl-Sub-Exporter-0.987-15.el8.noarch    Sophisticated exporter for custom-built routines
 perl-Sub-Install-0.928-14.el8.noarch    Install subroutines into packages easily
 perl-Test-Harness-1:3.42-1.el8.noarch    Run Perl standard test scripts with statistics
 perl-Text-Diff-1.45-2.el8.noarch    Perform diffs on files and record sets
 perl-Text-Glob-0.11-4.el8.noarch    Perl module to match globbing patterns against text
 perl-Text-Template-1.51-1.el8.noarch    Expand template text with embedded Perl
 perl-devel-4:5.26.3-417.el8_3.x86_64    Header #files for use in perl development
 perl-inc-latest-2:0.500-9.el8.noarch    Use modules bundled in inc/ if they are newer than installed ones
 perl-local-lib-2.000024-2.el8.noarch    Create and use a local lib/ for perl modules
 perl-srpm-macros-1-25.el8.noarch    RPM macros for building Perl source package from source repository
 perl-version-6:0.99.24-1.el8.x86_64    Perl extension for Version Objects
 python-srpm-macros-3-39.el8.noarch    RPM macros for building Python source packages
 python3-rpm-macros-3-39.el8.noarch    RPM macros for building Python 3 packages
 qt5-srpm-macros-5.12.5-3.el8.noarch    RPM macros for source Qt5 packages
 redhat-rpm-config-123-1.0.1.el8.noarch    Red Hat specific rpm configuration files
 rust-srpm-macros-5-2.el8.noarch    RPM macros for building Rust source packages
Proceed with changes? [N/y] y


 * Waiting in queue...
 * Waiting for authentication...
 * Waiting in queue...
 * Downloading packages...
 * Requesting data...
 * Testing changes...
 * Installing packages...
Loading internal null logger. Install Log::Log4perl for logging messages

CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes] yes

Perl site library directory "/usr/local/share/perl5" does not exist.
Perl site library directory "/usr/local/share/perl5" created.
Perl site library directory "/usr/local/lib64/perl5" does not exist.
Perl site library directory "/usr/local/lib64/perl5" created.

Autoconfiguration complete.

commit: wrote '/root/.local/share/.cpan/CPAN/MyConfig.pm'

You can re-run configuration any time with 'o conf init' in the CPAN shell

cpan shell -- CPAN exploration and modules installation (v2.18)
Enter 'h' for help.

cpan[1]> Lockfile removed.

 

Let try again AHF:

[root@localhost ~]# ./ahf_setup

AHF Installer for Platform Linux Architecture x86_64

AHF Installation Log : /tmp/ahf_install_211200_7812_2021_05_20-13_18_52.log

Starting Autonomous Health Framework (AHF) Installation

AHF Version: 21.1.2 Build Date: 202105140934

Default AHF Location : /opt/oracle.ahf

Do you want to install AHF at [/opt/oracle.ahf] ? [Y]|N : y

...

AHF is successfully installed

1 comment:

  1. I love reading your blog. Your blog post is very useful and adds insight for me. Thank you for sharing.

    ReplyDelete

Note: Only a member of this blog may post a comment.

Does DEALLOCATE UNUSED or SHRINK SPACE will free space occupied by LOB segment?

Lets check how it works. My env is DB 19.20@Linux-x64 1) I created the table with 4 LOB columns of 4 different LOB types: BASICFILE BLOB, BA...