on 2021 Jan 08 7:23 AM
Hello,
I am installing the Oracle 19c Software on a host with a running 12c database so I could upgrade it next week. Software Installation is done an now I try to install the patch bundle.
I have created a Directory /Oracle/LMS/19/Patchbundle and put These files in there:
-rwxrwxrwx 1 oralms dba 118437010 Jan 5 13:43 OPATCH19P_2008-70004508.ZIP
-rwxrwxrwx 1 oralms dba 29660775 Jan 5 13:59 SAP19P_2011-70004508.ZIP
-rwxrwxrwx 1 oralms dba 2856954233 Jan 7 13:09 GIRU19P_2011-70004508.ZIP
OPatch and MOPatch were extracted out of These files an copied to /Oracle/LMS/19
The ENV is set as follows:
PATH=/oracle/LMS/19/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/sap/LMS/SYS/exe/nuc/linuxx86_64:/usr/sap/LMS/SYS/exe/run:/oracle/LMS/home:.
HOME=/oracle/LMS/19
PWD=/oracle/LMS/19
REMOTEHOST=10.119.142.31
LD_LIBRARY_PATH=/usr/sap/LMS/SYS/exe/run:/usr/sap/LMS/SYS/exe/nuc/linuxx86_64:/oracle/LMS/19/lib
ORACLE_HOME=/oracle/LMS/19
OHRDBMS=/oracle/LMS/19
IHRDBMS=/oracle/LMS/19.0.0
Now I try to implemet These patches while I'm in the Patchbundle Directory and got the following error message:
lmsc0s3:oralms 79> $ORACLE_HOME/MOPatch/mopatch.sh -v -d -s SAP19P_2011-70004508.ZIP
Invalid patch work directory "." specified (below Oracle Home).
I searched in the OSS and the Internet and can find nothing regarding this error. I tried to analyze mopatch.sh but don't understand the part, where this error is triggered:
# verify patch work directory relative to Oracle Home. No need
# to check for errors when determining "$oha", since we have done
# that already above.
if test $_flg_allow_patch_work_below_oh = 0 &&
test $_flg_famopatch = 0 &&
test $_flg_stress_test = 0; then
oha=`( cd "$ORACLE_HOME" && pwd -P )`
case $patchdira in
"$oha")
usage "Invalid patch work directory \"$patchdir\" specified (equals Oracle Home)." ;;
"$oha"/*)
usage "Invalid patch work directory \"$patchdir\" specified (below Oracle Home)." ;;
esac
unset oha
fi
I tried to set HOME=/oracle/LMS/19 instead of the given HOME=/oracle/LMS/home. The same with variable PWD, but this all did not help.
Maybe I can find someone here to help me in this case.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi,
You may check SAP Note
##3000111 - Oracle: MOPatch 2.7 and Newer Reject Execution from below Oracle Home
Regards,
Bíborka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
11 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.