更新OPatch中OCM报错

来源:互联网 发布:淘宝数据包 编辑:程序博客网 时间:2024/05/18 15:25

       2014年7月14日凌晨,天翼XXX系统打补丁,在更新OPatch的OCM报:

<span style="font-size:18px;">[oracle@db2 bin]$ ./emocmrsp JAVA_HOME does not contain java.JAVA_HOME does not contain a valid JDK/JRE.Redefine JAVA_HOME to refer to a JDK/JRE 1.2.2 or greater.</span>

      处理的办法:

<span style="font-size:18px;">[oracle@db2 bin]$ lltotal 12-rwxr----- 1 oracle oinstall 9063 Nov 27  2009 emocmrsp*[oracle@db2 bin]$ cd[oracle@db2 ~]$ vi .bash_profile [oracle@db2 ~]$ export JAVA_HOME=$ORACLE_HOME/jdk[oracle@db2 ~]$ cd $ORACLE_HOME[oracle@db2 dbhome_1]$ cd OPatch[oracle@db2 OPatch]$ lscrs/   emdpatch.pl*  ocm/     opatch.bat*  opatchdiag.bat*  opatch.pl*    oplan/version.txtdocs/  jlib/     opatch*  opatchdiag*  opatch.ini*    opatchprereqs/  README.txt[oracle@db2 OPatch]$ cd ocm/[oracle@db2 ocm]$ lsbin/  lib/  ocm_platforms.txt*ocm.zip[oracle@db2 ocm]$ cd bin/[oracle@db2 bin]$ lsemocmrsp*[oracle@db2 bin]$ ./emocmrsp OCM Installation Response Generator 10.3.4.0.0 - ProductionCopyright (c) 2005, 2010, Oracle and/or its affiliates.  All rights reserved.Provide your email address to be informed of security issues, install andinitiate Oracle Configuration Manager. Easier for you if you use your MyOracle Support Email address/User Name.Visit http://www.oracle.com/support/policies.html for details.Email address/User Name: You have not provided an email address for notification of security issues.Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  yThe OCM configuration response file (ocm.rsp) was successfully created.[oracle@db2 bin]$ lsemocmrsp*  ocm.rsp[oracle@db2 bin]$ lltotal 16-rwxr----- 1 oracle oinstall 9063 Nov 27  2009 emocmrsp*-rw-r--r-- 1 oracle oinstall  623 Jul 15 00:30 ocm.rsp</span>


0 0
原创粉丝点击