Dear Erman,
We are doing multi node refresh.we have configured the primary node successfully.On secondary node we are facing below error,can you please help out from where it is getting the prod value perl adclonectx.pl addnode contextfile=/u02/UATINST/fs2/inst/apps/UATDB_erpuatapp01/appl/admin/UATDB_erpuatapp01.xml pairsfile=/home/appluat/mypairs.txt dualfs=yes After configuring the primary node,while running below command on secondary node we faced the below error [appluat@erpuatapp02 bin]$ export PATH=/u01/UATAPPS/fs2/FMW_Home/webtier/perl/bin:$PATH [appluat@erpuatapp02 bin]$ which perl /u01/UATAPPS/fs2/FMW_Home/webtier/perl/bin/perl [appluat@erpuatapp02 bin]$ cd /u01/UATAPPS/fs2/EBSapps/comn/clone/bin [appluat@erpuatapp02 bin]$ perl adclonectx.pl addnode contextfile=/u02/UATINST/fs2/inst/apps/UATDB_erpuatapp01/appl/admin/UATDB_erpuatapp01.xml pairsfile=/home/appluat/mypairs.txt dualfs=yes Enter the APPS passwd : Enter the Weblogic AdminServer password : Executing command: /u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jlib/ojdbc6.jar:/u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jlib/xmlparserv2.jar:/u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jlib/java::/u01/UATAPPS/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jlib/wlfullclient.jar:/u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jlib/wlclient.jar:/u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jlib/wljmxclient.jar:/u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jlib/ojmisc.jar:/u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jlib/obfuscatepassword.jar:/u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../jlib/emCfg.jar oracle.apps.ad.clone.RCloneSFSAddNode -contextfile /u02/UATINST/fs2/inst/apps/UATDB_erpuatapp01/appl/admin/UATDB_erpuatapp01.xml -configfile /home/appluat/mypairs.txt -machinelistenaddress erpuatapp02.ttd.com -logdir /u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../FMW/logs/sfslog -promptmsg hide Verifying: Apps schema password Verifying: pairsfile /home/appluat/mypairs.txt Run file system AdminServer is running Patch file system AdminServer is running ERROR: add node failed!!! Please check logfile for details : /u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../FMW/logs/sfslog [appluat@erpuatapp02 bin]$ [appluat@erpuatapp02 run]$ cat RCloneSFSAddNode_03181658.log ############################################################# Started RCloneSFSAddNode at Sun Mar 18 16:58:38 IST 2018 Version: RCloneSFSAddNode.java : 120.0.12020000.4 ############################################################# RC-50208: Exception in method TimedProcessProcess.run Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: Cannot run program "/u01/PRODAPPS/fs1/FMW_Home/webtier/perl/bin/perl": error=2, No such file or directory Exception in TimedProcess...Failed to execute command = /u01/PRODAPPS/fs1/FMW_Home/webtier/perl/bin/perl -I/u01/PRODAPPS/fs1/FMW_Home/webtier/perl/lib/5.10.0 -I/u01/PRODAPPS/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0 -I/u01/PRODAPPS/fs1/EBSapps/appl/au/12.0.0/perl -I/u01/PRODAPPS/fs1/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/PRODAPPS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl ebs-get-serverstatus -contextfile=/u01/UATAPPS/fs2/EBSapps/comn/clone/context/apps/patch/CTXORIG.xml -logfile=/u01/UATAPPS/fs2/EBSapps/comn/clone/bin/../FMW/logs/sfslog/run/RCloneSFSAddNode_03181658.log -servername=AdminServer -promptmsg=hide Script Executed in 100 milliseconds, returning status -1 ERROR: run addNode Failed in validation stage [appluat@erpuatapp02 run]$ echo $FMW_HOME [appluat@erpuatapp02 run]$ |
Dear erman,
My doubt here is from where this perl was pointing to PROD location.I have exported the path manually as well. My major doubt here is,i didnt face any error while configuring primary node and i got this error only while configuring secondary node we used below command for configuring primary node perl adcfgclone.pl appsTier </home/appluat/UAT_UATAPP01.xml> dualfs; </home/appluat/UAT_UATAPP01.xml> is the backup of existing context file On secondary node,we used cd /u01/12.2/fs1/EBSapps/comn/clone/bin $ /u01/12.2/fs1/FMW_Home/webtier/perl/bin/perl ./adclonectx.pl \ addnode contextfile=<primary node context file> \ pairsfile=/u01/12.2/pairsfile/mypairsfile.txt \ dualfs=yes |
Administrator
|
This is an obvious one. It is related with the environment variables.
1)Do you have any env variable set for the terminal session that you use to execute this ./adclonectx.pl Please send me the env command output of the failing terminal session (ssh connection from Applmgr OS user) 2) Send me the UAT_UATAPP01.xml (if it is not a security violation for your company) |
Free forum by Nabble | Edit this page |