Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Backup Package: any backup of Oracle database fails with error message ORA-27040: file create error

    Backup Package: any backup of Oracle database fails with error message ORA-27040: file create error

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Problem Symptoms:
    -- Start any backup of the Oracle database (ora_cold, ora_hot, ora_hot0, ora_hot1, ora_archive), using the Ex Libris Backup Package.

    -- When the Oracle Recovery Manager (RMAN) tries to write the first backup file to the destination directory the follow

     

    Cause:
    The error messages above indicate that the Oracle Recovery Manager (RMAN) could not write a backup file to the specified destination directory (/exlibris/backup_files in the following example).
    The operating system processes of RMAN run with the privileges of UNIX user oracle.
    However, it turns out that only UNIX user root has permission to write in the destination directory on the server:
    # ls -ld /exlibris/backup_files
    drwxr-xr-x 2 root root 4096 Jun 11 11:18 /exlibris/backup_files

    The Ex Libris Backup Package requires that the UNIX user which owns the Ex Libris software (user aleph, dtl, metalib, primo or verde) as well as the UNIX user oracle have permission to write in the destination directory of the backup files.

     

    Resolution:
    (1)
    Determine the destination directory of the backup files by entering the following command:
    $ grep BKP_DIR /exlibris/backup/conf/bkp_param.conf
    # BKP_DIR directory where the Backup Package will write the backup files
    # ensure write permisions to directory - chmod 777 $BKP_DIR
    setenv BKP_DIR <backup_file_directory>

    The value of the variable $BKP_DIR indicates the absolute path to the destination directory of the backup files. The default directory is /exlibris/backup_files.

    (2)
    Give all UNIX users permission to write in the destination directory by entering the following command as UNIX user root:
    # chmod 777 <backup_file_directory>

    (3)
    Start the backup of the Oracle database again.

     

     

     


    • Article last edited: 02-Mar-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Backup Package: hot backup doesn't flush online redo log to archive
      • Backup Package: error message "source: Too many arguments" at the end of Oracle software backup (o5)
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved