Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    After applying the oracle patch ora_software backup failed

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    I applied the patch for oracle 11.1.0.7 last thursday but the ora-software backup failed.

    I looked into the /exlibris/backup/logs/ora_software_o5_Detail_120515_0430.log with
    grep -nv '^exlibris' ora_software_o5_Detail_120515_0430.log but i could not see any old links that would usually create the errors here is the end of the command:
    71231:/exlibris/app/oracle/admin/aleph20/scripts/ordinst.sql
    71232:/exlibris/app/oracle/admin/aleph20/scripts/xdb_protocol.sql
    71233:/exlibris/app/oracle/admin/aleph20/scripts/emRepository.sql
    71234:/exlibris/app/oracle/admin/aleph20/scripts/cwmlite.sql
    71235:/exlibris/app/oracle/admin/aleph20/scripts/apex.sql
    71236:/exlibris/app/oracle/admin/aleph20/scripts/lockAccount.sql
    71237:/exlibris/app/oracle/admin/aleph20/scripts/cwmlite.log
    71238:/exlibris/app/oracle/admin/aleph20/udump/
    71239:tar: Error exit delayed from previous errors
    71240:...................................
    71241:End of ora_software backup at /bin/date
    71242:...................................

    We see this in the /exlibris/backup/logs/ora-software.log:

    46866:tar: exlibris/app/oracle/product/11/ccr/engines/Linux/perl/lib/5.8.3/libexpat.so.0: Cannot stat: No such file or directory

    The error says that a perl library is missing, but there is a soft link for it:

    lrwxrwxrwx 1 oracle dba 76 May 10 06:59 libexpat.so.0 -> /exlibris/app/oracle/product/11/ccr/engines/Linux/perl/lib/libexpat.so.0.5.0

    Resolution:
    From Ex Libris: the error is valid, the file really is missing:

    [root@aleph18 5.8.3]# ls -la lib*
    -rw-r-xr-x 1 oracle dba 241125 Aug 27 2004 libcxa.so.3
    -rw-r-xr-x 1 oracle dba 345990 Mar 7 08:01 libexpat.a
    lrwxrwxrwx 1 oracle dba 76 May 10 06:59 libexpat.so.0 -> /exlibris/app/oracle/product/11/ccr/engines/Linux/perl/lib/libexpat.so.0.5.0

    [root@aleph18 5.8.3]# ls -la /exlibris/app/oracle/product/11/ccr/engines/Linux/perl/lib/libexpat.so.0.5.0
    ls: /exlibris/app/oracle/product/11/ccr/engines/Linux/perl/lib/libexpat.so.0.5.0: No such file or directory
    [root@aleph18 5.8.3]#

    The softlink should be removed.


    • Article last edited: 10/8/2013