oracle11.2最新补丁包34386237应用手记

在oracle用户下操作

  • 必须使用 OPatch 工具版本 11.2.0.3.36 或更高版本来应用此补丁。检查OPatch版本:

$ opatch version OPatch Version: 11.2.0.3.39

OPatch succeeded.

  • 解压补丁集:

unzip p34386237_112040_Linux-x86-64.zip

cd 34386237

  • 检查:

$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.

  • 停止数据库和监听:

$ lsnrctl stop

$ sqlplus / as sysdba

SQL> shutdown immediate;

SQL> quit

  • 应用补丁:

$ opatch apply

...

OPatch completed with warnings.

  • 补丁安装后操作

$ cd $ORACLE_HOME/rdbms/admin

$ sqlplus /nolog

SQL> CONNECT / AS SYSDBA

SQL> STARTUP

SQL> @catbundle.sql psu apply

SQL > @utlrp.sql

SQL > @dbmsjdev.sql

SQL > exec dbms_java_dev.disable

SQL> QUIT

$ opatch lsinventory | grep 34386237

Patch 34386237 : applied on Wed Apr 12 02:05:00 EDT 2023 Patch description: "Database Patch Set Update : 11.2.0.4.221018 (34386237)"

完毕。

你可能感兴趣的:(数据库技术,数据库,java,oracle)