oracle 11g 单实例打11.2.0.3.4 P14275605 PSU
发表于:2025-01-20 作者:千家信息网编辑
千家信息网最后更新 2025年01月20日,1.关闭所有instanceSQL> shutdown immediate 2.关闭所有监听$[oracle@ora_11g test01]$ lsnrctl stop3.关闭所有后台sqlplus[
千家信息网最后更新 2025年01月20日oracle 11g 单实例打11.2.0.3.4 P14275605 PSU
1.关闭所有instanceSQL> shutdown immediate 2.关闭所有监听$[oracle@ora_11g test01]$ lsnrctl stop3.关闭所有后台sqlplus[oracle@ora_11g 14275605]$ ps -ef | grep sqlplusoracle 11823 6859 0 20:20 pts/2 00:00:00 grep sqlplus4.进入14275605 psu 解压目录,确保14275605权限为oracle:oinstall[oracle@ora_11g ~]$ cd /oinstall/14275605/[oracle@ora_11g 14275605]$ pwd/oinstall/14275605[oracle@ora_11g 14275605]$ ls -al drwxrwxr-x 6 oracle oinstall 4096 Oct 12 15:29 .drwxr-xr-x 5 oracle oinstall 4096 Dec 17 20:00 ..drwxr-xr-x 4 oracle oinstall 4096 Apr 4 2012 13343438drwxrwxr-x 4 oracle oinstall 4096 Apr 4 2012 13696216drwxrwxr-x 4 oracle oinstall 4096 Jun 13 2012 13923374drwxrwxr-x 4 oracle oinstall 4096 Oct 4 09:38 14275605-rwxr-xr-x 1 oracle oinstall 2871 Oct 4 09:38 patchmd.xml5.检查OPATCH版本,如果版本过低需要到MOS下载最近的OPATCH psu号为为6880880[oracle@ora_11g 14275605]$ $ORACLE_HOME/OPatch/opatch versionOPatch Version: 11.2.0.3.0OPatch succeeded.6.检查是否有与14275605有冲突的PSU[oracle@ora_11g 14275605]$ $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./Oracle Interim Patch Installer version 11.2.0.3.0Copyright (c) 2012, Oracle Corporation. All rights reserved.PREREQ sessionOracle Home : /opt/oracle/product/db_1Central Inventory : /opt/oraInventory from : /opt/oracle/product/db_1/oraInst.locOPatch version : 11.2.0.3.0OUI version : 11.2.0.3.0Log file location : /opt/oracle/product/db_1/cfgtoollogs/opatch/opatch3012-12-18_20-05-23PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.7.应用14275605 database PSU[oracle@ora_11g 14275605]$ /opt/oracle/product/db_1/OPatch/opatch applyOracle Interim Patch Installer version 11.2.0.3.0Copyright (c) 2012, Oracle Corporation. All rights reserved.Oracle Home : /opt/oracle/product/db_1Central Inventory : /opt/oraInventory from : /opt/oracle/product/db_1/oraInst.locOPatch version : 11.2.0.3.0OUI version : 11.2.0.3.0Log file location : /opt/oracle/product/db_1/cfgtoollogs/opatch/opatch3012-12-18_20-09-24PM_1.logVerifying environment and performing prerequisite checks...OPatch continues with these patches: 13343438 13696216 13923374 14275605 Do you want to proceed? [y|n]yUser Responded with: YAll checks passed.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]: yPlease shutdown Oracle instances running out of this ORACLE_HOME on the local system.(Oracle Home = '/opt/oracle/product/db_1')Is the local system ready for patching? [y|n]yUser Responded with: YBacking up files...Applying sub-patch '13343438' to OH '/opt/oracle/product/db_1'Patching component oracle.rdbms.rsf, 11.2.0.3.0...Patching component oracle.rdbms, 11.2.0.3.0...Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...Verifying the update...Applying sub-patch '13696216' to OH '/opt/oracle/product/db_1'Patching component oracle.rdbms.rsf, 11.2.0.3.0...Patching component oracle.rdbms, 11.2.0.3.0...Patching component oracle.sdo.locator, 11.2.0.3.0...Patching component oracle.sysman.console.db, 11.2.0.3.0...Patching component oracle.sysman.oms.core, 10.2.0.4.4...Verifying the update...Applying sub-patch '13923374' to OH '/opt/oracle/product/db_1'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms.rsf, 11.2.0.3.0...Patching component oracle.rdbms, 11.2.0.3.0...Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...Patching component oracle.network.rsf, 11.2.0.3.0...Patching component oracle.network.listener, 11.2.0.3.0...Patching component oracle.sysman.console.db, 11.2.0.3.0...Verifying the update...Applying sub-patch '14275605' to OH '/opt/oracle/product/db_1'ApplySession: Optional component(s) [ oracle.precomp.lang, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.network.client, 11.2.0.3.0...Patching component oracle.network.rsf, 11.2.0.3.0...Patching component oracle.precomp.common, 11.2.0.3.0...Patching component oracle.rdbms, 11.2.0.3.0...Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...Patching component oracle.rdbms.rman, 11.2.0.3.0...Patching component oracle.rdbms.rsf, 11.2.0.3.0...Patching component oracle.rdbms.util, 11.2.0.3.0...Verifying the update...OPatch found the word "warning" in the stderr of the make command.Please look at this stderr. You can re-run this make command.Stderr output:ins_precomp.mk:19: warning: overriding commands for target `pcscfg.cfg'/opt/oracle/product/db_1/precomp/lib/env_precomp.mk:2160: warning: ignoring old commands for target `pcscfg.cfg'/opt/oracle/product/db_1/precomp/lib/ins_precomp.mk:19: warning: overriding commands for target `pcscfg.cfg'/opt/oracle/product/db_1/precomp/lib/env_precomp.mk:2160: warning: ignoring old commands for target `pcscfg.cfg'Composite patch 14275605 successfully applied.OPatch Session completed with warnings.Log file location: /opt/oracle/product/db_1/cfgtoollogs/opatch/opatch3012-12-18_20-09-24PM_1.logOPatch completed with warnings.8.进入admin目录,执行catbundle.sql脚本应用改变[oracle@ora_11g 14275605]$ cd $ORACLE_HOME/rdbms/admin[oracle@ora_11g admin]$ sqlplus / as sysdbaSQL> startupSQL> @catbundle.sql psu apply查询registry$history 来查看PSU级别SQL>select substr(action_time,1,30) action_time, substr(id,1,8) id, substr(action,1,10) action, substr(version,1,8) version, substr(comments,1,20) comments from registry$history;ACTION_TIME ID ACTION VERSION COMMENTS------------------------------ ----- ---------- ---------- -----------------------17-DEC-12 03.14.08.703547 PM 0 APPLY 11.2.0.3 Patchset 11.2.0.2.018-DEC-12 08.13.16.342146 PM 4 APPLY 11.2.0.3 PSU 11.2.0.3.49.在以下目录检查是否错误$ORACLE_HOME/cfgtoollogs/catbundle $ORACLE_BASE/cfgtoollogs/catbundle 日志格式如下:catbundle_PSU__APPLY_ .logcatbundle_PSU_ _GENERATE_ .log到此 PSU数据库升级完成10.执行完catbundle.sql后,会在$ORACLE_HOME/rdbms/admin目录下生成catbundle_PSU_ _APPLY.sql,catbundle_PSU_ _ROLLBACK.sql两个脚本[oracle@ora_11g admin]$ ls -al catbundle_PSU_TEST01_*-rw-r----- 1 oracle oinstall 1130 Dec 18 20:13 catbundle_PSU_TEST01_APPLY.sql-rw-r----- 1 oracle oinstall 1139 Dec 18 20:13 catbundle_PSU_TEST01_ROLLBACK.sqlcatbundle_PSU_TEST01_ROLLBACK.sql用于回滚PSU时使用
目录
检查
版本
脚本
应用
两个
后台
数据
数据库
日志
权限
格式
级别
错误
冲突
升级
查询
生成
监听
实例
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
锐眼云控系统服务器
最安全的开源数据库
软件开发年终报告总结ppt
网络技术在公司用处
属地互联网服务器
蛟河手机软件开发
关于网络安全的警示标语
苹果手机农历日历服务器网址
戴尔服务器如何关闭安全模式
威海戴尔服务器代理零售商
金蝶服务器无法启动
免费医药数据库
网络安全的基本目标包括
javasql数据库
济南苹果软件开发哪家靠谱
linux qt 数据库
关系型数据库需要的原则
关于网络安全管理
顺网科技算互联网大厂吗
小孩想学游戏软件开发
工资管理系统数据库总结
数据库的数据存储在什么中
云服务器怎样设置ip黑名单
客户软件开发公司
淮安网络安全使用方法
网络安全教育训练制度
网络安全花样字体在线
网络服务器有什么区别
青岛软件开发助理招聘
苹果收件服务器是什么