Issue :

ADOP: Fs_clone fails with error Failed to delete the directory

 

Observation :

Fs_clone fails with the following error:

ERROR
———————–

*******FATAL ERROR*******
PROGRAM : (/u01/ebs122/tech/apps/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)

FUNCTION: main::removeDirectory [ Level 1 ] ERRORMSG: Failed to delete the directory /u01/ebs122/tech/apps/fs2/EBSapps/comn.

Reason :

Navigate to File System and directory where the error is found.

There are files owned by custom user instead of applmgr.

Fix :

1.Check if you have any files on both filesystems RUN and PATCH not owned by the applmgr user.

2. If you encounter any files not owned by applmgr, change permissions. For example:

chown -R applmgr:dba $ORACLE_BASE/fs2/EBSapps/comn/java/classes/…/oracle/apps/…./allocation

3. After changing permissions correctly, test by running fs_clone with the force=yes option

$ adop phase=fs_clone force=yes

Recommended Posts

Start typing and press Enter to search