Oracle 12.2 OJVM的安装步骤


这篇文章主要介绍“Oracle 12.2 OJVM的安装步骤”,在日常操作中,相信很多人在Oracle 12.2 OJVM的安装步骤问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Oracle 12.2 OJVM的安装步骤”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!数据库版本:Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 – 64bit ProductionOJVM版本:p27923353_122010_Linux-x86-64.zip1,解压2,OPatch utility version 12.2.0.1.7 or later to apply this patch.[oracle@prod04 27923353]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatch versionOPatch Version: 12.2.0.1.14OPatch succeeded.3,关闭数据库,关闭监听4,安装补丁[oracle@prod04 27923353]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatch applyOracle Interim Patch Installer version 12.2.0.1.14Copyright (c) 2018, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/12.2.0/dbhome_1Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/12.2.0/dbhome_1/oraInst.locOPatch version : 12.2.0.1.14OUI version : 12.2.0.1.4Log file location : /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch3018-08-06_14-16-40PM_1.logVerifying environment and performing prerequisite checks…OPatch continues with these patches: 27923353 Do you want to proceed? [y|n]yUser Responded with: YAll checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.(Oracle Home = ‘/u01/app/oracle/product/12.2.0/dbhome_1’)Is the local system ready for patching? [y|n]yUser Responded with: YBacking up files…Applying interim patch ‘27923353’ to OH ‘/u01/app/oracle/product/12.2.0/dbhome_1’Patching component oracle.javavm.server, 12.2.0.1.0…Patching component oracle.javavm.server.core, 12.2.0.1.0…Patching component oracle.rdbms.dbscrip免费云主机域名ts, 12.2.0.1.0…Patching component oracle.javavm.client, 12.2.0.1.0…Patching component oracle.rdbms, 12.2.0.1.0…Patch 27923353 successfully applied.Log file location: /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch3018-08-06_14-16-40PM_1.logOPatch succeeded.
5,启动数据库,应用补丁(Single/Multitenant (CDB/PDB) DB)[oracle@prod04 27923353]$ sqlplus / as sysdbaSQL*Plus: Release 12.2.0.1.0 Production on Mon Aug 6 14:26:28 2018Copyright (c) 1982, 2016, Oracle. All rights reserved.Connected to an idle instance.SQL> startup upgradeORACLE instance started.Total System Global Area 1845493760 bytesFixed Size
8793976 bytesVariable Size
704643208 bytesDatabase Buffers
1124073472 bytesRedo Buffers
7983104 bytesDatabase mounted.Database opened.SQL> alter pluggable database all open upgrade;Pluggable database altered.SQL> exit[oracle@prod04 27923353]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/datapatch -verbose
SQL Patching tool version 12.2.0.1.0 Production on Mon Aug 6 14:27:21 2018Copyright (c) 2012, 2018, Oracle. All rights reserved.Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_13904_2018_08_06_14_27_21/sqlpatch_invocation.logConnecting to database…OKNote: Datapatch will only apply or rollback SQL fixes for PDBs that are in an open state, no patches will be applied to closed PDBs. Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation (Doc ID 1585822.1)Bootstrapping registry and package to current versions…doneDetermining current state…doneCurrent state of SQL patches:Patch 27923353 (OJVM RELEASE UPDATE: 12.2.0.1.180717 (27923353)): Installed in the binary registry onlyBundle series 12.2.0.1.180717DBJAN2018RUR: ID 180717 in the binary registry and ID 180717 in PDB CDB$ROOT, ID 180717 in PDB PDB$SEED, ID 180717 in PDB PDB01Bundle series DBRU: Not installed in the binary registry and ID 170718 in PDB CDB$ROOT, ID 170718 in PDB PDB$SEED, ID 170718 in PDB PDB01Adding patches to installation queue and performing prereq checks…Installation queue: For the following PDBs: CDB$ROOT PDB$SEED PDB01 The following patches will be rolled back: 26123830 (DATABASE RELEASE UPDATE 12.2.0.1.170718) The following patches will be applied: 27923353 (OJVM RELEASE UPDATE: 12.2.0.1.180717 (27923353))Installing patches…Patch installation complete. Total patches installed: 6Validating logfiles…Patch 26123830 rollback (pdb CDB$ROOT): SUCCESS logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_rollback_CDB_CDBROOT_2018Aug06_14_27_48.log (no errors)Patch 27923353 apply (pdb CDB$ROOT): SUCCESS logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27923353/22237223/27923353_apply_CDB_CDBROOT_2018Aug06_14_27_49.log (no errors)Patch 26123830 rollback (pdb PDB$SEED): SUCCESS logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_rollback_CDB_PDBSEED_2018Aug06_14_29_09.log (no errors)Patch 27923353 apply (pdb PDB$SEED): SUCCESS logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27923353/22237223/27923353_apply_CDB_PDBSEED_2018Aug06_14_29_10.log (no errors)Patch 26123830 rollback (pdb PDB01): SUCCESS logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_rollback_CDB_PDB01_2018Aug06_14_29_09.log (no errors)Patch 27923353 apply (pdb PDB01): SUCCESS logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27923353/22237223/27923353_apply_CDB_PDB01_2018Aug06_14_29_10.log (no errors)SQL Patching tool complete on Mon Aug 6 14:30:07 2018[oracle@prod04 27923353]$ sqlplus / as sysdbaSQL*Plus: Release 12.2.0.1.0 Production on Mon Aug 6 14:36:34 2018Copyright (c) 1982, 2016, Oracle. All rights reserved.Connected to:Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 – 64bit ProductionSQL> shutdownDatabase closed.Database dismounted.ORACLE instance shut down.SQL> startupORACLE instance started.Total System Global Area 1845493760 bytesFixed Size
8793976 bytesVariable Size
704643208 bytesDatabase Buffers
1124073472 bytesRedo Buffers
7983104 bytesDatabase mounted.Database opened.SQL> alter pluggable database all open;Pluggable database altered.SQL> show pdbs; CON_ID CON_NAME
OPEN MODE RESTRICTED———- —————————— ———- ———-2 PDB$SEED
READ ONLY NO3 PDB01
READ WRITE NO6,检查补丁情况SQL> select patch_id,action,status,BUNDLE_SERIES from dba_registry_sqlpatch;
到此,关于“Oracle 12.2 OJVM的安装步骤”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注百云网站,小编会继续努力为大家带来更多实用的文章!

相关推荐: Centos7系统安装Oracle无法调出图形安装界面怎么办

这篇文章主要讲解了“Centos7系统安装Oracle无法调出图形安装界面怎么办”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“Centos7系统安装Oracle无法调出图形安装界面怎么办”吧!启动安装程序的时候…

免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。

(0)
打赏 微信扫一扫 微信扫一扫
上一篇 01/06 09:39
下一篇 01/06 09:39