>  기사  >  데이터 베이스  >  Oracle 11.1.0.7.3 升级 9352179,9776431 补丁

Oracle 11.1.0.7.3 升级 9352179,9776431 补丁

WBOY
WBOY원래의
2016-06-07 17:05:03862검색

拷贝补丁文件Oracle11.1.0.7.3的补丁号是9352179,9776431是基于11.1.0.7.3的一个问题补丁,将补丁文件拷贝到/opt/orabak中,目录

拷贝补丁文件
Oracle11.1.0.7.3的补丁号是9352179,9776431是基于11.1.0.7.3的一个问题补丁,,将补丁文件拷贝到/opt/orabak中,目录结构如下:
/opt/orabak/p9352179_111070_Linux-x86-64.zip
/opt/orabak/p9776431_111073_Linux-x86-64.zip
解压缩安装文件,并赋予权限。
【命令】
# cd /opt/orabak
# unzip /opt/orabak/p9352179_111070_Linux-x86-64.zip
# chmod 777 -R /opt/orabak/9352179
# chown oracle:dba -R /opt/orabak/9352179
# unzip /opt/orabak/p9776431_111073_Linux-x86-64.zip
# chmod 777 -R /opt/orabak/9776431
# chown oracle:dba -R /opt/orabak/9776431

升级Opatch
Opatch是安装oracle补丁的工具,在11.1.0.7上打补丁,需要使用版本为11.1.0.8.1的Opatch。默认的Opatch版本是11.1.0.6.2,路径是$ORACLE_HOME/OPatch/opatch,不能用于安装11.1.0.7.3的补丁,因此需要首先升级Opatch到11.1.0.8.1。请将OPatch安装在/opt/orabak下,否则需要替换下面命令中对应的Opatch路径。
检查Opatch的版本号,以oracle用户登陆,切换到Opatch的目录。
【命令】
# export PATH=/opt/orabak/OPatch:$PATH
# cd /opt/orabak/OPatch
# ./opatch version
Invoking OPatch 11.1.0.8.1

OPatch Version: 11.1.0.8.1

OPatch succeeded.

升级9352179补丁
【命令】
# cd /opt/orabak/9352179
# /opt/orabak/OPatch/opatch apply
… …
Running prerequisite checks...
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 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
――注意,这里要输入y,然后按回车继续
OPatch detected the node list and the local node from the inventory.  OPatch will patch the local system then propagate the patch to the remote nodes.

linux

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.