Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
297 views2 pages

Opatch Auto

The document shows the log from running an opatchauto command to apply a patch to an Oracle database. It lists the directories and files related to patching. The command fails when trying to apply the binary patch to one of the homes, with an error about a prerequisite check failing. It suggests running opatchauto resume after fixing the cause of the failure.

Uploaded by

shuvo_ami24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
297 views2 pages

Opatch Auto

The document shows the log from running an opatchauto command to apply a patch to an Oracle database. It lists the directories and files related to patching. The command fails when trying to apply the binary patch to one of the homes, with an error about a prerequisite check failing. It suggests running opatchauto resume after fixing the cause of the failure.

Uploaded by

shuvo_ami24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

root@UAGTBNKPRDDB01:/u01/app/12.2.0.

1/grid/OPatch# ls -lrt /export/home/grid/patch/


total 2410767
-rw-r--r-- 1 grid oinstall 223794 Oct 26 15:38 PatchSearch.xml
-rw-r--r-- 1 grid oinstall 1148052216 Nov 13 15:04
p28689130_122010_SOLARIS64.zip
-rw-r--r-- 1 grid oinstall 84983238 Nov 18 13:07
p6880880_122010_SOLARIS64.zip
drwxr-xr-x 3 grid oinstall 4 Nov 18 20:03 Applied_patch
drwxr-xr-x 4 grid oinstall 6 Nov 18 20:31 28689130
-rw-r--r-- 1 root root 1102 Nov 18 22:09
script_main_patch_root_18112018.txt
root@UAGTBNKPRDDB01:/u01/app/12.2.0.1/grid/OPatch# cd 28689130
bash: cd: 28689130: No such file or directory
root@UAGTBNKPRDDB01:/u01/app/12.2.0.1/grid/OPatch# pwd
/u01/app/12.2.0.1/grid/OPatch
root@UAGTBNKPRDDB01:/u01/app/12.2.0.1/grid/OPatch# ls -lrt
/export/home/grid/patch/28689130/28714316/
total 286
-rw-r----- 1 grid oinstall 120261 Oct 16 13:08 README.html
-rw-r--r-- 1 grid oinstall 5820 Oct 16 13:30 bundle.xml
-rw-r----- 1 grid oinstall 0 Oct 16 19:30 README.txt
drwxr-x--- 4 grid oinstall 6 Nov 18 20:30 28662603
drwxr-x--- 5 grid oinstall 6 Nov 18 20:30 28652492
drwxr-x--- 4 grid oinstall 5 Nov 18 20:30 26839277
drwxr-x--- 2 grid oinstall 15 Nov 18 20:30 automation
drwxr-x--- 5 grid oinstall 6 Nov 18 20:30 28662626
drwxr-x--- 4 grid oinstall 5 Nov 18 20:31 28566910
root@UAGTBNKPRDDB01:/u01/app/12.2.0.1/grid/OPatch# ./opatchauto apply
/export/home/grid/patch/28689130/28714316/

OPatchauto session is initiated at Sun Nov 18 22:50:15 2018

System initialization log file is


/u01/app/12.2.0.1/grid/cfgtoollogs/opatchautodb/systemconfig2018-11-18_10-50-
24PM.log.

Session log file is /u01/app/12.2.0.1/grid/cfgtoollogs/opatchauto/opatchauto2018-


11-18_10-51-23PM.log
The id for this session is E7EN

Executing OPatch prereq operations to verify patch applicability on home


/u01/app/12.2.0.1/grid

Executing OPatch prereq operations to verify patch applicability on home


/u01/app/oracle/product/12.2.0/dbhome_1
Patch applicability verified successfully on home
/u01/app/oracle/product/12.2.0/dbhome_1

Patch applicability verified successfully on home /u01/app/12.2.0.1/grid

Verifying SQL patch applicability on home /u01/app/oracle/product/12.2.0/dbhome_1


SQL patch applicability verified successfully on home
/u01/app/oracle/product/12.2.0/dbhome_1

Preparing to bring down database service on home


/u01/app/oracle/product/12.2.0/dbhome_1
Successfully prepared home /u01/app/oracle/product/12.2.0/dbhome_1 to bring down
database service

Bringing down CRS service on home /u01/app/12.2.0.1/grid


Prepatch operation log file location:
/u01/app/grid/crsdata/uagtbnkprddb01/crsconfig/crspatch_uagtbnkprddb01_2018-11-
18_10-53-25PM.log
CRS service brought down successfully on home /u01/app/12.2.0.1/grid

Performing prepatch operation on home /u01/app/oracle/product/12.2.0/dbhome_1


Perpatch operation completed successfully on home
/u01/app/oracle/product/12.2.0/dbhome_1

Start applying binary patch on home /u01/app/oracle/product/12.2.0/dbhome_1


Failed while applying binary patches on home
/u01/app/oracle/product/12.2.0/dbhome_1

Execution of [OPatchAutoBinaryAction] patch action failed, check log for more


details. Failures:
Patch Target : uagtbnkprddb01->/u01/app/oracle/product/12.2.0/dbhome_1 Type[rac]
Details: [
---------------------------Patching Failed---------------------------------
Command execution failed during patching in home:
/u01/app/oracle/product/12.2.0/dbhome_1, host: uagtbnkprddb01.
Command failed: /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatchauto
apply /export/home/grid/patch/28689130/28714316/ -oh /u01/app/oracle/pr
oduct/12.2.0/dbhome_1 -target_type rac_database -binary -invPtrLoc
/u01/app/12.2.0.1/grid/oraInst.loc -jre /u01/app/12.2.0.1/grid/OPatch/jre -persi
stresult
/u01/app/oracle/product/12.2.0/dbhome_1/OPatch/auto/dbsessioninfo/sessionresult_uag
tbnkprddb01_rac.ser -analyzedresult /u01/app/oracle/pro
duct/12.2.0/dbhome_1/OPatch/auto/dbsessioninfo/sessionresult_analyze_uagtbnkprddb01
_rac.ser
Command failure output:
==Following patches FAILED in apply:

Patch: /export/home/grid/patch/28689130/28714316/28662603
Log:
/u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatchauto/core/opatch/opatch20
18-11-18_22-53-38PM_1.log
Reason: Failed during Patching: oracle.opatch.opatchsdk.OPatchException:
Prerequisite check "CheckActiveFilesAndExecutables" failed.

After fixing the cause of failure Run opatchauto resume

]
OPATCHAUTO-68061: The orchestration engine failed.
OPATCHAUTO-68061: The orchestration engine failed with return code 1
OPATCHAUTO-68061: Check the log for more details.
OPatchAuto failed.

OPatchauto session completed at Sun Nov 18 22:54:00 2018


Time taken to complete the session 3 minutes, 45 seconds

opatchauto failed with error code 42


root@UAGTBNKPRDDB01:/u01/app/12.2.0.1/grid/OPatch# ^C
root@UAGTBNKPRDDB01:/u01/app/12.2.0.1/grid/OPatch#

You might also like