Skip to content

Make DBA Life Easy

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

Tag: Can’t locate Data/Dumper.pm

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
Unknown's avatarAuthor 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

December 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
« Nov    

Archives

Blog Stats

  • 1,435,528 hits

Categories

  • AWS (9)
  • GoldenGate (13)
    • Config (2)
    • Docs (1)
    • Exam & Interview Q/A (1)
    • How To (1)
    • Install and Upgrade (2)
    • JAgent (1)
    • OGG ERROR (4)
    • OGGMON (1)
  • Linux (29)
  • MySQL (4)
    • Install and Upgrade (3)
    • Startup and Shutdown (1)
  • Oracle (638)
    • 12c/13c/18c/19c/20x New Features (9)
    • ADR (2)
    • ASM (34)
    • Audit (4)
    • AWR (5)
    • BI Report (3)
    • CDB/PDB (27)
    • CHM (14)
    • Client (14)
    • CMU (2)
    • Configuration (31)
    • Corruptions (3)
    • DataGuard (60)
    • DataPump (17)
    • dbms_scheduler (6)
    • Exadata & ExaCC (10)
    • FLASHBACK (5)
    • GI and RAC (127)
    • Globalization (1)
    • Install Upgrade and Patches (70)
    • JAVA (2)
    • Materialized View (7)
    • OCI (5)
      • ADW / ATP (3)
      • Object Storage (1)
      • Veridata (1)
    • OEM( Oracle Enterprise Manager) (94)
      • OEM 12c (9)
      • OEM13c (87)
    • ORA- ERRORS (65)
    • oracle advanced compression (4)
    • ORMB (13)
    • Partitioning (12)
    • Performance Tunning (28)
    • RMAN Restore and Recovery (30)
    • Security (13)
    • Services (2)
    • SQL Net (16)
    • SQL Scripts For DBA (27)
    • Statistics (1)
    • TDE (7)
    • TOOLS( AHF TFA ORAchk EXAchk ) (6)
    • TTS (1)
    • Upgrade (2)
    • User Privileges and Roles (19)
    • Weblogic (1)
  • 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 (231)
  • SQL Server (27)
    • Always On (3)
    • Backup and Restore (2)
    • Client (1)
    • Install Patch and Upgrade (4)
    • Security (3)
    • Space (2)
    • SQL Scripts for DBA (6)
    • SSMA (4)
    • Versions (2)
  • VirtualBox (14)
  • Windows (15)

Meta

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
  • Home
  • Blog
  • Investment
  • About
  • Contact
  • Disclaimer
  • Subscribe
Make DBA Life Easy Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Make DBA Life Easy
    • Join 58 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Make DBA Life Easy
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar