Unable to run adcfgclone.pl appsTier in new application server

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

Unable to run adcfgclone.pl appsTier in new application server

Raja
Hi Erman

I am trying to clone an existing ebs 12.2.7 application to a newly created server. I ran adpreclone.pl and then copied EBSapps directory from source to target. In the new target system, when i am trying to run
[applmgr@rac2 bin]$ pwd
/u01/app/application/fs2/EBSapps/comn/clone/bin
[applmgr@rac2 bin]$ perl adcfgclone.pl appsTier dualfs

                     Copyright (c) 2011 Oracle Corporation
                        Redwood Shores, California, USA

                        Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adcfgclone Version 120.63.12020000.7
Can't open dualfs:
No such file or directory
[applmgr@rac2 bin]$ pwd


Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> select  ABBREVIATION, NAME, codelevel FROM AD_TRACKABLE_ENTITIES where abbreviation in ('txk','ad');

ABBREVIATION
------------------------------
NAME
--------------------------------------------------------------------------------
CODELEVEL
--------------------------------------------------------------------------------
ad
Applications DBA
C.10

txk
Oracle Applications Technology Stack
C.10

ABBREVIATION
------------------------------
NAME
--------------------------------------------------------------------------------
CODELEVEL



Any clue

thanks
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

ErmanArslansOracleBlog
Administrator
Weird..

Currently, I don't have an EBS 12.2.7 to play with. (or AD-TXK delta 10)

Can you just check the adcfgclone.pl script? (using a text editor)
Is it look like written for accepting the dualfs option? What is the 3rd argument that it expects?

also ensure that->

*your env is correct.
*your adcfgclone.pl is correct (compare it with the one located in your primary apps tier)
*there should not be any weird characters(unseen) between the words used in the syntax.. (perl adcfgclone.pl ...), so if you are copying and pasting the command, try writing it from scratch.

Update me with the outcome.
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

Raja
Thanks Erman. I will update you with the action plan. I was the discussing the same with my Friend and he gave a hint that the error may be due to anomalies of context file of run and patch file system.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

raja
Hi Erman

He asked me to truncate FND_OAM_CONTEXT table and then run autoconfig. Do you think, this could be the right choice?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

ErmanArslansOracleBlog
Administrator
I don't think it is the correct move.

Can you just check the adcfgclone.pl script? (using a text editor)
Is it look like written for accepting the dualfs option? What is the 3rd argument that it expects?

also ensure that->

*your env is correct.
*your adcfgclone.pl is correct (compare it with the one located in your primary apps tier)
*there should not be any weird characters(unseen) between the words used in the syntax.. (perl adcfgclone.pl ...), so if you are copying and pasting the command, try writing it from scratch.

Update me with the outcome.
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

Raja
Hi Erman

It doesn't look like it has any section for 3rd prompt.
## print_usage
#
sub print_usage {

  print <<END_OF_USAGE;

    USAGE:

      perl adcfgclone.pl <component> [context]


    WHERE:

      <component> on Apps Node : { appsTier | appltop  | atTechStack | fmwHome }
      <component> on DB Node   : { dbTier   | database | dbconfig | dbTechStack | addracnode }
      <context>                : Target Context File




It is running fine with adcfgclone.pl appsTier but not with dualfs option

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

Raja
Also my table FND_OAM_CONTEXT_FILES doesn't have the entries for patch context file.
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

ErmanArslansOracleBlog
Administrator
You don't have dualfs option then..

Here is what you needed to see in adcfgclone.pl script:


  print <<END_OF_USAGE;

    USAGE:

       perl adcfgclone.pl <component> [context]
       
       OR
       
       perl adcfgclone.pl appsTier dualfs [context]


Note that, this output is gathered from a TXK Level 7 adcfgclone.pl
Version: $Header: adcfgclone.pl 120.63.12020000.55 2015/08/06 12:46:03 kmandal ship $
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

Raja
Hi Erman

I checked and dualfs option is not there.

$Header: adcfgclone.pl 120.63.12020000.7 2012/10/09 08:34:51 jmajumde ship $--my version.


What could be the reason as i have ad/txk level 10 in my system


Thnks
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

ErmanArslansOracleBlog
Administrator
Your version is older. I don't know how this system was patched.. I don't know the patch history and everything, but If I were you, I would re-upgrade AD & TXK..
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run adcfgclone.pl appsTier in new application server

onur
I have faced with this issue today.

You have to execute preclone and copy EBSapps folder to target node.