Oracle11.1.0.7.3 升级 9352179,9776431 补丁

来源:互联网 发布:js统计当前在线人数 编辑:程序博客网 时间:2024/04/29 07:26
 


拷贝补丁文件
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 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
――注意,这里要输入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.

原创粉丝点击