Perl manipulator Cloning

Hi friends
I am trying to clone the records present in the application using perl manipulator.
To the cloned records,I need to add a new property which is a combination of 2 properties,product id and group name.Product id is an existing property and group name is a new property to be created and should be added to the cloned records as well as existing set of records.
I am trying to use the following code in get_records() of perl manipulator but the records are being removed once processed by baseline update.
Can,anyone please help me on this?
Here is the code am using.Please correct if there is anything wrong.I am not much sure of the syntax.
EX:
Records before:
product_id:123
Sku_id:456
Cat_id:888
Records after passing through perl manipulator:
product_id:123
Sku_id:456
Cat_id:888
group_name:A
product_key:123_A
product_id:123
Sku_id:456
Cat_id:888
group_name:B
product_key:123_B
product_id:123
Sku_id:456
Cat_id:888
group_name:C
product_key:123_C
product_id:123
Sku_id:456
Cat_id:888
group_name:D
product_key:123_D
product_id:123
Sku_id:456
Cat_id:888
group_name:X
product_key:123_X
my @recs;
foreach my $src ( $this->record_sources ) {
my @productData = $src->get_records($key);
foreach my $rec ( @productData ) {
foreach my $groupnames(A,B,C,D,E,X){
# clone the record
# add product_key property to the cloned record
# push the cloned record into @recs
# Psudo code starts
my $clone = $rec->clone;
my $productId = grep { $clone ->name eq 'product_id' } @{ $clone->pvals };
my $groupName= grep { $clone ->name eq 'group_name' } @{ $clone->pvals };
my $productkey = $properties{"product_id"}."_".$properties{"group_name"};
my $pval = new EDF::PVal("product_key", $productId."_".$groupName);
$rec->add_pvals($pval);
# Psudo code ends
return @recs;
Edited by: Shreyas Ram R on Nov 10, 2012 10:33 PM
Edited by: Shreyas Ram R on Nov 10, 2012 10:37 PM
Edited by: Shreyas Ram R on Nov 10, 2012 10:38 PM

I'd do this a different way. If you are cloning all records in a feed, then read the records in twice - once as normal, then another set of record adapter(s). The second set goes into an XML manipulator, and this modifies the properties (see the XML reference within Developer Studio, it looks quite complicated but is actually very easy once you get your head around an XML being used as a pseudo programming language). Finally, both sets of data go into a switch join (Record Assembler > Join Type = Switch).
Reason for this approach is it'll be a lot faster than using a perl manipulator to create these duplicates, and a lot cleaner too. Thinking about it, you may be able to read in the data once, then send it to two separate record caches, manipulate the second cache, then feed both into the switch join. Not 100% sure if that is supported, but definitely worth trying first.
Oh, and add a record spec - always a good idea, not least because it'll give you persistence of a unique id for record lookups (R=XYZ).
Michael

Similar Messages

  • Unable to trap/handle errors in Perl Manipulator (using eval)

    We have been encountering intermittent errors in our production Endeca pipeline due to occasional bad data. We would like to handle these errors rather than cause forge to halt execution. Below is some test code we are using in our perl manipulator. The first error no longer halts the forge due to wrapping in an eval {}. But other kinds of errors we have encountered are not caught so we can not handle them. Has anyone been able to catch all errors and handle them in a perl manipulator?  We have tried redirecting WARN and DIE signal handlers to no avail.
    Thanks,
    Tom
    eval {
    # bad comparison
    my $foo = "2013-01-22";
    if ($foo < "20000101") { $foo = "not possible"; } # <- Is caught by eval in next_record.pl, OK
    # passing out of range parameters to a function
    my $month = 99;
    my $bad_time = timelocal(0,0,0, 1, $month, 113); # <- Exits forge with ERROR/FATAL
    # divide by zero
    my $foo = 0;
    my $bar = 5 / $foo; # <- Exits forge with ERROR/FATAL, not OK

    For what it's worth, I spent a bunch of time on a similar issue - I had integrated a JSON parsing lib that threw errors on bad data but the Endeca Perl manipulator had no way to capture and continue gracefully - at least in my investigation.  I eventually re-wrote the manipulator in Java as the work around.

  • Apache2 + mod_perl2 + dbxml issue

    Hello,
    we are experiencing an annoying issue with the setup mentioned in the subject, and since we haven't been able to find a solution for a while now, we're seeking for help in this forum.
    We have a web application built as a couple of perl modules, based on apache2 and mod_perl2 as our "framework". The application is spread across multiple virtual hosts, the virtual hosts load different perl modules. Upon apache's startup, each of the virtual hosts loads our app modules, and our perl modules in turn load Sleepycat::DbXml. The result is that within each virtual host, the dbxml env is opened once.
    For those less familiar with modperl, mod_perl2 allows for a quite detailed configuration, regarding how the (potentially multiple) perl interpreters should be used per virtual host. The purpose of the different available conf. directives is to have an automatic and dynamic utilization of system resources, depending on the server load.
    If configured appropriately, apache/mod_perl will spawn (clone) new perl interpreters
    when there are more concurrent requests, and also automatically unload (destroy) perl interpreters when too many become idle.
    Now, everything is fine if the mod_perl virtual host settings are set to a constant number of perl interpreters during the whole apache lifetime.
    But the issue begins as soon as we allow for dynamic spawning/unloading of perl interpreters. We noticed that as soon as one perl interpreter is destroyed, we get a crash of the httpd child process with the message "illegal instruction", caused by a berkeley db / dbxml module.
    Moreover, after such a crash the rest of the virtual hosts (perl interpreters) cannot perform any read or write operation on the dbxml. :(
    (Below the backtrace from gdb.)
    Does this sound familiar to anybody ?
    Does anybody understand what happens here ?
    (In case the above problem description was not clear enough, I'll be glad to provide more details)
    Regards,
    martin.
    ----------->
    Program received signal SIGILL, Illegal instruction.
    [Switching to Thread 7 (LWP 5)]
    0x052da038 in ?? ()
    (gdb) bt
    #0 0x052da038 in ?? ()
    #1 0xfe77c3d4 in DbXml::Manager::~Manager (this=0x4f0d778) at Manager.cpp:128
    #2 0xfe74b288 in DbXml::ReferenceCountedProtected::release (this=0x4f0d77c) at ReferenceCounted.cpp:58
    #3 0xfe91dd14 in XS_XmlManager_DESTROY ()
    from /xxxxx/perl/lib/site_perl/5.8.7/sun4-solaris-thread-multi/auto/Sleepycat/DbXml/DbXml.so
    #4 0xfe0f5f0c in Perl_pp_entersub () from /xxxxx/apache2/modules/mod_perl.so
    #5 0xfe091480 in S_call_body () from /xxxxx/apache2/modules/mod_perl.so
    #6 0xfe0911e4 in Perl_call_sv () from /xxxxx/apache2/modules/mod_perl.so
    #7 0xfe0ff390 in Perl_sv_clear () from /xxxxx/apache2/modules/mod_perl.so
    #8 0xfe0ffbe8 in Perl_sv_free () from /xxxxx/apache2/modules/mod_perl.so
    #9 0xfe0f7270 in do_clean_objs () from /xxxxx/apache2/modules/mod_perl.so
    #10 0xfe0f71bc in S_visit () from /xxxxx/apache2/modules/mod_perl.so
    #11 0xfe0f73c8 in Perl_sv_clean_objs () from /xxxxx/apache2/modules/mod_perl.so
    #12 0xfe08e158 in perl_destruct () from /xxxxx/apache2/modules/mod_perl.so
    #13 0xfe081fb0 in modperl_perl_destruct () from /xxxxx/apache2/modules/mod_perl.so
    #14 0xfe073fa4 in modperl_interp_destroy () from /xxxxx/apache2/modules/mod_perl.so
    #15 0xfe0740a8 in interp_pool_shrink () from /xxxxx/apache2/modules/mod_perl.so
    #16 0xfe0750ec in modperl_tipool_putback_base () from /xxxxx/apache2/modules/mod_perl.so
    #17 0xfe0751a4 in modperl_tipool_putback_data () from /xxxxx/apache2/modules/mod_perl.so
    #18 0xfe074254 in modperl_interp_unselect () from /xxxxx/apache2/modules/mod_perl.so
    #19 0xff2c327c in run_cleanups (cref=0xa067c48) at memory/unix/apr_pools.c:2034
    #20 0xff2c29f8 in apr_pool_destroy (pool=0xa067c38) at memory/unix/apr_pools.c:727
    #21 0xff2c29c0 in apr_pool_clear (pool=0xa030fc8) at memory/unix/apr_pools.c:686
    #22 0x000631e0 in worker_thread (thd=0x889870, dummy=0x0) at worker.c:897
    #23 0xff2cb3a4 in dummy_worker (opaque=0x889870) at threadproc/unix/thread.c:138
    #24 0xfeebb024 in threadstart () from /usr/lib/libthread.so.1
    #25 0xfeebb024 in threadstart () from /usr/lib/libthread.so.1
    <-----------

    Hello,
    okay - we have finally understood the problem, and so I want to share the results here... maybe it helps someone who wants to use Apache/mod_perl together with dbxml.
    The key to understand the issue is to understand how mod_perl works with the perl interpreters. Important to know: there is a "parent" perl interpreter, that is spawned first.
    (either one per httpd process, or - like in our case - one parent per virtual host).
    Then additional interpreters are "cloned" from the "parent" perl, until the configured total number of perl interpreters is reached. As mentioned in the first posting below, the total number of perl interpreters can be either configured constant, or can be configured dynamic. The "parent" perl interpreter is created already during Apache's startup phase;
    in case of the "dynamic configuration", the additional perl interpreters can be "cloned" or destroyed during http request time.
    Now, the big mistake that we made, was to have the perl code handling the opening of dbxml env/manager/container already on the "top" level of our perl module. Thereby the code was of course executed as soon as the first perl interpreter was loaded, i.e. when the parent interpreter was loaded. Then this "parent" perl was "cloned" and so the dbxml object handles were cloned too. Later, when mod_perl decided to destroy one of the "cloned" interpreters, as it was not needed anymore, all the object destructors were called implicitly, this way also the dbxml objects. We had not expected a problem here. We assumed the "cloning" process would have properly taken care of duplicating the dbxml "object handles" (whatever that means :) but obviously that's not the case. As soon as one of the "cloned" perl interpreters is destroyed, the dbxml env/mgr/container variables are destroyed and that takes to death the other perl interpreters and the whole httpd process.
    So... once understood, the solution for our problem was quite simple: To move the dbxml env/mgr/container opening away from the module top, and move it into a subroutine, that is called only if demanded. I.e. the dbxml read/write code first checks if the dbxml env. is already opened, and if not it is opened. That's a little bit of overhead, but it needs to happen only once per perl interpreter lifetime. Then the opened env. is reused all the time.
    So in other words, the dbxml env/mgr/container handles are no more created in the "parent" interpreter, but only within the "cloned" interpreter. Whenever the "cloned" interpreter needs to be killed, all its objects can be happily killed too, including dbxml, but that's no problem anymore, because it does not affect the "parent" perl or the sister "clones" at all.
    That's the whole story...
    Regards,
    martin.

  • Getting Current Date on Endeca Pipeline

    Hi,
    I would like to compare the a some other date(which is property) with the current date like
    <EXPRESSION LABEL="" NAME="IF" TYPE="VOID" URL="">
    <EXPRESSION LABEL="" NAME="MATH" TYPE="INTEGER" URL="">
    <EXPRNODE NAME="TYPE" VALUE="STRING"/>
    <EXPRNODE NAME="OPERATOR" VALUE="EQUAL"/>
    <EXPRESSION LABEL="" NAME="IDENTITY" TYPE="PROPERTY" URL="">
    <EXPRNODE NAME="PROP_NAME" VALUE="*SomeOtherDate*"/>
    </EXPRESSION>
    <EXPRESSION LABEL="" NAME="CONST" TYPE="STRING" URL="">
    <EXPRNODE NAME="VALUE" VALUE="*CurrentDate*"/>
    </EXPRESSION>
    </EXPRESSION>
    How do I get or refer the current system date on pipeline.
    And also need info on how to compare the dates.
    Thanks,
    Bharath
    Edited by: 949101 on Sep 17, 2012 11:17 PM
    Edited by: 949101 on Sep 17, 2012 11:56 PM

    I'd do this upstream of Endeca (in your data extract process), or if that isn't an option then use a perl manipulator: http://docs.oracle.com/cd/E28912_01/DeveloperStudio.612/pdf/ForgeAPIGuidePerl.pdf .
    In terms of comparison, a handy method is to format dates as YYYYMMDD - you can then use X > Y, X < Y, sort them in ascending/descending, etc.

  • Different RAW Question

    Hi Folks,
    We run a birding website whereas photos are uploaded and also ranked. We have tight rules against manipulation, cloning, background change, etc, etc. But since there is an unofficial race among members, some people tend to "cheat" in order to get their photos liked more. When we suspect that a photo is manipulated, we ask them to send their original RAW files. If it was so obvious, they usually decline to send them in and come up with other excuses. But recently, we are seeing some "near impossible to get" photos and they come up with RAW files.
    I'm no expert but is there any way to manipulate a RAW image, meaning that you open a RAW image, you do all kinds of stuff in PS and then save the image again in RAW and make it look like as it is original?
    If this is possible in any way with PS or other photo processing software, can you tell if the RAW file is original or not?
    Thank You

    Murat Cuhadaroglu wrote:
    I'm no expert but is there any way to manipulate a RAW image, meaning that you open a RAW image, you do all kinds of stuff in PS and then save the image again in RAW and make it look like as it is original?
    Well, if you are a hacker skilled in the dark arts, maybe…but in general, raw files are read only. One CAN store the settings one used to adjust the raw file but one can also remove those setting to see what the raw file looks like. But one CAN'T easily take a raw file, open it in Photoshop, manipulate the image and then save it back out as a real raw file. Yes, one can save a TIFF file as a DNG file which mimicks a raw file but it's not a real raw file–one can detect the nature of the DNG.
    Sorry, it seems what you are asking may simply be answered by the fact that people are getting real good at manipulating raw files with ACR & LR.
    Personally, I think that arbitrary constraints being placed on what is a permit amount of image manipulation being "acceptable" as being specious…YMMV. Good luck on being the image police!

  • I am cloning r12 10.2.0.4 database and running perl adcfgclone.pl dbTier

    bash-3.00$ perl adcfgclone.pl dbTier
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.20.12000000.12
    Enter the APPS password :
    Running:
    /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_631.lst -stage /u01/oracle/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone_631.err; echo $? > /tmp/adcfgclone_631.res
    Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [ksctest] : ksctest
    Target Instance is RAC (y/n) [n] : n
    Target System Database SID : atest
    Target System Base Directory : /u01/oracle
    Oracle OS User [oracle] : oracle
    Target System utl_file_dir Directory List : /usr/tmp
    Number of DATA_TOP's on the Target System [2] : 1
    Target System DATA_TOP Directory 1 : /u01/oracle/db/apps_st/data
    Target System RDBMS ORACLE_HOME Directory [u01/oracle/db/tech_st/10.2.0] : /u01/oracle/db/tech_st/10.2.0
    Do you want to preserve the Display [null] (y/n) ? : n
    Target System Display [ksctest:0.0] : ksctest:1.0
    Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n
    Target System Port Pool [0-99] : 50
    Checking the port pool 50
    done: Port Pool 50 is free
    Report file located at /u01/oracle/db/tech_st/10.2.0/appsutil/temp/portpool.lst
    Complete port information available at /u01/oracle/db/tech_st/10.2.0/appsutil/temp/portpool.lst
    Backing up /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml to /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml1.bak
    Creating the new Database Context file from :
    /u01/oracle/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
    /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml
    Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log
    Check Clone Context logfile /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log for details.
    Running Rapid Clone with command:
    perl /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml showProgress contextValidated=true
    Running:
    perl /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml showProgress contextValidated=true
    APPS Password :
    Beginning database tier Apply - Sun Apr 7 14:35:15 2013
    /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u01/oracle/db/tech_st/10.2.0/oui -classpath /u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml -stage /u01/oracle/db/tech_st/10.2.0/appsutil/clone -rmanstage -rmantgtloc -srcdbname -showProgress
    APPS Password : Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/log/atest_ksctest/ApplyDBTier_04071435.log
    / 4% completed RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
    ERROR while running Apply...
    Sun Apr 7 14:36:15 2013
    ERROR: Failed to execute /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    =========================================================
    Skipping Profile Phase
    Skipping Apply Phase
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [INSTANTIATE PHASE]
    AutoConfig could not successfully instantiate the following files:
    Directory: /u01/oracle/db/tech_st/10.2.0/appsutil/install/atest_ksctest
    adcrdb.sh INSTE8
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    i am getting this error in logfile

    user3714906 wrote:
    please updatePlease see my previous reply -- Please search the log file for adcrdb.sh and you should find more details about the error
    Thanks,
    Hussein

  • Oracle EBS 11i - Cloning failing while running 'perl adcfgclone.pl dbTier

    Hi DBAs/Experts
    I am trying to clone the Oracle 11i (11.5.10.2 with RUP6) all single node on RHEL 4.6. I was following the metalink note 230672.1.
    I ran adpreclone scripts successfully on the dbTier and appsTier. Shutdown the Apps & DB. Moved over the file system (whole /u01) which include all the homes ,tops and datafiles from source to target.
    While running 'perl adcfgclone.pl dbTier' , I am getting following errors. I didn't check any pre-requisite patches for Rapid Clone as the EBS was already up-todate with RUP6. (How can I verify if the system is on RUP6 in case I have to double check it).
    ------------------ Error Message -------
    adlnkoh.sh started at Thu Feb 26 21:55:55 EST 2009
    logfile located in /u01/app/oracle/visdb/9.2.0/install/make.log
    Error while running adlnkoh.sh. Please check logfile
    .end std out.
    /u01/app/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 198: /u01/app/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
    .end err out.
    StackTrace:
    /u01/app/oracle/visdb/9.2.0/install/make.log
    mv -f /u01/app/oracle/visdb/9.2.0/bin/oracleO /u01/app/oracle/visdb/9.2.0/bin/oracle
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/oracle /u01/app/oracle/visdb/9.2.0/bin/oracleO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle /u01/app/oracle/visdb/9.2.0/bin/oracle
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    chmod 6751 /u01/app/oracle/visdb/9.2.0/bin/oracle
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    Completed...
    /u01/app/oracle/visdb/9.2.0/bin/oracle did not relink properly.
    Please review relink errors in this log file
    Please help me with your expert advises to resolve the issue.
    Thanks
    -Samar
    Edited by: user4314207 on Mar 4, 2009 8:09 PM
    Edited by: user4314207 on Mar 5, 2009 9:18 AM

    running genclntsh...
    basename: too few arguments
    Try `basename --help' for more information.
    cp: missing file argument
    Try `cp --help' for more information.
    cp: cannot stat `/DISCARD/': No such file or directory
    ar: creating /u01/app/oracle/visdb/9.2.0/lib/libclntst9.a
    Created /u01/app/oracle/visdb/9.2.0/lib/libclntst9.a
    rm -f oracle mig dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest imp exp sqlldr rman avmurout avmping avligmsg avmumon nid /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.s /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    Starting: "make -if /u01/app/oracle/visdb/9.2.0/rdbms/lib/ins_rdbms.mk install"
    chmod 755 /u01/app/oracle/visdb/9.2.0/bin
    rm -f oracle mig dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest imp exp sqlldr rman avmurout avmping avligmsg avmumon nid /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.s /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    - Linking Oracle
    rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle
    gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ -Wl,-E `test -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o && echo /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o` /u01/app/oracle/visdb/9.2.0/rdbms/lib/opimai.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/ssoraed.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/ttcsoi.o /u01/app/oracle/visdb/9.2.0/lib/nautab.o /u01/app/oracle/visdb/9.2.0/lib/naeet.o /u01/app/oracle/visdb/9.2.0/lib/naect.o /u01/app/oracle/visdb/9.2.0/lib/naedhs.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lskgxn9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o -lknlopt `if /usr/bin/ar tv /u01/app/oracle/visdb/9.2.0/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap9" ; fi` -lslax9 -lpls9 -lplp9 -lserver9 -lclient9 -lvsn9 -lwtcserver9 -!
    lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 -ljox9 -lserver9 -locijdbcst9 -lwwg9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `if /usr/bin/ar tv /u01/app/oracle/visdb/9.2.0/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lsnls9 -lunls9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lun!
    ls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` !
    -Wl,-rpa
    th,/u01/app/oracle/visdb/9.2.0/lib:/lib/i686:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm `test -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o && echo -laio`
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/oracle /u01/app/oracle/visdb/9.2.0/bin/oracleO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle /u01/app/oracle/visdb/9.2.0/bin/oracle
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    chmod 6751 /u01/app/oracle/visdb/9.2.0/bin/oracle
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    Linking Migration utility (mig)
    rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig
    gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/rdbms/lib/s0kumain.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/skumcf.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o /u01/app/oracle/visdb/9.2.0/lib/nautab.o /u01/app/oracle/visdb/9.2.0/lib/naeet.o /u01/app/oracle/visdb/9.2.0/lib/naect.o /u01/app/oracle/visdb/9.2.0/lib/naedhs.o -ldbtools9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -l!
    nzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxm!
    l9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib!
    /ldflags
    ` -lpls9 -lplp9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/mig] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/mig /u01/app/oracle/visdb/9.2.0/bin/migO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/mig': No such file or directory
    make: [imig] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig /u01/app/oracle/visdb/9.2.0/bin/mig
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/mig': No such file or directory
    make: [imig] Error 1 (ignored)
    chmod 751 /u01/app/oracle/visdb/9.2.0/bin/mig
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/mig': No such file or directory
    make: [imig] Error 1 (ignored)
    - Linking DB*Verify utility (dbv)
    rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv
    gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/rdbms/lib/s0kudbv.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o -ldbtools9 -lsnls9 -lunls9 -lnls9 -lclntsh `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -l!
    generic9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/dbv /u01/app/oracle/visdb/9.2.0/bin/dbvO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/dbv': No such file or directory
    make: [idbv] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv /u01/app/oracle/visdb/9.2.0/bin/dbv
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv': No such file or directory
    make: [idbv] Error 1 (ignored)
    chmod 751 /u01/app/oracle/visdb/9.2.0/bin/dbv
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/dbv': No such file or directory
    make: [idbv] Error 1 (ignored)
    Starting: "make -if /u01/app/oracle/visdb/9.2.0/precomp/lib/ins_precomp.mk links"
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLDA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f BNDDSC.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SELDSC.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.h SQLCA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.h ORACA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlda.h SQLDA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.cob SQLCA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.cob ORACA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.for SQLCA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.for ORACA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s bnddsc.for BNDDSC.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s seldsc.for SELDSC.FOR)
    Completed...
    Starting: "make -if /u01/app/oracle/visdb/9.2.0/sqlplus/lib/ins_sqlplus.mk install"
    rm -f sqlplus
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/demobld
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/demodrop
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/helpins
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/pupbld
    Linking sqlplus
    rm -f sqlplus
    gcc -o sqlplus -L/u01/app/oracle/visdb/9.2.0/sqlplus/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/sqlplus/lib/s0afimai.o -lsqlplus -lclntsh `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/vi!
    sdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm -lpthread `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm -lpthread
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [sqlplus] Error 1 (ignored)
    /bin/chmod 755 sqlplus
    /bin/chmod: cannot access `sqlplus': No such file or directory
    make: [sqlplus] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/sqlplus /u01/app/oracle/visdb/9.2.0/bin/sqlplusO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/sqlplus': No such file or directory
    make: [newsqlplus] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/sqlplus/lib/sqlplus /u01/app/oracle/visdb/9.2.0/bin/sqlplus
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/sqlplus/lib/sqlplus': No such file or directory
    make: [newsqlplus] Error 1 (ignored)
    /bin/chmod 751 /u01/app/oracle/visdb/9.2.0/bin/sqlplus
    /bin/chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/sqlplus': No such file or directory
    make: [newsqlplus] Error 1 (ignored)
    Completed...

  • EBS 12.1.3 RAC to RAC Cloning with Shared Appl_Top

    BismillahirRehmanirRahim
    Dear All,
    I need to Clone our Production EBS Environment from RAC to RAC with Shared APPL_TOP and Multi Tier Appl Tiers.
    We have EBS 12.1.3 Environment with 2 Appl Tier Nodes with Shared Appl_Top & EBS DB is on 11gR2 RAC 11..2.0.4.
    I am following Doc IDs 406982.1 & 559518.1.
    But its not clear which directories need to be copy and restore for Shared Appl top on each Node.
    Also what Steps will need to be executed on Each Nodes and
    What Steps need to be executed only on one Node.
    Appreciate your feedback.
    P.S.
    Kindly share if anyone have Step by Step Doc for RAC to RAC EBS Cloning.

    Hi Hussein,
    thanks for the reply.
    +The path is different (first path is db while the second one is apps), so copy the file from the source instance to $COMMON_TOP/clone/context/apps directory on the target instance and try then -- Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]+
    What I meant to say that CTXORIG.xml already exists in the correct directory in the target system:
    $COMMON_TOP/clone/context/apps
    Anyways, I recopied the file from source to the target system $COMMON_TOP/clone/context/apps, but still the same problem. I'll continue reading "Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]".
    I noticed below when running "perl adcfgclone.pl appsTier" with perl debug mode:
    Cwd::_backtick_pwd(<10.1.3 ORACLE_HOME>/perl/lib/5.8.3/aix-thread-multi/Cwd.pm:204):
    204: local @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};
    DB<1> s
    Cwd::_backtick_pwd(<10.1.3 ORACLE_HOME>/perl/lib/5.8.3/aix-thread-multi/Cwd.pm:205):
    205: my $cwd = `$pwd_cmd`;
    DB<1> s
    pwd: No such file or directory
    Cwd::_backtick_pwd(<10.1.3 ORACLE_HOME>/perl/lib/5.8.3/aix-thread-multi/Cwd.pm:207):
    207: local $/ = "\n";
    DB<1> s
    BR,
    TH

  • Error while running  perl adpreclone.pl dbTier

    Hi all,
    Error while running perl adpreclone.pl dbTier
    Running Rapid Clone with command...
    perl /u02/app/orap/product/9.2.0/appsutil/bin/adclone.pl java=/u02/app/orap/product/9.2.0/jre/1.4.2 mode=stage stage=/u02/app/orap/product/9.2.0/appsutil/clone component=dbTier method=CUSTOM dbctx=/u02/app/orap/product/9.2.0/appsutil/DEV_XXX.xml showProgress
    Beginning database tier Stage - Fri Jun 26 12:16:45 2009
    APPS Password : appsdev
    Log file located at /u02/app/orap/product/9.2.0/appsutil/log/DEV_jos11/StageDBTier_06261216.log
    / 75% completed
    RC-50409: Topology information required for cloning not found in the database. Make sure that AutoConfig was run successfully prior to starting Rapid Clone, and try again
    Raised by oracle.apps.ad.tools.AdCreateCtlFile
    RC-40001: Fatal: Failed to create sql script adcrdbclone.sql for recreating control files at target
    - 75% completed
    ERROR while running Stage...
    Checked metalink found the below solution but please the me interconnect_name is what ?
    Check if the column interconnect_name from the fnd_database_instances has a value. If not, please update it with the correct value:
    update FND_DATABASE_INSTANCES
    set INTERCONNECT_NAME = 'xxx';
    commit;
    Rerun the process.
    Thanks,
    Bhanu Chander.

    Hi,
    Alert log is normal.
    but adcfgclone.pl log is
    /u02/app/orap/product/9.2.0/appsutil/out/DEV_XXXX/dbfinfo.lst created Successfully.
    Generating /u02/app/orap/product/9.2.0/appsutil/out/DEV_XXXX/addbhomsrc.xml which will contain the unique mount points
    NODE_ID Column Availability: true
    Node Id Column is available. dbfinfo.lst will contain the node list
    Host Column Availability: true
    Exception occurred while querying the datamodel: java.lang.NullPointerException
    StackTrace:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:393)
    at oracle.apps.ad.tools.AdCreateCtlFile.get_rac_data(AdCreateCtlFile.java:1325)
    at oracle.apps.ad.tools.AdCreateCtlFile.gen_dbhomes_xml(AdCreateCtlFile.java:530)
    at oracle.apps.ad.tools.AdCreateCtlFile.gen_crctrfclone_sql(AdCreateCtlFile.java:626)
    at oracle.apps.ad.tools.AdCreateCtlFile.<init>(AdCreateCtlFile.java:428)
    at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:457)
    at oracle.apps.ad.clone.StageDatabase.<init>(StageDatabase.java:266)
    at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:216)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:534)
    RC-50409: Topology information required for cloning not found in the database. Make sure that AutoConfig was run successfully prior to starting Rapid Clone, and try again
    Raised by oracle.apps.ad.tools.AdCreateCtlFile
    RC-50208: Exception in method gen_crctrfclone_sql
    RC-50208: Exception in Constructor AdCreateCtlFile
    Raised by oracle.apps.ad.tools.AdCreateCtlFile
    StackTrace:
    java.lang.Exception
    at oracle.apps.ad.tools.AdCreateCtlFile.get_rac_data(AdCreateCtlFile.java:1348)
    at oracle.apps.ad.tools.AdCreateCtlFile.gen_dbhomes_xml(AdCreateCtlFile.java:530)
    at oracle.apps.ad.tools.AdCreateCtlFile.gen_crctrfclone_sql(AdCreateCtlFile.java:626)
    at oracle.apps.ad.tools.AdCreateCtlFile.<init>(AdCreateCtlFile.java:428)
    at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:457)
    at oracle.apps.ad.clone.StageDatabase.<init>(StageDatabase.java:266)
    at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:216)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:534)
    RC-40001: Failed to create sql script adcrdbclone.sql for recreating control files at target
    Raised by oracle.apps.ad.clone.StageDatabase
    Thanks,
    Bhanu Chander

  • Cloning EBS R12.2.4

    Hi all,
    I am cloning our EBS R12.2.4 source CRP to UAT.
    db location    : /home/oracrp/CRP   to  /home/orauat/UAT
    apps location: /home/applcrp/CRP  to /home/appluat/UAT
    The db part is just easy and very fast to complete.
    But the app part take so long at 50% status only and after like 1 hr it thows error as in:
    Beginning application tier Apply - Thu Dec 18 18:36:23 2014
    /home/appluat/UAT/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /home/appluat/UAT/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/home/appluat/UAT/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/home/appluat/UAT/fs1/EBSapps/comn/clone/jlib/java:/home/appluat/UAT/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/home/appluat/UAT/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/home/appluat/UAT/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/home/appluat/UAT/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/home/appluat/UAT/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/home/appluat/UAT/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/home/appluat/UAT/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.ApplyAppsTier -e /home/appluat/UAT/fs1/inst/apps/UAT_appscrp/appl/admin/UAT_appscrp.xml -stage /home/appluat/UAT/fs1/EBSapps/comn/clone    -showProgress -nopromptmsg
    Log file located at /home/appluat/UAT/fs1/inst/apps/UAT_appscrp/admin/log/clone/ApplyAppsTier_12181836.log
      -     50% completed
    ERROR while running Apply...
    Thu Dec 18 20:04:06 2014
    The I checked the error log and this is what I got:
    +++++++++++++++++++++++++
    configGroup Type name = OPSS_SECURITY
    configGroup Type name = DEPLOYMENT_PLAN_CONFIG
    Writing moveplan xml file
    Updating the deployment plan /home/appluat/UAT/fs1/EBSapps/comn/clone/FMW/WLS/plan/deployment_plans/oafm#1.0.0_plan.xml
    Updating config-root element with val =/home/appluat/UAT/fs1/FMW_Home/Oracle_EBS-app1/deployment_plans/oafm
    Updating the deployment plan /home/appluat/UAT/fs1/EBSapps/comn/clone/FMW/WLS/plan/deployment_plans/forms-c4ws#1.0.0_plan.xml
    Updating config-root element with val =/home/appluat/UAT/fs1/FMW_Home/Oracle_EBS-app1/deployment_plans/forms-c4ws
    Updating the deployment plan /home/appluat/UAT/fs1/EBSapps/comn/clone/FMW/WLS/plan/deployment_plans/forms#1.0.0_plan.xml
    Updating config-root element with val =/home/appluat/UAT/fs1/FMW_Home/Oracle_EBS-app1/deployment_plans/forms
    Updating the deployment plan /home/appluat/UAT/fs1/EBSapps/comn/clone/FMW/WLS/plan/deployment_plans/oacore#1.0.0_plan.xml
    Refreshing the content of help_InitParam_ohwConfigFileURL to file:/home/appluat/UAT/fs1/FMW_Home/Oracle_EBS-app1/common/config/ohwconfig.xml
    Refreshing the content of CGIServlet_InitParam_cgiDir to /home/appluat/UAT/fs1/FMW_Home/Oracle_EBS-app1/common/scripts
    Refreshing the content of CGIServlet_InitParam_*.pl to /home/appluat/UAT/fs1/FMW_Home/webtier/perl/bin/perl
    Refreshing the content of oowa_InitParam_log_main_file to /usr/tmp/oowa.log
    Refreshing the content of oowa_InitParam_log_spl2_file to /usr/tmp/oowa.log
    Refreshing the content of LoopProcServlet_InitParam_ARCHIVE to /usr/tmp
    Refreshing the content of TransmitServlet_InitParam_ARCHIVE to /usr/tmp
    Updating config-root element with val =/home/appluat/UAT/fs1/FMW_Home/Oracle_EBS-app1/deployment_plans/oacore
    Backup domain directory if exists
    Backup applications domain directory if exists
    START: Creating new WLS domain.
    Running /home/appluat/UAT/fs1/FMW_Home/oracle_common/bin/pasteConfig.sh -javaHome /home/appluat/UAT/fs1/EBSapps/comn/util/jdk64 -al /home/appluat/UAT/fs1/EBSapps/comn/clone/FMW/WLS/EBSdomain.jar -tdl /home/appluat/UAT/fs1/FMW_Home/user_projects/domains/EBS_domain_UAT -tmw /home/appluat/UAT/fs1/FMW_Home -mpl /home/appluat/UAT/fs1/EBSapps/comn/clone/FMW/WLS/plan/moveplan.xml -ldl /home/appluat/UAT/fs1/inst/apps/UAT_appscrp/admin/log/clone/wlsT2PApply -silent true -debug true -domainAdminPassword /home/appluat/UAT/fs1/EBSapps/comn/clone/FMW/tempinfo.txt
    Script Executed in 4630161 milliseconds, returning status 255
    ERROR: Script failed, exit code 255
    Please help how to resolve.
    Thanks a million,
    mk

    This is the WebADI - pl post in the EBS forum

  • Cloning Issue RC-00118: Error occurred during creation of database

    Friends,
    I execute following scripts on source system preclone.pl dbTier  &perl adpreclone.pl appsTier
    then take the cold source backup and transfer on another machine for cloning but when i am executing cloning script on db tier i am getting below mention error after 50% completion. I have very limited time and i cant go back on source system for fresh backup, please help me to sort out his issue.
    -------------------ADX Database Utility Finished--------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
            at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyData
            at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDat
            at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyData
            at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier
            at sun.reflect.NativeConstructorAccessorImpl.newInstan
            at sun.reflect.NativeConstructorAccessorImpl.newInstan
            at sun.reflect.DelegatingConstructorAccessorImpl.newIn                      rce)
            at java.lang.reflect.Constructor.newInstance(Unknown S
            at oracle.apps.ad.clone.util.CloneProcessor.run(CloneP
            at java.lang.Thread.run(Unknown Source)
    Hopes you will support.
    Regards
    Irfan Ahmad

    plz check :
    http://doganayn.blogspot.in/2013/11/rc-50004-fatal-error-occurred-in.html
    Rapid Clone Failed While Running "Adcfgclone.pl dbTier": ORA-01194 and RC-00118 (Doc ID 375389.1)
    Troubleshooting RapidClone issues with Oracle Applications R12 (Doc ID 603104.1)
    Troubleshooting RapidClone issues with Oracle Applications 11i (Doc ID 364565.1)
    Regards,
    Haafiz

  • Problem in cloning of EBS R12

    Hi All,
    I am working in Oracle E-Business Suite Release 12.1.1 at RHEL 64bit Os. I want to switch my EBS R12 set to new machine of same OS.
    for the same i am following the document Cloning Oracle Applications Release 12 with Rapid Clone :406982.1. In this
    section 5. Apply the latest Rapid Clone patches
    For Release 12.1:
    Apply patches as listed in Table 3.b.
    Table 3.b: Release 12.1 Rapid Clone patches
    Patch      Description
    9171651:R12.OAM.B 12.1 RAPIDCLONE CONSOLIDATED FIXES JUL/2010
    9833058:R12.OAM.B HOT CLONE FAILS WITH ORA-00201 DURING RECOVERY MANAGER
    12404574:R12.OAM.B ORACLE_HOME REGISTRATION DOES NOT HAPPEN WITH CENTRAL INVENTORY ON LOZ
    12598630:R12.OAM.B R12.1 ONE-OFF FOR S_DB_LISTENER BUG 12362010
    Now
    in Patch : 9171651 (there is instruction to run these patches)
    Instructions For Applying This Patch
    Preparation Tasks
    The tasks in this section can be completed without taking any Applications services or users offline. Required Code levels This patch requires additional code levels to have been successfully
    applied to your system before it can be applied. These code levels,
    as at the time that this patch was built, are listed below. Please check
    'My Oracle Support' to determine if any of these have been uperseded
    R12.AD.A.delta.4
    R12.TXK.A.delta.4
    when I run the above patch p6767273_R12.AD.A_R12_LINUX.zip it give me error of
    This Patch is not compatible with your current code lines
    This patch is compatible with: entity 'ad' - codeline 'R12.AD.A'.
    Your current on site codeline for the entity 'ad' is: 'R12.AD.B'.
    you should not apply this patch
    As i read in blog the 'A' means that it's for 12.0.x release and the 'B' is for release 12.1.x.
    I am novice in EBS .Pls suggest what to do.
    Thanks in advance.

    You need to apply the Patch first.
    Download p9171651_R12.OAM.B_R12_GENERIC.zip Patch.
    Stop Applications.
    Apply the Patch with adpatch and use driver file u9171651.drv.
    Post steps to be done as listed below as per Patch Readme.
    Description
    This patch must be applied on all the APPL_TOPs.
    If your system is implemented as a Shared Application Tier File System,
    you need to apply this patch only once, on any one of the application
    tier nodes. However, AutoConfig must be executed on all the Nodes.
    This patch can be applied on 12.1 or higher.
    Post Install Steps
    After applying this patch, update all Database Tier Nodes with the code level
    provided by this patch, by performing the following steps :
    1. On the Application Tier (as the APPLMGR user):
    . Source the environment variables for Oracle Applications
    UNIX:
    . ./<APPL_TOP>/APPS<CONTEXT_NAME>.env
    Windows:
    <APPL_TOP>\envshell<CONTEXT_NAME>.cmd
    . Run AutoConfig on the APPL_TOP
    . Execute admkappsutil.pl utility to create the file appsutil.zip
    perl <AD_TOP>/bin/admkappsutil.pl
    This will create appsutil.zip in <INST_TOP>/admin/out
    Note:
    For exact details on how to run Autoconfig and how to create appsutil.zip,
    please refer to Metalink Note 387859.1.
    2. On the Database Tier (as the ORACLE user):
    . Source the environment variables for RDBMS ORACLE_HOME
    UNIX:
    cd <RDBMS ORACLE_HOME>
    . ./<RDBMS ORACLE_HOME>/<CONTEXT_NAME>.env
    Windows:
    <RDBMS ORACLE_HOME>\<CONTEXT_NAME>.cmd
    . Copy or FTP the appsutil.zip file to the <RDBMS ORACLE_HOME>
    . Uncompress appsutil.zip under the <RDBMS ORACLE_HOME>
    cd <ORACLE_HOME>
    unzip -o appsutil.zip
    . Run AutoConfig on the <RDBMS ORACLE_HOME>
    Note:
    For exact details on how to run Autoconfig on the dbTier and how transfer
    the AutoConfig updates from the APPL_TOP to the RDBMS ORACLE_HOME please
    refer to Metalink Note 387859.1, Section 2, Step 3 (Patching AutoConfig).
    3. Re-run adpreclone.pl on the dbTier and appsTier
    Warning:
    Since new updates included on this patch have been applied to the system,
    Adpreclone must be executed again in order to apply them into the clone
    directory structures used during cloning.
    perl adpreclone.pl dbTier
    perl adpreclone.pl appsTier
    Note:
    For exact details on how to run adpreclone.pl, please refer to Metalink
    Note 406982.1.

  • Ebs 11i Cloning in Win 2003 dbtier fails with ERROR: Could not open

    Hi,
    The rapidclone - DBTier cloning (11i) on Windows 2003 server fails with the following weird error message.
    There is no detailed log file created.
    echo %PATH%
    f:\oracle\prodora\8.0.6\bin;f:\oracle\proddb\9.2.0\apache\perl\perl\5.0053\bin\mswin32-x86;D:\mksnt\mksnt;;
    F:\oracle\proddb\9.2.0\appsutil\clone\bin\> perl adcfgclone.pl dbTier
    Enter the APPS password [APPS] :
    apps
    First Creating a new context file for the cloned system.
    This program is going to ask you information about the new system:
    ERROR: Could not open
    Any inputs on this really appreciated.
    Thanks,
    Prasanna

    which perl picks up from the path f:\oracle\proddb\9.2.0\apache\perl\5.00503\bin\mswin32-x86/perl.exe.
    Please check the below messages.
    I had verified adchkutl.sh script too (not sure whether this will be invoked in windows env) ?
    F:\oracle\prodappl\ad\11.5.0\bin>which perl
    f:\oracle\proddb\9.2.0\apache\perl\5.00503\bin\mswin32-x86/perl.exe
    F:\oracle\prodappl\ad\11.5.0\bin>adchkutl.sh
    Checking for make... found - D:\mksnt\mksnt/make.exe
    Checking for ld...
    Unable to locate 'ld' utility in path
    Checking for cc...
    Unable to locate 'cc' utility in path
    Checking for ar...
    Unable to locate 'ar' utility in path
    Unable to locate all utilities with system path.
    PATH = f:\oracle\proddb\9.2.0pache\perl?.0050in\mswin32-x86;D:\mksnt\mksnt;;
    F:\oracle\prodappl\ad\11.5.0\bin>which ld
    D:\mksnt\mksnt/ld.exe
    F:\oracle\prodappl\ad\11.5.0\bin>which cc
    D:\mksnt\mksnt/cc.exe
    F:\oracle\prodappl\ad\11.5.0\bin>which ar
    D:\mksnt\mksnt/ar.exe
    F:\oracle\prodappl\ad\11.5.0\bin>
    Thanks

  • Error while doing cloning!

    Hi All,
    I am trying to do hotbackup cloning
    and getting this error
    orap@emgfclone $ perl adcfgclone.pl dbTier /u02/oracle/emaardb/9.2.0/appsutil/EMAAR_emgfclone.xml
    Enter the APPS password [APPS]:
    apps
    Running Rapid Clone with command:
    perl /u02/oracle/emaardb/9.2.0/appsutil/clone/bin/adclone.pl java=/u02/oracle/emaardb/9.2.0/appsutil/clone/bin/../jre/jre mode=apply stage=/u02/oracle/emaardb/9.2.0/appsutil/clone/bin/.. component=dbTier method=CUSTOM dbctxtg=/u02/oracle/emaardb/9.2.0/appsutil/EMAAR_emgfclone.xml showProgress contextValidated=false
    Beginning database tier Apply - Fri Jan 16 20:25:52 2009
    Log file located at /u02/oracle/emaardb/9.2.0/appsutil/log/EMAAR_emgfclone/ApplyDBTier_01162025.log
    - 0% completed RC-00213: Warning: The path specified must be the absolute path
    RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
    ERROR while running Apply...
    ERROR: Failed to execute /u02/oracle/emaardb/9.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    I have already restored twice but still getting the same error, also it says listener is also not present.
    logfile
    ====
    Started ApplyDBTier at Fri Jan 16 20:22:47 CST 2009
    Version:
    ApplyDBTier.java : 115.21
    # Calling ApplyDBTechStack...
    System Utilities Availability test...
    Checking for make... found - /usr/ccs/bin/make
    Checking for ld... found - /usr/ccs/bin/ld
    Checking for cc... found - /usr/bin/cc
    Checking for ar... found - /usr/ccs/bin/ar
    Checking for AIX 64-bit kernel extension for Oracle......
    Found pw-syscall files and inittab entry on this system.
    Note: you can also verify that the AIX 64bit kernel extension for
    Oracle are loaded by running "/etc/loadext -r"as root:
    Utility check completed successfully
    .end std out.
    .end err out.
    Executing runInstallDriver...
    Started unzipping files...
    # $Header: CloneContext.java 115.203 2006/05/23 19:31:52 marderiu ship $
    # Running CloneContext on machine - emgfclone
    Cannot proceed with ApplyDBTechStack - the paths/ports in the context file are not valid.
    RC-20402: The following paths are not valid - please make sure the paths exist and try again.
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    s_dbhome1 : :/u02/oracle/emaardata
    StackTrace:
    java.lang.Exception: Cannot proceed with ApplyDBTechStack - the paths/ports in the context file are not valid.
    at oracle.apps.ad.clone.ApplyDBTechStack.validateContext(ApplyDBTechStack.java:517)
    at oracle.apps.ad.clone.ApplyDBTechStack.runInstallDriver(ApplyDBTechStack.java:569)
    at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:373)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:149)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:513)
    ======================
    Any Idea or suggestion please
    Thanks,
    Anchoarge

    Hi All,
    Now I have changed the option
    perl adcfgclone.pl database_ /u02/oracle/emaardb/9.2.0/appsutil/EMAAR_emgfclone.xml
    but new error coming up
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    ERROR: Failed to execute /u02/oracle/emaardb/9.2.0/appsutil/clone/bin/adclone.pl
    LOGFILE
    =======================
    adcrdb.sh started at Fri Jan 16 20:34:57 CST 2009
    The environment settings are as follows ...
    ORACLE_HOME : /u02/oracle/emaardb/9.2.0
    ORACLE_SID : EMAAR
    TWO_TASK :
    PATH : /u02/oracle/emaardb/9.2.0/Apache/perl/bin:/u02/oracle/emaardb/9.2.0/bin:/usr/ccs/bin:/usr/sbin:/u02/oracle/emaardb/9.2.0/jre/1.4.2/bin:/usr/bin:/etc:/usr/lbin:/usr/bin/X11:/usr/local/bin:/u02/oracle/emaardb/9.2.0/appsutil/clone/bin/../jre/jre/bin:/u02/oracle/emaardb/9.2.0/Apache/perl/bin:/u02/oracle/emaardb/9.2.0/bin:/usr/ccs/bin:/usr/sbin:/u02/oracle/emaardb/9.2.0/jre/1.4.2/bin:/usr/bin:/etc:/usr/lbin:/usr/bin/X11:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/orap/bin:/usr/bin/X11:/sbin:.
    LD_LIBRARY_PATH : /u02/oracle/emaardb/9.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/u02/oracle/emaardb/9.2.0/ctx/lib
    Executable : /u02/oracle/emaardb/9.2.0/bin/sqlplus
    The log information will be written to
    /u02/oracle/emaardb/9.2.0/appsutil/log/EMAAR_emgfclone/adcrdb_EMAAR.txt
    Creating the control file for EMAAR_emgfclone database ...
    SQL*Plus: Release 9.2.0.6.0 - Production on Fri Jan 16 20:34:57 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 598706128 bytes
    Fixed Size 743376 bytes
    Variable Size 419430400 bytes
    Database Buffers 167772160 bytes
    Redo Buffers 10760192 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "EMAAR"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file ':/u02/oracle/emaardata/system09.dbf'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile ':/u02/oracle/emaardata/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP add tempfile ':/u02/oracle/emaardata/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "EMAAR.emaarmgf.com"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 598706128 bytes
    Fixed Size 743376 bytes
    Variable Size 419430400 bytes
    Database Buffers 167772160 bytes
    Redo Buffers 10760192 bytes
    ORA-00205: error in identifying controlfile, check alert log for more info
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-00210: cannot open the specified controlfile
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 3284
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 598706128 bytes
    Fixed Size 743376 bytes
    Variable Size 419430400 bytes
    Database Buffers 167772160 bytes
    Redo Buffers 10760192 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "EMAAR"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file ':/u02/oracle/emaardata/system09.dbf'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile ':/u02/oracle/emaardata/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP add tempfile ':/u02/oracle/emaardata/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "EMAAR.emaarmgf.com"
    ERROR at line 1:
    ORA-01109: database not open
    declare lib_ver varchar2(3);
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    exit_code=1
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 9.2.0.6.0 - Production on Fri Jan 16 20:35:14 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected.
    ORACLE instance shut down.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : emgfclone
    sDbDomain : emaarmgf.com
    sDbPort : 1522
    sDbSid : EMAAR
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@emgfclone.emaarmgf.com:1522:EMAAR
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emgfclone.emaarmgf.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=EMAAR)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emgfclone.emaarmgf.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=EMAAR.emaarmgf.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:513)
    =========================================
    Any sugesstions
    Anchorage

  • Cloning in release 12

    ** Now anwsered thank you Hussein for your help **
    Hi there,
    We have a database that runs out of a seperate oracle home to the tech stack database home that comes bundled with release 12.
    I have run preclone of apps and db tier, when I do the db clone it errors.
    I decided to self clone this working server to a new database on the same server - a simulation of copying it to another server and cloning it.
    Here are my steps so far and a summary of the errors :-
    Re-run adpreclone.pl on the database tier and the application tier.
    As oracle user :-
    cd /u01/oracle/product/11.2/appsutil/
    mv clone clone_renamed
    cd /u01/oracle/product/11.2/appsutil/scripts/oracoa_isg-fin-coa
    perl adpreclone.pl dbTier
    Verify using :-
    cd /u01/oracle/product/11.2/appsutil/clone
    Was OK
    APPS Tier
    As applmgr user :-
    cd /u03/oracoa/inst/apps/oracoa_isg-fin-coa/admin/scripts
    perl adpreclone.pl appsTier
    cd $COMMON_TOP/clone
    Was OK
    Renamed oracoa to oraclone folder …
    I.e. /u02/oradata/oracoa/ to /u02/oradata/oraclone/
    Clone fails if it cant find the dbf files ...
    Run the db side clone program
    Stop the listener first to avoid the port conflict for 1521 …
    lsnrctl stop oracoa
    As Oracle user :-
    cd $ORACLE_HOME/appsutil/clone/bin
    perl adcfgclone.pl dbTier
    oracoa:/u01/oracle/product/11.2/appsutil/clone/bin> perl adcfgclone.pl dbTier
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.31.12010000.8
    Enter the APPS password :
    Running:
    /u01/oracle/product/11.2/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/product/11.2/appsutil/clone/jlib/java:/u01/oracle/product/11.2/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/product/11.2/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/product/11.2/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_28264.lst -stage /u01/oracle/product/11.2/appsutil/clone 2> /tmp/adcfgclone_28264.err; echo $? > /tmp/adcfgclone_28264.res
    Log file located at /u01/oracle/product/11.2/appsutil/clone/bin/CloneContext_0518131153.log
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [isg-fin-coa] :
    Target Instance is RAC (y/n) [n] :
    Target System Database SID : oraclone
    Target System Base Directory : /u01/oracle/product/11.2
    Target System utl_file_dir Directory List : /usr/tmp
    Number of DATA_TOP's on the Target System [6] :
    Target System DATA_TOP Directory 1 [u02/oradata/oracoa/redo1] : /u02/oradata/oraclone/redo1
    Target System DATA_TOP Directory 2 [u02/oradata/oracoa/redo2] : /u02/oradata/oraclone/redo2
    Target System DATA_TOP Directory 3 [u02/oradata/oracoa/db1] : /u02/oradata/oraclone/db1
    Target System DATA_TOP Directory 4 [u02/oradata/oracoa/db0] : /u02/oradata/oraclone/db0
    Target System DATA_TOP Directory 5 [u02/oradata/oracoa/db2] : /u02/oradata/oraclone/db2
    Target System DATA_TOP Directory 6 [u02/oradata/oracoa/db] : /u02/oradata/oraclone/db
    Target System RDBMS ORACLE_HOME Directory [u01/oracle/product/11.2/db/tech_st/11.1.0] : /u01/oracle/product/11.2
    Do you want to preserve the Display [130.217.105.211:0.0] (y/n) : y
    Target System Port Pool [0-99] : 0
    Checking the port pool 0
    done: Port Pool 0 is free
    Report file located at /u01/oracle/product/11.2/appsutil/temp/portpool.lst
    Complete port information available at /u01/oracle/product/11.2/appsutil/temp/portpool.lst
    Backing up /u01/oracle/product/11.2/appsutil/oraclone_isg-fin-coa.xml to /u01/oracle/product/11.2/appsutil/oraclone_isg-fin-coa.xml0.bak
    Creating the new Database Context file from :
    /u01/oracle/product/11.2/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
    /u01/oracle/product/11.2/appsutil/oraclone_isg-fin-coa.xml
    Log file located at /u01/oracle/product/11.2/appsutil/clone/bin/CloneContext_0518131153.log
    Check Clone Context logfile /u01/oracle/product/11.2/appsutil/clone/bin/CloneContext_0518131153.log for details.
    Running Rapid Clone with command:
    perl /u01/oracle/product/11.2/appsutil/clone/bin/adclone.pl java=/u01/oracle/product/11.2/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/product/11.2/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/product/11.2/appsutil/oraclone_isg-fin-coa.xml showProgress contextValidated=true
    Running:
    perl /u01/oracle/product/11.2/appsutil/clone/bin/adclone.pl java=/u01/oracle/product/11.2/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/product/11.2/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/product/11.2/appsutil/oraclone_isg-fin-coa.xml showProgress contextValidated=true
    APPS Password :
    Beginning database tier Apply - Wed May 18 13:13:34 2011
    /u01/oracle/product/11.2/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u01/oracle/product/11.2/oui -classpath /u01/oracle/product/11.2/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/product/11.2/appsutil/clone/jlib/ojdbc5.jar:/u01/oracle/product/11.2/appsutil/clone/jlib/java:/u01/oracle/product/11.2/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oracle/product/11.2/appsutil/clone/jlib/oui/ewt3.jar:/u01/oracle/product/11.2/appsutil/clone/jlib/oui/share.jar:/u01/oracle/product/11.2/appsutil/clone/jlib/oui/srvm.jar:/u01/oracle/product/11.2/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u01/oracle/product/11.2/appsutil/oraclone_isg-fin-coa.xml -stage /u01/oracle/product/11.2/appsutil/clone -showProgress
    APPS Password : Log file located at /u01/oracle/product/11.2/appsutil/log/oraclone_isg-fin-coa/ApplyDBTier_05181313.log
    | 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    Wed May 18 13:15:44 2011
    ERROR: Failed to execute /u01/oracle/product/11.2/appsutil/clone/bin/adclone.pl
    Please check logfile.
    oracoa:/u01/oracle/product/11.2/appsutil/clone/bin>
    Looked at :- /u01/oracle/product/11.2/appsutil/log/oraclone_isg-fin-coa/ApplyDBTier_05181313.log
    Hightlights
    etConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : isg-fin-coa
    sDbDomain : its.waikato.ac.nz
    sDbPort : 1521
    sDbSid : oraclone
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@isg-fin-coa.its.waikato.ac.nz:1521:oraclone
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=isg-fin-coa.its.waikato.ac.nz)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=oraclone)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=isg-fin-coa.its.waikato.ac.nz)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=oraclone.its.waikato.ac.nz)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Connection could not be obtained; returning null
    More Errors
    The log information will be written to :- /u01/oracle/product/11.2/appsutil/log/oraclone_isg-fin-coa/adcrdb_oraclone.txt
    Creating the control file for oraclone_isg-fin-coa database ...
    SQL*Plus: Release 11.2.0.1.0 Production on Wed May 18 13:15:42 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'oraclone_LOCAL'
    CREATE CONTROLFILE REUSE SET DATABASE "oraclone"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter database open resetlogs
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter tablespace TEMP add tempfile '/u02/oradata/oraclone/db1/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ALTER DATABASE RENAME GLOBAL_NAME TO "oraclone.its.waikato.ac.nz"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Connected to an idle instance.
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'oraclone_LOCAL'
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    Etc ..
    /u01/oracle/product/11.2/appsutil/log/oraclone_isg-fin-coa/adcrdb_oraclone.txt
    oracoa:/u01/oracle/product/11.2/appsutil/clone/bin> cat /u01/oracle/product/11.2/appsutil/log/oraclone_isg-fin-coa/adcrdb_oraclone.txt
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'oraclone_LOCAL'
    CREATE CONTROLFILE REUSE SET DATABASE "oraclone"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter database open resetlogs
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter tablespace TEMP add tempfile '/u02/oradata/oraclone/db1/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ALTER DATABASE RENAME GLOBAL_NAME TO "oraclone.its.waikato.ac.nz"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Connected to an idle instance.
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'oraclone_LOCAL'
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'oraclone_LOCAL'
    CREATE CONTROLFILE REUSE SET DATABASE "oraclone"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter database open resetlogs
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter tablespace TEMP add tempfile '/u02/oradata/oraclone/db1/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ALTER DATABASE RENAME GLOBAL_NAME TO "oraclone.its.waikato.ac.nz"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    oracoa:/u01/oracle/product/11.2/appsutil/clone/bin>
    Wondering can seperate db in oracle home actually be cloned this way.
    Also has anyone come across this and fixed it ?
    Welcome any advice or help.
    Many thanks, Rob
    Edited by: Diesel on May 27, 2011 2:10 PM

    Hi,
    Thanks for that suggestion.
    The alert logs shows :-
    Wed May 18 13:15:43 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =44
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in client-side pfile /u01/oracle/product/11.2/dbs/initoraclone.ora on machine isg-fin-coa
    System parameters with non-default values:
    processes = 200
    sessions = 400
    shared_pool_size = 400M
    shared_pool_reserved_size= 40M
    nls_territory = "america"
    nls_sort = "binary"
    nls_date_format = "DD-MON-RR"
    nls_numeric_characters = ".,"
    nls_comp = "binary"
    nls_length_semantics = "BYTE"
    sga_target = 1G
    control_files = "/u02/oradata/oraclone/redo1/cntrl01.dbf"
    control_files = "/u02/oradata/oraclone/redo2/cntrl02.dbf"
    control_files = "/u02/oradata/oraclone/db1/cntrl03.dbf"
    db_block_checksum = "TRUE"
    db_block_size = 8192
    compatible = "11.2.0"
    log_archive_dest_1 = "LOCATION=/u02/oradata/oraclone/redo2/archive"
    log_archive_format = "%t_%s_%r.dbf"
    log_buffer = 10485760
    log_checkpoint_interval = 100000
    log_checkpoint_timeout = 1200
    db_files = 500
    log_checkpoints_to_alert = TRUE
    dml_locks = 10000
    undo_management = "AUTO"
    undo_tablespace = "undotbs"
    db_block_checking = "FALSE"
    sec_case_sensitive_logon = FALSE
    O7_DICTIONARY_ACCESSIBILITY= FALSE
    audit_sys_operations = TRUE
    local_listener = "oraclone_LOCAL"
    session_cached_cursors = 500
    utl_file_dir = "/usr/tmp"
    utl_file_dir = "/usr/tmp"
    utl_file_dir = "/u01/oracle/product/11.2/appsutil/outbound/oraclone_isg-fin-coa"
    utl_file_dir = "/usr/tmp"
    plsql_code_type = "INTERPRETED"
    plsql_optimize_level = 2
    job_queue_processes = 2
    systemtrig_enabled = TRUE
    cursor_sharing = "EXACT"
    parallel_min_servers = 0
    parallel_max_servers = 8
    db_name = "oraclone"
    open_cursors = 600
    ifile = "/u01/oracle/product/11.2/dbs/oraclone_isg-fin-coa_ifile.ora"
    os_authent_prefix = ""
    sortelimination_cost_ratio= 5
    sql92_security = TRUE
    btree_bitmap_plans = FALSE
    fastfull_scan_enabled = FALSE
    likewith_bind_as_equality= TRUE
    pga_aggregate_target = 1G
    workarea_size_policy = "AUTO"
    optimizerautostats_job = FALSE
    optimizer_secure_view_merging= FALSE
    aq_tm_processes = 1
    olap_page_pool_size = 4M
    diagnostic_dest = "/u01/oracle/product/11.2/admin/oraclone_isg-fin-coa"
    tracefiles_public = FALSE
    max_dump_file_size = "20480"
    USER (ospid: 578): terminating the instance due to error 119
    Instance terminated by USER, pid = 578
    Cheers, Rob

Maybe you are looking for

  • Tip: Placing Straight Quotes without turning off Smart Quotes

    I thought I was alone in this dilemma until I read a recent thread from someone wishing to easily place straight quotes into a document. Prior to this, the quickest way for me to place straight quotes into a document was to copy/paste them from a tex

  • JRockit JVM Crashed with the following dump

    I am using JRockit VM as the JVM for the Integrated Weblogic Server with JDeveloper. I got this dump, when I was debugging my application. Just thought of sharing it here. [JRockit] ERROR: The JVM has crashed. Writing crash information to /scratch/xx

  • GR amount/line item still showing in Open Item after run F.13

    Dear Exparts, We run the F.13 after MIGO and MIRO. The GR/IR line item should clear after run the F.13. But the scenario is that in FBL3N in GRIR G/L Balance, MIRO Line item showing clear but the GRN line item is still showing in Open item. How can i

  • Comment: Please buck the industry trends to more obscure and less efficient interface!

    This is more a comment than a question. For various reasons (usually asthetics, sometimes for small screens) one trend in user interface design is to hide everything. The other is to make asthetics win over usability. Please don't hide everything. Ma

  • Radio problem (full text)

    I got Nokia 6280. And I got a problem, I can't use Radio. When I clik on Radio nothing happens. When flight mode is on and then I clik on radio it says "unabale to use when flight mode is active". It seems that, menu>multimedia>radio option is to do