Skip to content

Make DBA Life Easy

  • Home
  • Blog
  • Investment
  • About
  • Contact
  • Disclaimer
  • Subscribe
Make DBA Life Easy

Day: August 1, 2019

ORAchk TFA : Can’t locate Data/Dumper.pm

On Linux 7, while running TFA or ORAchk, it might fail with below errors:

[oracle@racnode1 orachk]$ which perl
/bin/perl

[oracle@racnode1 orachk]$ ./orachk -u -o pre

Enter upgrade target version (valid versions are 11.2.0.4.0, 12.1.0.2.0,
12.2.0.1.0, 18.0.0.0.0, 19.0.0.0.0, 20.0.0.0.0) 3 tries left:- 12.2.0.1.0

Clusterware stack is running from /u01/app/12.1.0/grid. 
                     Is this the correct Clusterware Home?[y/n][y] y
Can't locate Data/Dumper.pm in @INC (@INC contains: /u01/app/oracle/utilities/orachk 
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) 
at /u01/app/oracle/utilities/orachk/.cgrep/discoverdbasm.pl line 24.
BEGIN failed--compilation aborted at /u01/app/oracle/utilities/orachk/
.cgrep/discoverdbasm.pl line 24.

SOLUTION

Use Oracle Perl instead of Linux 7 Perl.

$ export PATH=/u01/app/oracle/product/12.1.0/dbhome_1/perl/bin:$PATH

$ which perl
/u01/app/oracle/product/12.1.0/dbhome_1/perl/bin/perl
Advertisement
Author dbalifeeasyPosted on August 1, 2019July 16, 2020Categories TOOLS( AHF TFA ORAchk EXAchk )Tags /usr/local/lib64/perl5, /usr/local/share/perl5, Can't locate Data/Dumper.pmLeave a comment on ORAchk TFA : Can’t locate Data/Dumper.pm

Google Translate

SEARCH

Calendar

August 2019
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Jul   Sep »

Archives

Blog Stats

  • 1,159,087 hits

Categories

  • AWS (9)
  • GoldenGate (6)
    • Config (2)
    • Docs (1)
    • Exam & Interview Q/A (1)
    • Install and Upgrade (2)
  • Linux (26)
  • MySQL (4)
    • Install and Upgrade (3)
    • Startup and Shutdown (1)
  • Oracle (535)
    • 12c/13c/18c/19c/20x New Features (9)
    • ADR (2)
    • ASM (27)
    • AWR (5)
    • CDB/PDB (18)
    • CHM (14)
    • Client (10)
    • CMU (2)
    • Configuration (25)
    • Corruptions (3)
    • DataGuard (52)
    • DataPump (17)
    • dbms_scheduler (6)
    • Exadata & ExaCC (10)
    • FLASHBACK (2)
    • GI and RAC (109)
    • Globalization (1)
    • Install Upgrade and Patches (64)
    • JAVA (2)
    • Materialized View (7)
    • OEM( Oracle Enterprise Manager) (79)
      • OEM 12c (8)
      • OEM13c (72)
    • ORA- ERRORS (55)
    • oracle advanced compression (4)
    • ORMB (13)
    • Partitioning (12)
    • Performance Tunning (28)
    • RMAN Restore and Recovery (20)
    • Security (10)
    • SQL Net (16)
    • SQL Scripts For DBA (25)
    • TDE (6)
    • TOOLS( AHF TFA ORAchk EXAchk ) (6)
    • TTS (1)
    • User Privileges and Roles (16)
  • PostgreSQL (31)
    • Client (4)
    • Extension (6)
    • Install and Upgrade (8)
    • Migration (4)
    • Objects (4)
    • Performance Tuning (1)
    • Privileges (1)
    • SQL Scripts for DBA (4)
    • Vacuum (4)
  • Premium Content (229)
  • SQL Server (26)
    • Always On (3)
    • Backup and Restore (2)
    • Client (1)
    • Install Patch and Upgrade (4)
    • Security (2)
    • Space (2)
    • SQL Scripts for DBA (6)
    • SSMA (4)
    • Versions (2)
  • VirtualBox (14)
  • Windows (15)

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
  • Home
  • Blog
  • Investment
  • About
  • Contact
  • Disclaimer
  • Subscribe
Make DBA Life Easy Blog at WordPress.com.
  • Follow Following
    • Make DBA Life Easy
    • Join 48 other followers
    • Already have a WordPress.com account? Log in now.
    • Make DBA Life Easy
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar