meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| oracle:opatch:apply_patch [06/12/2024 16:26] – mdl | oracle:opatch:apply_patch [13/11/2025 08:16] (Version actuelle) – mdl | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | ====== Patch ORACLE_HOME ====== | ||
| + | |||
| + | |||
| + | |||
| + | |||
| == Download Patch == | == Download Patch == | ||
| Ligne 5: | Ligne 10: | ||
| - | == Apply Patch == | + | == 1/ Update Opatch == |
| + | |||
| + | |||
| + | https:// | ||
| + | <code bash> | ||
| + | [oracle@oracle1]$ cd $ORACLE_HOME/ | ||
| + | [oracle@oracle1 dbhome_1]$ cd OPatch/ | ||
| + | |||
| + | [oracle@oracle1 OPatch]$ ./opatch version | ||
| + | OPatch Version: 12.2.0.1.17 | ||
| + | |||
| + | OPatch succeeded. | ||
| + | |||
| + | |||
| + | [oracle@oracle1 OPatch]$ cd .. | ||
| + | [oracle@oracle1 dbhome_1]$ | ||
| + | [oracle@oracle1 dbhome_1]$ | ||
| + | |||
| + | [oracle@oracle1 dbhome_1]$ cd OPatch/ | ||
| + | |||
| + | [oracle@oracle1 OPatch]$ ./opatch version | ||
| + | OPatch Version: 12.2.0.1.43 | ||
| + | |||
| + | OPatch succeeded. | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | == 2/ Apply Patch == | ||
| * faire un backup ORACLE_HOME via un ZIP ou TAR | * faire un backup ORACLE_HOME via un ZIP ou TAR | ||
| <code bash> | <code bash> | ||
| Ligne 130: | Ligne 164: | ||
| \\ | \\ | ||
| + | |||
| == PROBLEME == | == PROBLEME == | ||
| * PDB blockée en OPEN RESTRICTED: | * PDB blockée en OPEN RESTRICTED: | ||
| Ligne 177: | Ligne 212: | ||
| logfile: / | logfile: / | ||
| SQL Patching tool complete on Fri Dec 6 17:18:48 2024 | SQL Patching tool complete on Fri Dec 6 17:18:48 2024 | ||
| + | |||
| + | |||
| + | SQL> shutdown immediate; | ||
| + | Database closed. | ||
| + | Database dismounted. | ||
| + | ORACLE instance shut down. | ||
| + | SQL> startup | ||
| + | ORACLE instance started. | ||
| + | |||
| + | Total System Global Area 1.7180E+10 bytes | ||
| + | Fixed Size 9223416 bytes | ||
| + | Variable Size 1.5636E+10 bytes | ||
| + | Database Buffers | ||
| + | Redo Buffers | ||
| + | Database mounted. | ||
| + | Database opened. | ||
| + | SQL> show pdbs | ||
| + | |||
| + | CON_ID CON_NAME | ||
| + | ---------- ------------------------------ ---------- ---------- | ||
| + | 2 PDB$SEED | ||
| + | 3 OEMDB135 | ||
| + | SQL> select status, message, action | ||
| + | | ||
| + | | ||
| + | |||
| + | no rows selected | ||
| </ | </ | ||