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

    Procedure to automatically delete each library's ./files/dpdir directory

    • Article Type: General
    • Product: Aleph
    • Product Version: 20
    • Relevant for Installation Type: Dedicated-Direct; Direct; Local;

    Desired Outcome Goal:
    In a multi-ADM/multi-CR library environment (with many libraries) automatically delete each library's dpdir directory (rather than having to do it for each library manually {-- as required in certain cases described in Article 000003484 ("Oracle Data Pump doesn't work ...").}

    Procedure:
    rm -fr /exlibris/aleph/u20_2/*/files/dpdir

    <where "20" is the $ALEPH_VERSION and "2", the $ALEPH_COPY, as seen in the $alephe_root/aleph_start on this particular instance. >.

    Additional Information

    Note: If this error occurs on an *import* (oracle_impdp_aleph_libs), it may be that the existing dpdir directories contain files which need to be preserved.   
    **In that case, if data has already been moved to the dpdir directories from the source instance, they should *not* be deleted.**

    See  Article 000036726 ( oracle_impdp_aleph_libs: invalid file operation ... at "SYS.UTL_FILE  ).

    Category: System management


    • Article last edited: 2/24/2015