AIK: mv: cannot stat `/exlibris/app/oracle/product/11r2': No such file or direct
- Article Type: General
- Product: Aleph
- Product Version: 21
Problem Symptoms:
If there?s an `/exlibris/app/oracle/product/11r2' directory, aik step 3.1 says: ?The Oracle software already exists on the server.?
But, if the 11r2 directory is removed, aik 3.1 gives this:
-------------------------
Extract Oracle software
-------------------------
INFO: Extracting Oracle software binaries
Please wait.......mv: cannot stat `/exlibris/app/oracle/product/11r2': No such file or directory
Error: Can not extract the Oracle software
Cause:
The following directories did not have the correct owner:
/exlibris/app/oracle
/exlibris/app/oracle/product
The correct owner is UNIX user oracle. However, on this server the UNIX user "aleph" owned these directories.
This is a result of the AIK defect reported in KB 16384-62706 ("AIK Step 2.5 overwrites variable $ORACLE_USER in file param_bash.ini").
Resolution:
1. Try to avoid executing AIK Step 2.5 until the bug mentioned in the Cause has been fixed.
2. If AIK Step 2.5 needs to be executed, then
a. check the file param_bash.ini immediately afterwards and ensure that the variable $ORACLE_USER has the following value:
ORACLE_USER=oracle
Note: the correct $ORACLE_USER *could* be a value other than "oracle", but, in any case, *not* "aleph".
b. If the following directories do not have $ORACLE_USER as their owner, then do:
chown oracle /exlibris/app/oracle
chown oracle /exlibris/app/oracle/product
Note: the correct value *could* be a value other than "oracle", but, in any case, *not* "aleph".
Additional Information
One site noted: "I tried at least 5 times but got stuck at the same AIK 5.5 step, the only way I could install AIK22 was to go back and check the $Oracle_user=oracle right after I run AIK step 2.5. then after this the installation run without problems."
Category: Installation
Subject: New Installation
- Article last edited: 11/16/2014