Oracle11.2.0.4.5升级psu至11.2.0.4.160119的注意事项

本文档记录了从 Oracle 11.2.0.4.5 升级到 11.2.0.4.160119 PSU 的过程,包括升级前的准备,如停止数据库实例、OMS 和 SQL*Plus。在升级过程中遇到的问题是 `oracle` 文件属组变更导致的权限错误,解决方案是通过 grid 用户执行特定命令修改文件属组。升级完成后,验证补丁安装成功,并提供了数据库无法启动时的错误信息和解决方案引用。
摘要由CSDN通过智能技术生成

需求描述:

因第三方监控软件扫描出当前数据库存在漏洞,客户方要求升级数据库至最新补丁。

当前版本:Oracle 11.2.0.4.5

升级后补丁:Oracle 11.2.0.4.160119

 

升级前准备:

安装此psu前,需停止所有节点数据库实例、EM及退出所有sqlplus界面(否则将报错某些进程被占用or active)

grid$ srvctl stopdatabase -d db_name

node1.oracle$export ORACLE_UNQNAME=db_name

node1.oracle$emctl stop dbconsole

 

升级补丁日志:

执行opatch apply打补丁的过程日志(略):

Patching componentoracle.rdbms.rman, 11.2.0.4.0...

 Patching componentoracle.rdbms, 11.2.0.4.0...

 Verifying theupdate...

Applying sub-patch'21948347' to OH '/u02/app/oracle/product/11.2.0home_1'

ApplySession:Optional component(s) [ oracle.tfa, 11.2.0.4.0 ]  not present in the Oracle Home or a higherversion is found.

 Patching componentoracle.sysman.agent, 10.2.0.4.5...

 Patching componentoracle.ovm, 11.2.0.4.0...

 Patching componentoracle.xdk, 11.2.0.4.0...

 Patching componentoracle.rdbms, 11.2.0.4.0...

 Patching componentoracle.nlsrtl.rsf, 11.2.0.4.0...

 Patching componentoracle.xdk.parser.java, 11.2.0.4.0...

 Patching componentoracle.sysman.console.db, 11.2.0.4.0...

 Patching componentoracle.xdk.rsf, 11.2.0.4.0...

 Patching componentoracle.rdbms.rsf, 11.2.0.4.0...

 Patching componentoracle.sysman.oms.core, 10.2.0.4.5...

 Verifying theupdate...

 ...

 Patching inrolling mode.

 The node 'rac2'will be patched next.

 Please shutdownOracle instances running out of this ORACLE_HOME on 'rac2'.

(Oracle Home ='/u02/app/oracle/product/11.2.0home_1')

 Is the node readyfor patching? [y|n]

 

升级中(后)发现的问题:

在执行opatch apply过程中,$ORACLE_HOME/bin下的oracle文件属组发生变化(由oracle:asmadmin变为oracle:oinstall)

cd$ORACLE_HOME/bin

[oracle@rac1 bin]$ll oracle

-rwsr-s--x 1oracle asmadmin 239626641 Mar 16 02:58 oracle

[oracle@rac1 bin]$ll oracle

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值