Category Archives: Upgrading and Patching

How to Apply April 2018 RU Patches

Here is the GI environment to be patched: GI HOME: 12.2.0.1 DB HOMES: 12.2.0.1 12.1.0.2 11.2.0.4 Patches downloaded : GI HOME: 12.2.0.1 : Combo OJVM Update 12.2.0.1.180417 and GI Update 12.2.0.1.180417 Patch 27726454, or – 27468969/ 27674384 DATABASE APR 2018 … Continue reading

Posted in GI and RAC, Upgrading and Patching | Tagged , , , , , , , | Leave a comment

Error in invoking target ‘agent nmhs’ of makefile

Below errors occurred while install 11.2.0.4 on Linux 7.4.  when relink the binary, the same error will be reported as well. INFO: collect2: error: ld returned 1 exit status INFO: make[1]: INFO: *** [/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl] Error 1 INFO: make[1]: Leaving directory … Continue reading

Posted in Upgrading and Patching | Tagged , , | Leave a comment

How to Update Opatch Utility of GI Home

Due to GI_HOME restricted access, you might get below errors when you extract opatch utility to GI_HOME: checkdir error:  cannot create /u01/app/12.2.0.1/grid/OPatch                  Permission denied                  unable to process OPatch/config/opatch.properties. Below is one of the appropriate way for extracting opatch … Continue reading

Posted in GI and RAC, Upgrading and Patching | Tagged , , , , , , , | Leave a comment

How to Download Oracle Patches From Oracle Support By Using WGET or CURL

1) Set up global variables  : export MOS_USER=jamesh@domain.com export MOS_PASSWORD=”Password123″ export PROXYUSER=”jamesh” export PROXYPASSWD=”Password123″ export USERAGENT=”Mozilla/5.0″ export use_proxy=on export http_proxy=”http://proxy.domain.com:80/” export https_proxy=”https://proxy.domain.com:80/” export COOK=$HOME/$$.cookie 2) The following command to authenticate uses HTTP/HTTPS: $wget –proxy-user=${PROXYUSER} –proxy-password=${PROXYPASSWD} –http-user=${MOS_USER} –http-password=${MOS_PASSWORD} –save-cookies=$COOK –keep-session-cookies –no-check-certificate “https://updates.oracle.com/Orion/Services/download” … Continue reading

Posted in Client, Configuration, Upgrading and Patching | Tagged , , , | Leave a comment

CLSRSC-540: The root script failed to get a unique name of the OCR backup file on the ASM diskgroup

Rootupgrade.sh failed to upgrade GI from 12.1.0.2 to 12.2.0.1. # /u01/app/12.2.0.1/grid/rootupgrade.sh .. . Relinking oracle with rac_on option Using configuration parameter file: /u01/app/12.2.0.1/grid/crs/install/crsconfig_params The log of current session can be found at: /u01/app/grid/crsdata/racnode1/crsconfig/rootcrs_racnode1_2018-02-05_12-10-50AM.log 2018/02/05 12:11:10 CLSRSC-595: Executing upgrade step 1 … Continue reading

Posted in GI and RAC, Upgrading and Patching | Tagged , , , , | Leave a comment

root.sh Failed with “CLSRSC-670: No msg for has:clsrsc-670” When Adding a Node

While adding a node by running ‘root.sh’ in 12.1.0.2, the below errors occurred: # /u01/app/12.1.0.2/grid/root.sh Check /u01/app/12.1.0.2/grid/install/root_racnode2_2018-01-26_23-56- 01.log for the output of root script #cat /u01/app/12.1.0.2/grid/install/root_racnode2_2018-01-26_23-56-01.log Performing root user operation. The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= … Continue reading

Posted in 12c new features, GI and RAC, Upgrading and Patching | Tagged , , , , , , , , , | Leave a comment

How to Apply Grid Infrastructure Patches Before Upgrading or Installing Cluster

While upgrading GI from 12.1.0.2 to GI 12.2.0.1, in order to minimize the downtime and reduce the impact on PROD environment, PSU or one off patches can be applied onto 12.2.0.1 image before setting up 12.2.0.1 GI. Here is the … Continue reading

Posted in GI and RAC, Upgrading and Patching | Tagged , , , , , , | Leave a comment

Deinstall 12.1.0.2 Grid Infrastructure Home After Being Upgraded to 12.2.0.1

Grid Infrastructure 12.1.0.2 has been upgraded to 12.2.0.1 successfully. So 12.1.0.2 GI_HOME needs to be de-installed.  There are two ways to uninstall the old GI_HOME ( 12.1.0.2) 1) Detach GI_HOME and Remove the GI_HOME manually: $ export ORACLE_HOME=/u01/app/grid/12.1.0.2 $ $ORACLE_HOME/OPatch/opatch … Continue reading

Posted in 12c new features, Configuration, GI and RAC, Upgrading and Patching | Tagged , , , , , , , | Leave a comment

WARNING: FAILED to load library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so

Database instance starts up failure with below errors: ORA-15183: ASMLIB initialization error [driver/agent not installed] Wed Jan 31 17:48:16 2018 WARNING: FAILED to load library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so Check “oracleasm.service” with errors: # systemctl status oracleasm.service oracleasm.service – Load oracleasm Modules Loaded: … Continue reading

Posted in ASM, GI and RAC, ORA- ERRORS, Upgrading and Patching | Tagged , , , , , , , , , | Leave a comment

CRS-6706: Oracle Clusterware Release patch level (‘nnnnnn’) does not match Software patch level (‘nnnnnn’)

“opatchauto” failed in the middle, try to rerun again, get “CRS-6706” error. # /u01/app/12.1.0.2/grid/OPatch/opatchauto apply /tmp/12.1.0.2/27010872 -oh /u01/app/12.1.0.2/grid … .. . Using configuration parameter file: /u01/app/12.1.0.2/grid/OPatch/auto/dbtmp/bootstrap_racnode1/patchwork/crs/install/crsconfig_params CRS-6706: Oracle Clusterware Release patch level (‘173535486’) does not match Software patch level (‘2039526626’). … Continue reading

Posted in GI and RAC, Upgrading and Patching | Tagged , , , , , , | Leave a comment