ADOP prepare phase failed in R12.2.x with an error message Error calling runSyncFS subroutine
Error Message during execution of prepare phase :
*******FATAL ERROR*******
PROGRAM : (/oraapps122/APPS/FUAT/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)
TIME : Wed Mar 16 16:29:31 2022
FUNCTION: main::validatePatchLocation [ Level 1 ]
ERRORMSG: Directory /oraapps122/APPS/FUAT/fs_ne/EBSapps/patch/33346385 does not exists.
[UNEXPECTED]Error occurred running "perl /oraapps122/APPS/FUAT/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/oraapps122/APPS/FUAT/fs1/inst/apps/FUAT_funebs122/appl/admin/FUAT_funebs122.xml -patchcontextfile=/oraapps122/APPS/FUAT/fs2/inst/apps/FUAT_funebs122/appl/admin/FUAT_funebs122.xml -promptmsg=hide -console=off -patchtop=/oraapps122/APPS/FUAT/fs_ne/EBSapps/patch -mode=update -sessionid=9 -timestamp=20220316_161013 -workercount=2 -outdir=/oraapps122/APPS/FUAT/fs_ne/EBSapps/log/adop/9/20220316_161013/prepare/funebs122 -autoskip=No"
[UNEXPECTED]Error calling runSyncFS subroutine.
Stopping services on patch file system.
Stopping admin server.
Check:
Run this sql statement to determine the status of the ADOP session:
select * from ad_adop_session_patches order by end_date desc;
set pagesize 200;
set linesize 160;
column adop_session_id format 999999999999;
column bug_number format a15;
column status format a15;
column applied_file_system_base format a23;
column patch_file_system_base format a23;
column adpatch_options format a15;
column node_name format a15;
column end_date format a15;
column clone_status format a15;
select ADOP_SESSION_ID, BUG_NUMBER, STATUS, APPLIED_FILE_SYSTEM_BASE, PATCH_FILE_SYSTEM_BASE, ADPATCH_OPTIONS, NODE_NAME, END_DATE, CLONE_STATUS
from ad_adop_session_patches
order by end_date desc;
Below are possible values of STATUS column:
N - Not Applied In the current node but applied in other nodes
R - Patch Application is going on.
H - Patch failed in the middle. (Hard Failure)
F - Patch failed in the middle but user tried to skip some failures.
S - Patch Application succeeded after skipping the failed jobs.
Y - Patch Application succeeded.
C - Reserved for clone and config_clone. Indicates clone completed
Solution:
Abort the current patching cycle :
adop phase=abort allnodes=yes
Run the Cleanup phase in Quick Mode:
adop phase=cleanup cleanup_mode=quick
Execute the FS_CLONE in all nodes
adop phase=fs_clone allnodes=yes
The Fs_clone phase will synchronize the patch file system with the run file system and it recreates the patch edition file system as an exact copy of the run edition file system.
After successful fs_clone , Execute the prepare phase again and it will complete.
Adop phase=prepare allnodes=yes
Post a Comment
Post a Comment