DICA - [ERROR] : AHF-00074: Perl Modules not found : Data::Dumper

Erro ao instalar o AHF (Autonomous Health Framework) 20.4 em um ambiente RHEL 7.

[root@lamim01 ahf]# ./ahf_setup -ahf_loc /u01/ahf -data_dir /u01/ahf

AHF Installer for Platform Linux Architecture x86_64

AHF Installation Log : /tmp/ahf_install_204000_87359_2020_12_01-15_40_26.log

PERL : /u01/app/19.9/grid/perl/bin/perl

[ERROR] : AHF-00074: Perl Modules not found :  Data::Dumper

[root@lamim01 ahf]#

Ao verificar o log de instalação é possível identificar o erro abaixo.

[2020-12-01 15:40:26.359 -03] Log File : /tmp/ahf_install_204000_87359_2020_12_01-15_40_26.log
[2020-12-01 15:40:26.369 -03] Free Disk Space in [/tmp/.ahf.87359] : [9433] MB
[2020-12-01 15:40:26.371 -03] Free Space in AHF TMP Directory [/tmp/.ahf.87359] : [9433]
[2020-12-01 15:40:26.373 -03] AHF Debug :
[2020-12-01 15:40:26.375 -03] AHF Debug Level : 3
[2020-12-01 15:40:26.376 -03] AHF Arguments : -ahf_loc /u01/ahf -data_dir /u01/ahf
[2020-12-01 15:40:26.378 -03] Current Directory : /tmp/ahf
[2020-12-01 15:40:26.383 -03] Hostname : lamim01 
[2020-12-01 15:40:26.387 -03] User ID : 0
[2020-12-01 15:40:26.390 -03] User Name : root
[2020-12-01 15:40:26.392 -03] OLR Location : /etc/oracle/olr.loc
[2020-12-01 15:40:26.396 -03] CRS HOME using OLR Location : /u01/app/19.9/grid
[2020-12-01 15:40:26.397 -03] Getting GI BASE from /u01/app/19.9/grid/crs/install/crsconfig_params
[2020-12-01 15:40:26.402 -03] GI BASE using crsconfig_params : /u01/app/oracle
[2020-12-01 15:40:26.404 -03] GI Base in getGIBase : /u01/app/oracle
[2020-12-01 15:40:26.406 -03] AHF_CRS_HOME : /u01/app/19.9/grid
[2020-12-01 15:40:26.408 -03] AHF_GI_BASE : /u01/app/oracle
[2020-12-01 15:40:26.411 -03] System Perl : /bin/perl
[2020-12-01 15:40:26.412 -03] Checking Perl Version : /bin/perl
[2020-12-01 15:40:26.418 -03] Perl Version : 5.016003
[2020-12-01 15:40:26.420 -03] PERL_ERROR in checkPerlVersion :
[2020-12-01 15:40:26.422 -03] Checking Perl Owner : /bin/perl
[2020-12-01 15:40:26.425 -03] Perl Owner : root
[2020-12-01 15:40:26.427 -03] PERL_ERROR in checkPerlOwner :
[2020-12-01 15:40:26.429 -03] Perl in checkPerlModules : /bin/perl
[2020-12-01 15:40:26.433 -03] Perl Module : Data::Dumper, Version : , Exit Status : 2
[2020-12-01 15:40:26.435 -03] Perl Module not found : Data::Dumper
[2020-12-01 15:40:26.442 -03] Perl Module : File::Basename, Version : 2.84, Exit Status : 0
[2020-12-01 15:40:26.452 -03] Perl Module : File::Copy, Version : 2.23, Exit Status : 0
[2020-12-01 15:40:26.464 -03] Perl Module : File::Find, Version : 1.20, Exit Status : 0
[2020-12-01 15:40:26.474 -03] Perl Module : File::Path, Version : 2.09, Exit Status : 0
[2020-12-01 15:40:26.482 -03] Perl Module : File::Spec::Functions, Version : 3.40, Exit Status : 0
[2020-12-01 15:40:26.489 -03] Perl Module : File::Spec, Version : 3.40, Exit Status : 0
[2020-12-01 15:40:26.510 -03] Perl Module : File::Temp, Version : 0.2301, Exit Status : 0
[2020-12-01 15:40:26.521 -03] Perl Module : FindBin, Version : 1.51, Exit Status : 0
[2020-12-01 15:40:26.534 -03] Perl Module : Getopt::Long, Version : 2.4, Exit Status : 0
[2020-12-01 15:40:26.539 -03] Perl Module : Getopt::Std, Version : 1.07, Exit Status : 0
[2020-12-01 15:40:26.550 -03] Perl Module : IO::File, Version : 1.16, Exit Status : 0
[2020-12-01 15:40:26.559 -03] Perl Module : IO::Handle, Version : 1.33, Exit Status : 0
[2020-12-01 15:40:26.568 -03] Perl Module : IPC::Open2, Version : 1.04, Exit Status : 0
[2020-12-01 15:40:26.577 -03] Perl Module : IPC::Open2, Version : 1.04, Exit Status : 0
[2020-12-01 15:40:26.586 -03] Perl Module : IPC::Open3, Version : 1.12, Exit Status : 0
[2020-12-01 15:40:26.592 -03] Perl Module : List::Util, Version : 1.27, Exit Status : 0
[2020-12-01 15:40:26.611 -03] Perl Module : Math::BigInt, Version : 1.998, Exit Status : 0
[2020-12-01 15:40:26.623 -03] Perl Module : Net::Domain, Version : 2.20, Exit Status : 0
[2020-12-01 15:40:26.642 -03] Perl Module : Net::Ping, Version : 2.38, Exit Status : 0
[2020-12-01 15:40:26.652 -03] Perl Module : Storable, Version : 2.45, Exit Status : 0
[2020-12-01 15:40:26.660 -03] Perl Module : Term::ANSIColor, Version : 3.01, Exit Status : 0
[2020-12-01 15:40:26.666 -03] Perl Module : Text::ParseWords, Version : 3.29, Exit Status : 0
[2020-12-01 15:40:26.673 -03] Perl Module : Text::Wrap, Version : 2009.0305, Exit Status : 0
[2020-12-01 15:40:26.682 -03] Perl Module : Time::Local, Version : 1.2300, Exit Status : 0
[2020-12-01 15:40:26.684 -03] PERL_ERROR in checkPerlModules : AHF-00074: Perl Modules not found :  Data::Dumper
[2020-12-01 15:40:26.686 -03] Perl from CRS HOME : /u01/app/19.9/grid/perl/bin/perl
[2020-12-01 15:40:26.687 -03] Checking Perl Version : /u01/app/19.9/grid/perl/bin/perl
[2020-12-01 15:40:26.693 -03] Perl Version : 5.028001
[2020-12-01 15:40:26.695 -03] PERL_ERROR in checkPerlVersion :
[2020-12-01 15:40:26.697 -03] Checking Perl Owner : /u01/app/19.9/grid/perl/bin/perl
[2020-12-01 15:40:26.701 -03] Perl Owner : root
[2020-12-01 15:40:26.703 -03] PERL_ERROR in checkPerlOwner :
[2020-12-01 15:40:26.704 -03] Perl in checkPerlModules : /u01/app/19.9/grid/perl/bin/perl
[2020-12-01 15:40:26.718 -03] Perl Module : Data::Dumper, Version : 2.170, Exit Status : 0
[2020-12-01 15:40:26.725 -03] Perl Module : File::Basename, Version : 2.85, Exit Status : 0
[2020-12-01 15:40:26.740 -03] Perl Module : File::Copy, Version : 2.33, Exit Status : 0
[2020-12-01 15:40:26.756 -03] Perl Module : File::Find, Version : 1.34, Exit Status : 0
[2020-12-01 15:40:26.770 -03] Perl Module : File::Path, Version : 2.15, Exit Status : 0
[2020-12-01 15:40:26.781 -03] Perl Module : File::Spec::Functions, Version : 3.74, Exit Status : 0
[2020-12-01 15:40:26.792 -03] Perl Module : File::Spec, Version : 3.74, Exit Status : 0
[2020-12-01 15:40:26.819 -03] Perl Module : File::Temp, Version : 0.2304, Exit Status : 0
[2020-12-01 15:40:26.834 -03] Perl Module : FindBin, Version : 1.51, Exit Status : 0
[2020-12-01 15:40:26.848 -03] Perl Module : Getopt::Long, Version : 2.5, Exit Status : 0
[2020-12-01 15:40:26.854 -03] Perl Module : Getopt::Std, Version : 1.12, Exit Status : 0
[2020-12-01 15:40:26.866 -03] Perl Module : IO::File, Version : 1.39, Exit Status : 0
[2020-12-01 15:40:26.878 -03] Perl Module : IO::Handle, Version : 1.39, Exit Status : 0
[2020-12-01 15:40:26.889 -03] Perl Module : IPC::Open2, Version : 1.04, Exit Status : 0
[2020-12-01 15:40:26.900 -03] Perl Module : IPC::Open2, Version : 1.04, Exit Status : 0
[2020-12-01 15:40:26.911 -03] Perl Module : IPC::Open3, Version : 1.20, Exit Status : 0
[2020-12-01 15:40:26.918 -03] Perl Module : List::Util, Version : 1.5, Exit Status : 0
[2020-12-01 15:40:26.950 -03] Perl Module : Math::BigInt, Version : 1.999811, Exit Status : 0
[2020-12-01 15:40:26.965 -03] Perl Module : Net::Domain, Version : 3.11, Exit Status : 0
[2020-12-01 15:40:26.990 -03] Perl Module : Net::Ping, Version : 2.62, Exit Status : 0
[2020-12-01 15:40:27.004 -03] Perl Module : Storable, Version : 3.08, Exit Status : 0
[2020-12-01 15:40:27.014 -03] Perl Module : Term::ANSIColor, Version : 4.06, Exit Status : 0
[2020-12-01 15:40:27.021 -03] Perl Module : Text::ParseWords, Version : 3.30, Exit Status : 0
[2020-12-01 15:40:27.030 -03] Perl Module : Text::Wrap, Version : 2013.0523, Exit Status : 0
[2020-12-01 15:40:27.041 -03] Perl Module : Time::Local, Version : 1.25, Exit Status : 0
[2020-12-01 15:40:27.043 -03] PERL_ERROR in checkPerlModules : AHF-00074: Perl Modules not found :  Data::Dumper
[2020-12-01 15:40:27.045 -03] PERL : /u01/app/19.9/grid/perl/bin/perl
[2020-12-01 15:40:27.048 -03] AHF-00074: Perl Modules not found :  Data::Dumper
[2020-12-01 15:40:27.051 -03] Removing AHF TMP Directory [/tmp/.ahf.87359/ahfdata]
[2020-12-01 15:40:27.053 -03] AHF Install is exiting with status [74]
[root@sfp03300ora01 ahf]#

Conforme destacado no log acima, o instalador está localizando o perl, porém não localizou o modulo perl-Data-Dumper.
[root@lamim01 ahf]# rpm -q perl-Data-Dumper
package perl-Data-Dumper is not installed
[root@lamim01 ahf]#

Desta forma, estarei realizando a instalação do perl-Data-Dumper para poder prosseguir com a instalação do AHF.

[root@lamim01 ahf]# rpm -q perl-Data-Dumper
package perl-Data-Dumper is not installed
[root@lamim01 ahf]#
perl-Data-Dumper

[root@lamim01 ahf]# yum install perl-Data-Dumper
Loaded plugins: product-id, search-disabled-repos, subscription-manager
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                                     rhel-7-server-rpms                                   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:01
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@lamim01 ahf]#
[root@lamim01 ahf]# rpm -q perl-Data-Dumper
perl-Data-Dumper-2.145-3.el7.x86_64
[root@lamim01 ahf]#

Concluída a instalação do perl-Data-Dumper é possivel instalar com sucesso o AHF. 
[root@lamim01 ahf]# ./ahf_setup -ahf_loc /u01/ahf -data_dir /u01/ahf

AHF Installer for Platform Linux Architecture x86_64

AHF Installation Log : /tmp/ahf_install_204000_147138_2020_12_01-15_58_55.log

Starting Autonomous Health Framework (AHF) Installation

AHF Version: 20.4.0 Build Date: 202011222149

TFA is already installed at : /u01/app/19.9/grid/tfa/lamim01/tfa_home

Installed TFA Version : 183300 Build ID : 20190315044534

AHF Location : /u01/ahf/oracle.ahf

AHF Data Directory : /u01/ahf/oracle.ahf/data

Shutting down TFA : /u01/app/19.9/grid/tfa/lamim01/tfa_home

Copying TFA Data Files from /u01/app/19.9/grid/tfa/lamim01/tfa_home

Uninstalling TFA : /u01/app/19.9/grid/tfa/lamim01/tfa_home

Do you want to add AHF Notification Email IDs ? [Y]|N : n

Login using root is disabled in sshd config. Installing AHF only on Local Node

Extracting AHF to /u01/ahf/oracle.ahf

Configuring TFA Services

Copying TFA Data Files to AHF

Discovering Nodes and Oracle Resources

Starting TFA Services
Created symlink from /etc/systemd/system/multi-user.target.wants/oracle-tfa.service to /etc/systemd/system/oracle-tfa.service.
Created symlink from /etc/systemd/system/graphical.target.wants/oracle-tfa.service to /etc/systemd/system/oracle-tfa.service.

.-----------------------------------------------------------------------------------.
| Host          | Status of TFA | PID    | Port | Version    | Build ID             |
+---------------+---------------+--------+------+------------+----------------------+
| lamim01 | RUNNING       | 159081 | 5000 | 20.4.0.0.0 | 20400020201122214905 |
'---------------+---------------+--------+------+------------+----------------------'

Running TFA Inventory...

Adding default users to TFA Access list...

.---------------------------------------------------------------.
|                  Summary of AHF Configuration                 |
+-----------------+---------------------------------------------+
| Parameter       | Value                                       |
+-----------------+---------------------------------------------+
| AHF Location    | /u01/ahf/oracle.ahf                         |
| TFA Location    | /u01/ahf/oracle.ahf/tfa                     |
| Orachk Location | /u01/ahf/oracle.ahf/orachk                  |
| Data Directory  | /u01/ahf/oracle.ahf/data                    |
| Repository      | /u01/ahf/oracle.ahf/data/repository         |
| Diag Directory  | /u01/ahf/oracle.ahf/data/lamim01/diag |
'-----------------+---------------------------------------------'


Starting orachk scheduler from AHF ...

AHF binaries are available in /u01/ahf/oracle.ahf/bin

AHF is successfully installed

Moving /tmp/ahf_install_204000_147138_2020_12_01-15_58_55.log to /u01/ahf/oracle.ahf/data/lamim01/diag/ahf/

[root@lamim01 ahf]#

SHARE

Jhonata Lamim

  • Image
  • Image
  • Image
  • Image
  • Image

0 Comments:

Postar um comentário