Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation steps for Oracle 12.2 OJVM

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the installation steps of Oracle 12.2 OJVM. In daily operation, I believe many people have doubts about the installation steps of Oracle 12.2 OJVM. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "installation steps of Oracle 12.2 OJVM". Next, please follow the editor to study!

Database version: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0-64bit Production

OJVM version: p27923353_122010_Linux-x86-64.zip

1, decompress

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 version

OPatch Version: 12.2.0.1.14

OPatch succeeded.

3. Close the database and turn off listening

4, install the patch

[oracle@prod04 27923353] $/ u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatch apply

Oracle Interim Patch Installer version 12.2.0.1.14

Copyright (c) 2018, Oracle Corporation. All rights reserved.

Oracle Home: / u01/app/oracle/product/12.2.0/dbhome_1

Central Inventory: / u01/app/oraInventory

From: / u01/app/oracle/product/12.2.0/dbhome_1/oraInst.loc

OPatch version: 12.2.0.1.14

OUI version: 12.2.0.1.4

Log file location: / u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch3018-08-06 14-16-40PM_1.log

Verifying environment and performing prerequisite checks...

OPatch continues with these patches: 27923353

Do you want to proceed? [y | n]

Y

User Responded with: Y

All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.

(Oracle Home ='/ u01amp appActionoracleUniverse produce 12.2.0Uniplex dbhomeowners 1')

Is the local system ready for patching? [y | n]

Y

User Responded with: Y

Backing up files...

Applying interim patch '27923353' to OH'/ u01applet oracleproductUniverse 12.2.0anddbhomeowners 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.dbscripts, 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.log

OPatch succeeded.

5. Start the database and apply the patch (Single/Multitenant (CDB/PDB) DB)

[oracle@prod04 27923353] $sqlplus / as sysdba

SQL*Plus: Release 12.2.0.1.0 Production on Mon Aug 6 14:26:28 2018

Copyright (c) 1982, 2016, Oracle. All rights reserved.

Connected to an idle instance.

SQL > startup upgrade

ORACLE instance started.

Total System Global Area 1845493760 bytes

Fixed Size 8793976 bytes

Variable Size 704643208 bytes

Database Buffers 1124073472 bytes

Redo Buffers 7983104 bytes

Database 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 2018

Copyright (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.log

Connecting to database...OK

Note: 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...done

Determining current state...done

Current state of SQL patches:

Patch 27923353 (OJVM RELEASE UPDATE: 12.2.0.1.180717 (27923353)):

Installed in the binary registry only

Bundle 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 PDB01

Bundle 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 PDB01

Adding 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: 6

Validating 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 sysdba

SQL*Plus: Release 12.2.0.1.0 Production on Mon Aug 6 14:36:34 2018

Copyright (c) 1982, 2016, Oracle. All rights reserved.

Connected to:

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0-64bit Production

SQL > shutdown

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL > startup

ORACLE instance started.

Total System Global Area 1845493760 bytes

Fixed Size 8793976 bytes

Variable Size 704643208 bytes

Database Buffers 1124073472 bytes

Redo Buffers 7983104 bytes

Database 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 NO

3 PDB01 READ WRITE NO

6. Check the patch.

SQL > select patch_id,action,status,BUNDLE_SERIES from dba_registry_sqlpatch

At this point, the study on the "installation steps of Oracle 12.2 OJVM" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report