‘Opatch’ is not recognized as an internal or external command
Environment:-Windows Server 2012R2 IIS application
Error:- ‘Opatch’ is not recognized as an internal or external command while installing
patch for IIS webagte 11.1.2.3
Solution:-
My correct path is “C:\oracle\product\11.1.1\as_1” but i used wrong path in above command prompt “C:\oracle\product\11.1.1\as_1”. So, i got the error like ‘optach’ is not recognized.
run below commands by correcting the path
set ORACLE_HOME=C:\oracle\product\11.1.1\as_1
and then execute the below javascripts
set PATH=%ORACLE_HOME%\bin;%PATH%
set JAVA_HOME=%ORACLE_HOME%\jdk
set PATH=%JAVA_HOME%\bin;%PATH%
set PATH=%ORACLE_HOME%\OPatch;%PATH%
After setting above commands try to run opatch apply command
If the patch got succeed then we will get message like "opatch succeeded"
Environment:-Windows Server 2012R2 IIS application
Error:- ‘Opatch’ is not recognized as an internal or external command while installing
patch for IIS webagte 11.1.2.3
Solution:-
My correct path is “C:\oracle\product\11.1.1\as_1” but i used wrong path in above command prompt “C:\oracle\product\11.1.1\as_1”. So, i got the error like ‘optach’ is not recognized.
run below commands by correcting the path
set ORACLE_HOME=C:\oracle\product\11.1.1\as_1
and then execute the below javascripts
set PATH=%ORACLE_HOME%\bin;%PATH%
set JAVA_HOME=%ORACLE_HOME%\jdk
set PATH=%JAVA_HOME%\bin;%PATH%
set PATH=%ORACLE_HOME%\OPatch;%PATH%
After setting above commands try to run opatch apply command
If the patch got succeed then we will get message like "opatch succeeded"
Regards,
Aditya.
thanks. this is useful
ReplyDelete