OPatch - Patches Installations
Dear all.
I've got a Oracle 10g R 2.0.1 under Oracle Enterprise Linux 5 and now I'm trying to apply a patch. I accessed the Metalink Website and found p6880880_102000_LINUX.zip that I must install. I downloaded it and used unzip at ORACLE_HOME and I could see that the folder OPatch was created.
----------------------------------------------------------------------------------------------
Archive: p6880880_102000_LINUX.zip
creating: OPatch/
creating: OPatch/docs/
inflating: OPatch/docs/FAQ
inflating: OPatch/docs/Users_Guide.txt
inflating: OPatch/docs/Prereq_Users_Guide.txt
creating: OPatch/jlib/
inflating: OPatch/jlib/opatch.jar
inflating: OPatch/jlib/opatchutil.jar
inflating: OPatch/jlib/opatchprereq.jar
inflating: OPatch/jlib/opatchactions.jar
creating: OPatch/opatchprereqs/
creating: OPatch/opatchprereqs/opatch/
inflating: OPatch/opatchprereqs/opatch/opatch_prereq.xml
inflating: OPatch/opatchprereqs/opatch/rulemap.xml
inflating: OPatch/opatchprereqs/opatch/runtime_prereq.xml
creating: OPatch/opatchprereqs/oui/
inflating: OPatch/opatchprereqs/oui/knowledgesrc.xml
inflating: OPatch/opatchprereqs/prerequisite.properties
inflating: OPatch/opatch
inflating: OPatch/opatch.bat
inflating: OPatch/opatch.pl
inflating: OPatch/opatch.ini
inflating: OPatch/emdpatch.pl
inflating: OPatch/README.txt
creating: OPatch/ocm/
extracting: OPatch/ocm/ocm.zip
creating: OPatch/ocm/lib/
inflating: OPatch/ocm/lib/emocmclnt-14.jar
inflating: OPatch/ocm/lib/emocmutl.jar
inflating: OPatch/ocm/lib/osdt_core3.jar
inflating: OPatch/ocm/lib/osdt_jce.jar
creating: OPatch/ocm/bin/
inflating: OPatch/ocm/bin/emocmrsp
----------------------------------------------------------------------------------------------
I accessed the folder ( cd OPatch) and I ran opatch version command but I got this message:
dirname: invalid option -- b
Try `dirname --help' for more information.
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/opatch/OPatch
Could anybody help me with that. I tried some google searches but I couldnt sort it out anyway. My variables are set like I show below:
export ORACLE_HOME=/app/oracle/product/10.2.0/db_1/
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=orcl
Thanks a lot