|
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]$ ll
total 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]$ ls
crs/ emdpatch.pl* ocm/ opatch.bat* opatchdiag.bat* opatch.pl* oplan/version.txt
docs/ jlib/ opatch* opatchdiag* opatch.ini* opatchprereqs/ README.txt
[oracle@db2 OPatch]$ cd ocm/
[oracle@db2 ocm]$ ls
bin/ lib/ ocm_platforms.txt*ocm.zip
[oracle@db2 ocm]$ cd bin/
[oracle@db2 bin]$ ls
emocmrsp*
[oracle@db2 bin]$ ./emocmrsp
OCM Installation Response Generator 10.3.4.0.0 - Production
Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle 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]: y
The OCM configuration response file (ocm.rsp) was successfully created.
[oracle@db2 bin]$ ls
emocmrsp* ocm.rsp
[oracle@db2 bin]$ ll
total 16
-rwxr----- 1 oracle oinstall 9063 Nov 27 2009 emocmrsp*
-rw-r--r-- 1 oracle oinstall 623 Jul 15 00:30 ocm.rsp</span>
版权声明:本文为博主原创文章,未经博主允许不得转载。 |
|