[oracle@y11 ~]$ /home/oracle/OPatch/opatch
[oracle@y11 ~]$
[oracle@y11 ~]$
[oracle@y11 ~]$ cd 16902043/
[oracle@y11 16902043]$ ll
total 104
drwxr-xr-x 4 oracle oinstall 4096 Sep 25 2013 13343438
drwxrwxr-x 4 oracle oinstall 4096 Sep 25 2013 13696216
drwxrwxr-x 4 oracle oinstall 4096 Sep 25 2013 13923374
drwxrwxr-x 4 oracle oinstall 4096 Sep 25 2013 14275605
drwxrwxr-x 5 oracle oinstall 4096 Sep 25 2013 14727310
drwxrwxr-x 4 oracle oinstall 4096 Sep 25 2013 16056266
drwxrwxr-x 4 oracle oinstall 4096 Sep 25 2013 16619892
drwxrwxr-x 4 oracle oinstall 4096 Sep 25 2013 16902043
-rw-r--r-- 1 oracle oinstall 2871 Sep 25 2013 patchmd.xml
-rw-rw-r-- 1 oracle oinstall 59989 Oct 11 2013 README.html
-rw-r--r-- 1 oracle oinstall 21 Sep 25 2013 README.txt
[oracle@y11 16902043]$ /home/oracle/OPatch/opatch apply
The Oracle Home /home/oracle is not OUI based home. Please give proper Oracle Home.
[oracle@y11 16902043]$
然后就去看了一下oracle 用户下的.bash_profile,不知道怎么少了ORACLE_HOME的环境变量。加上就ok了。
本文记录了一次在Oracle环境中应用补丁时遇到的问题及解决过程。主要问题是由于环境变量ORACLE_HOME缺失导致补丁无法正常应用。通过检查并修复.bash_profile文件中的ORACLE_HOME配置,最终成功解决了问题。
851

被折叠的 条评论
为什么被折叠?



