Adop phase=prepare failed on External nodes.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Adop phase=prepare failed on External nodes.

akhan
Hi Erman,

Hope you are doing well.

I have created a new environment by taking a clone. Now i want to test a patch on it. it has total three nodes. 1 master and 2 slave nodes as external, one for irecruitment and other is for isupplier.

i tried fs_clone which completed successfully on all nodes. But when i try to run adop phase=prepare, it completed successfully on master node but failed on slave nodes.

On checking adop.log from slave nodes, i found below error.

[EVENT] Running Autoconfig on patch edition file system.
[PROCEDURE] [START 2024/01/31 00:19:19] Running Autoconfig
[UNEXPECTED] Error occured running “sh //adcomfig.sh contextfile=….
trimming log…..
[UNEXPECTED] Error calling runPendingClone subroutine.
[ERROR] Prepare phase has failed.
[STATEMENT] SQL statement: “ update ad_adop_sessions set=‘F’
where adop_session_id = 36 and appltop_id= 5199 and node=‘d2ebsapdmulv3’”

adconfig.log file shows only below error in the end

Autoconfig is exiting with status 1

Autoconfig could not successfully execute the following scripts.
Directory: /oraerp/oracle/fs1/inst/apps/EBSUAT_context/admin/install
mwamscasvc.sh       INSTE8_PRF

if i try to run autocofig without adop on slave nodes it completed successfully. But when i try with adop phase=prepare from master node, autoconfig fails on slave nodes during prepare phase.

please advise how we can fix this issue.

regards,
AKhan
Reply | Threaded
Open this post in threaded view
|

Re: Adop phase=prepare failed on External nodes.

ErmanArslansOracleBlog
Administrator
prepare say -> [UNEXPECTED] Error occured running “sh //adconfig.sh .. So it is related with the autoconfig.
Why did the mwamscasvc.sh fail? Check the autoconfig log for that, and send me your findings about it.

If you see something like "/bin/sh: error importing function definition for `which'", then you may -> unset which, and then retry adop phase=prepare..

If this is not the issue, then we will check according to your inputs.
Reply | Threaded
Open this post in threaded view
|

Re: Adop phase=prepare failed on External nodes.

akhan
Hi Erman,

Thanks alot. Issue has been resolved after unsetting the variables in /etc/bashrc

unset which
unset module
unset _module_raw
unset switchml
unset scl
unset ml

regards.
Reply | Threaded
Open this post in threaded view
|

Re: Adop phase=prepare failed on External nodes.

ErmanArslansOracleBlog
Administrator
Important note -> Don't use "http://erman-arslan-s-oracle-forum.114.s1.nabble.com/"
That url is pointing to the old forum, to the archive.
Use the correct forum link, when asking your questions..

The correct link is ->

http://erman-arslan-s-oracle-forum.124.s1.nabble.com