GI Opatch Upgrade the Opatch Component check failed. This patch isn't applicable for ...

Source: Internet
Author: User
Tags log log

Oracle 11gr2rac (11204) patched 11.2.0.4.8, system for: suse11sp3 x86_64

Upgrade simultaneously to oracle_home,gi_home through/u01/app/11.2.0/grid/opatch/opatch auto/tmp/21523375-ocmrf/tmp/ocm.rsp . The following error occurred:

Jason1:/u01/app/11.2.0/grid/opatch #/u01/app/11.2.0/grid/opatch/opatch AUTO/TMP/21523375-OCMRF/TMP/OCM.RSP

Executing/u01/app/11.2.0/grid/perl/bin/perl/u01/app/11.2.0/grid/opatch/crs/patch11203.pl-patchdir/tmp-patchn 21523375-ocmrf/tmp/ocm.rsp-paramfile/u01/app/11.2.0/grid/crs/install/crsconfig_params


This is the main log file:/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2016-01-20_12-38-42.log


This file would show your detected configuration and all the steps, Opatchauto attempted to do on your system:

/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2016-01-20_12-38-42.report.log


2016-01-20 12:38:42:starting clusterware Patch Setup

Using configuration parameter file:/u01/app/11.2.0/grid/crs/install/crsconfig_params

The Opatch Component check failed. This patch was not applicable for/u01/app/oracle/product/11.2.0/dbhome_1

The Opatch Component check failed. This patch was not applicable for/u01/app/oracle/product/11.2.0/dbhome_1

CONFLICT check failed for Oracle Home/u01/app/oracle/product/11.2.0/dbhome_1

Conflict check failed

Error:conflict-check has failed. Refer To/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2016-01-20_12-38-42.log for details

Opatch Auto failed.

Jason1:/u01/app/11.2.0/grid/opatch #


Check the Opatchauto2016-01-20_12-38-42.log log and find the following error.

2016-01-20 12:39:40:running as user oracle:/u01/app/oracle/product/11.2.0/dbhome_1/opatch/opatch prereq checkcomponents-ph/tmp/21523375/21352635-oh/u01/app/oracle/product/11.2.0/dbhome_1-customlogdir/u01/app/11.2.0 /grid/cfgtoollogs/opatchauto/core

2016-01-20 12:39:40:s_run_as_user2:running/bin/su oracle-c '/u01/app/oracle/product/11.2.0/dbhome_1/opatch/opatch Prereq checkcomponents-ph/tmp/21523375/21352635-oh/u01/app/oracle/product/11.2.0/dbhome_1-customlogdir/u01/app/ 11.2.0/grid/cfgtoollogs/opatchauto/core '

2016-01-20 12:39:41:removing FILE/TMP/FILE9JNAGP

2016-01-20 12:39:41:successfully removed file:/TMP/FILE9JNAGP

2016-01-20 12:39:41:/bin/su exited with rc=1


2016-01-20 12:39:41:the opatch Component check failed. This patch was not applicable for/u01/app/oracle/product/11.2.0/dbhome_1

2016-01-20 12:39:41:the component check failed with following error

2016-01-20 12:39:41:input Custom Log directory "/u01/app/11.2.0/grid/cfgtoollogs/opatchauto/core" does not exists or not a valid directory.

Opatch failed with error code 1

.............................. Omitted.................................................

Switch to Oracle user under log prompts to execute the following statement

/u01/app/oracle/product/11.2.0/dbhome_1/opatch/opatch prereq Checkcomponents-ph/tmp/21523375/21352635-oh/u01/app /oracle/product/11.2.0/dbhome_1-customlogdir/u01/app/11.2.0/grid/cfgtoollogs/opatchauto/core

Error prompt without permission, view the directory permissions, found that only the grid user has permissions, modify permissions.

Jason1:/u01/app/11.2.0/grid # Ll-ld Cfgtoollogs

DRWX------7 Grid oinstall 4096 Jan 12:40 cfgtoollogs

Jason1:/u01/app/11.2.0/grid # chmod 777 cfgtoollogs/

Jason1:/u01/app/11.2.0/grid # Ll-ld cfgtoollogs/

DRWXRWXRWX 7 grid oinstall 4096 Jan 12:44 cfgtoollogs/

Jason1:/u01/app/11.2.0/grid #

After modifying the permissions for the directory, execute the patch successfully again. Same method to view the Jason2 node, modify the corresponding directory permissions

Jason2:/u01/app/11.2.0/grid # Ll-ld Cfgtoollogs

DRWX------7 Grid oinstall 4096 Jan 12:40 cfgtoollogs

Jason2:/u01/app/11.2.0/grid # chmod 777 cfgtoollogs/

Jason2:/u01/app/11.2.0/grid # Ll-ld cfgtoollogs/

DRWXRWXRWX 7 grid oinstall 4096 Jan 12:44 cfgtoollogs/

Jason2:/u01/app/11.2.0/grid #

Opatch Success!


This article is from "Technical achievement dream!" "Blog, be sure to keep this provenance http://dreamsanqin.blog.51cto.com/845412/1737248

GI Opatch Upgrade the Opatch Component check failed. This patch isn't applicable for ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.