My Oracle Support Banner

Ra_fs_cleanup.pl Fails with 'libclntsh.so.12.1: cannot open shared object file: No such file or directory' (Doc ID 2379974.1)

Last updated on JANUARY 12, 2020

Applies to:

Zero Data Loss Recovery Appliance Software - Version 12.1.1.1.8 to 12.1.1.1.8
Information in this document applies to any platform.

Symptoms


"ra_fs_cleanup.pl" script throws the following error continuously in /var/spool/mail/oracle

======
From  Thu Mar 8 23:30:02 2018
Return-Path: 
Received: from (localhost.localdomain [127.0.0.1])
by  with xxxx id
for ; Thu, 8 Mar 2018 23:30:02 +0100
Received: (from @localhost)
by 
Thu, 8 Mar 2018 23:30:02 +0100
Date: Thu, 8 Mar 2018 23:30:02 +0100
Message-Id: 
X-Authentication-Warning: : oracle set sender to root using -f
From: (Cron Daemon)
To: 
Subject: Cron export LD_LIBRARY_PATH=:/lib; cd /opt/oracle.RecoveryAppliance/bin; ./ra_fs_cleanup.pl
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <LANG=en_US.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/oracle>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: 
X-Cron-Env: 

Can't load '/u01/app/oracle/product/12.1.0.2/<PATH>/perl/lib/site_perl/5.14.1/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.12.1: cannot open shared object file: No such file or directory at /u01/app/oracle/product/12.1.0.2/dbhome_1/perl/lib/5.14.1/x86_64-linux-thread-multi/DynaLoader.pm line 190.
at /u01/app/oracle/product/12.1.0.2/PATH/perl/lib/site_perl/5.14.1/RA/DB/Oracle.pm line 136
Compilation failed in require at /u01/app/oracle/product/12.1.0.2/PATH/perl/lib/site_perl/5.14.1/RA/DB/Oracle.pm line 136.
BEGIN failed--compilation aborted at /u01/app/oracle/product/12.1.0.2/PATH/perl/lib/site_perl/5.14.1/RA/DB/Oracle.pm line 136.
Compilation failed in require at /u01/app/oracle/product/12.1.0.2/PATH/perl/lib/site_perl/5.14.1/RA/Util.pm line 150.
BEGIN failed--compilation aborted at /u01/app/oracle/product/12.1.0.2/PATH/perl/lib/site_perl/5.14.1/RA/Util.pm line 150.
Compilation failed in require at /u01/app/oracle/product/12.1.0.2/PATH/perl/lib/site_perl/5.14.1/RA/DB/Adrci.pm line 48.
BEGIN failed--compilation aborted at /u01/app/oracle/product/12.1.0.2/PATH/perl/lib/site_perl/5.14.1/RA/DB/Adrci.pm line 48.
Compilation failed in require at ./ra_fs_cleanup.pl line 44.
BEGIN failed--compilation aborted at ./ra_fs_cleanup.pl line 44.
=====

Please note that the error is not being signalled in ra_fs_cleanup.log, but in /var/spool/mail/oracle

Changes

 ZDLRA was upgraded to ra_automation-12.2.1.1.1.201711-27408895.x86_64

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.