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

    AIK step 3.3: "OS command to create directory failed; SVR4 Error: 13: Permission denied"

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

    Problem Symptoms:
    The Oracle error message ORA-48189 appeared in the log file of the Aleph Installation Kit (/exlibris/ftp_from_exlibris/AIK22/log/aleph_installation_kit.log), during AIK Step 3.3 "Install database", when the Oracle database aleph22 was started for the first time:

    ORA-48189: OS command to create directory failed
    SVR4 Error: 13: Permission denied
    Additional information: 2

    Cause:
    The directory $ORACLE_BASE (/exlibris/app/oracle) belongs to UNIX user root and group root. It has the filemode 755 (rwxr-xr-x). This means that UNIX user oracle does not have permission to write in that directory.

    When the Oracle database aleph22 was started, it tried to create the diagnostic directory /exlibris/app/oracle/diag and its subdirectories. Due to missing permission to write in directory /exlibris/app/oracle this operation failed, and the database did not start. In consequence, AIK Step 3.3 failed to create the database.

    Apart from that, the directory /exlibris/app/oracle/product belongs to UNIX user root and group root as well:

    $ ls -ld /exlibris/app/oracle/product
    drwxr-xr-x 3 root root 512 Mar 2 11:17 /exlibris/app/oracle/product

    That is incorrect, too.

    Resolution:
    (1)
    Change the owner and the permissions of the directories /exlibris/app/oracle and /exlibris/app/oracle/product:

    drwxr-xr-x oracle dba /exlibris/app/oracle
    drwxr-xr-x oracle dba /exlibris/app/oracle/product

    (2)
    Run AIK Step 3.3 again.

    Category: Installation & Upgrades (500)