ADX Database Utility

Looking for solution.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : localhost
sDbDomain : localdomain
sDbPort : 1521
sDbSid : PROD
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@localhost.localdomain:1521:PROD
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=localhost.localdomain)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD)))
Failed upload of config file at /d01/oracle/PROD/db/tech_st/11.1.0/appsutil/conf_PROD.txt
Environment File
Database ORACLE_HOME environment file passes instantiated variables test:
File = /d01/oracle/PROD/db/tech_st/11.1.0/PROD_localhost.env

Hi;
Please answer Hussein Sawwan question in his post, to can make you more quick help. In addtion to Hussein Sawwan great post
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'We dont know how u can get this error but for upper error please check:
Rc-50004: Fatal: Error Occurred running adcfgclone.pl dbTier for RDBMS 64 bit [ID 336875.1]
FND_TNS_ALIASES is not populated, even after execution of Autoconfig [ID 783380.1]
11.5.10 rapidwiz installation on Linux Fails with Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection [ID 342493.1]
Error Occurred In Applydatabase Rc-50004 on adcfgclone on DB tier [ID 360343.1]
Adcfgclone.Pl dbTier Hangs At 70% [ID 391019.1]
Hope it helps
Regard
Helios

Similar Messages

  • ADX Database Utility failing on FS2 patch system

    Hello
    My fs_clone failed on FS2 system. on my init.ora has an entry, I am getting  Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection.
    service_names = PRO0DV,ebs_patch,
    local_listener=PRO0DV_LOCAL
    How do recreate listener.ora file on fs2 system.
    Thanks
    Prince

    Hello Hussein.
    This is the  error I am getting on my fs_clone
    Communication error with the OPMN server local port.
    Check the OPMN log files
    SEVERE : Apr 8, 2015 11:43:32 PM - ERROR - CLONE-20218   Cloning is not successful.
    SEVERE : Apr 8, 2015 11:43:32 PM - CAUSE - CLONE-20218   An internal operation failed.
    SEVERE : Apr 8, 2015 11:43:32 PM - ACTION - CLONE-20218   Provide the clone log and error file for investigation.
    oracle.as.clone.cloner.exception.ApplyCloneException:  Instance "Create & Start" step  failed.
            at oracle.as.clone.util.ASInstanceUtil.createStartInstance(ASInstanceUtil.java:203)
            at oracle.as.clone.cloner.component.ComponentApplyCloner.createStartInstance(ComponentApplyCloner.java:253)
            at oracle.as.clone.cloner.component.ComponentApplyCloner.doClone(ComponentApplyCloner.java:124)
            at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:61)
            at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:188)
            at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:69)
            at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
            at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
            at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:238)
            at oracle.as.clone.client.CloningClient.main(CloningClient.java:115)
    Caused by: java.lang.Exception: Unable to start opmnserver of the instance /apps2/property/product/devr12/fs2/FMW_Home/webtier/instances/EBS_web_PRO0DV_OHS1
            at oracle.as.clone.provisioning.implementations.ASInstanceProvImpl.startInstance(ASInstanceProvImpl.java:409)
            at oracle.as.clone.provisioning.implementations.ASInstanceProvImpl.createInstanceAndStart(ASInstanceProvImpl.java:158)
            at oracle.as.clone.util.ASInstanceUtil.createStartInstance(ASInstanceUtil.java:197)
            ... 9 more
    SEVERE :  Instance "Create & Start" step  failed.

  • I've got an iMac with database corruption found in the DB.. What happens if I rebuild the DB, an option the Database Utility is giving me? Will it wipe out my files or will they be protected?

    Hi all,
    I've been having issues with my iMac, particularly with the Office:Mac Suite.  I took it to the Genius Bar and they confirmed there was some corruption and decided the best thing would be to transfer all my files to the external hard drive I had brought with me.  After the transfer, they completely wiped all apps off the computer, then reloaded them.  They then reloaded my data from the external hard drive back to the computer hard drive. I reloaded the Office mac 2008 Suite when I got home.  Since then I have hooked up the external hard drive back to the computer (it's my time machine) and all is well, except, when I open any of the programs on the Office: Mac suite, I get the following message:
    There is a problem with the Office database
    Office might be unable to access the database or the database files might be damaged.  Without the database, you might beunable to use the Address Book, Scrapbook. and other features that store your personal information
    To rebuild the database, open Microsoft Office 2008/Office, and then open the Microsoft Databse Utility.  For more information, open the Database Utility application, and on the Help menu, click Database Utility Help.
    I did this and it gives me the option of rebuilding the DB but it gives no indication if there is danger of losing all my files.  Does anybody else know what will happen?  Is there another solution?  Should I simply reload the Office: Mac suite again?
    Help!
    Tami

    Copy your DB to the internal hard drive and then run the rebuilder.
    It might be the in the process of reinstalling Office the copy protection file was removed and thus you need to revalidate or something also.
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • Database utility SE14 purpose

    Hello folks,
    I have read a few forums on the functionality or SE14, but and unable to understand the exact occasion on when to use this TCode.
    Its been said that SE14 is automatically executed while moving the transports.
    We had an issue while moving the transport to production while one of the transparent table was locked in the database.
    Due to this there was an inconsistency between the SAP Application table and the Database table and the ALTER TABLE function failed.
    So, my question is does SE14 adjust the DB table by using table conversion.
    Regards,
    [V]

    Hello,
    Take a look of these three links. The last one explains the conversion process done:
    The Database Utility - BC - ABAP Dictionary - SAP Library
    Adjusting Database Structures - BC - ABAP Dictionary - SAP Library
    Conversion Process - BC - ABAP Dictionary - SAP Library
    Thanks and Regards,
    Mariano

  • Error apdapting database using database utility(transaction se11)

    Hello;
         We have a several z* tables of an aplicattion running for a year in a production enviroment. We have to change 4 data elements used in these tables.
       These elements were QUAN 4 decimals 0 and we have to pass to QUAN 4 decimals 2. I have change the data element in the devolopment enviroment by adjusting these tables with database utility(transaction se11) without problems. The values were transformed adding 2 decimals.
       I try to do the same in the quality eviroment(production copy) and appears an error adapting these fields. The tables have a lot of registers (more  than 100.000 ) the error DBIF_RSQL_SQL_ERROR; the table appears in the dicctionary but it is not created in the ORACLE.
         Do you know how can I finish this step?. It is possible these transformation QUAN 4 decimals 0 to QUAN 4 decimals 2?? In development I have not problem.
       Thanks in advanced.

    Hi Thomas;
    I have analysed the short dump; I and the "error analysis"; and debugged where it fails. ... and I can't find a solution...
    I paste the code where it fails...
             INSERT QCM8ZSD11 CLIENT SPECIFIED                      
                FROM TABLE QCM8ZSD11_TAB ACCEPTING DUPLICATE KEYS.  
    The temporal table generated is QCM8ZSD11 and the original the ZSD11.
    It fails in the 5 step.
       1 Initialization                                                                      
       2 Dropping of indexes, renaming of original table                                     
       3 No action                                                                               
    4 Activation of transparent table                                                     
       5 Conversion of data to new table, deletion of renamed table                          
       6 Creation of sec. indexes                                                                               
    Adjustment terminated in step 5                                                                               
    Initial table                         Table type                 Status                  
    ZSD11                                 Transparent                Renamed                 
    Renamed original table                                                                   
    QCMZSD11                              transparent                Existent                
    Tgt.table                                                                               
    ZSD11                                 Transparent                Renamed                                                                               
    Thanks in advanced.

  • Microsoft database utility

    hi there:
    so, at work, we just upgraded everyone to entourage 13, web services edition. ran into some problems, natch. basically, i have user whose identity got corrupted (if i try to import her identity, it looks like it'll work, but it only takes like 2 seconds and then there's nothing there).
    so, i want to run a repair on her original identity ("main identity"), but when i open the ms database utility, the only identity i can choose from is "main identity 1" (the new identity).
    i've tried right-clicking on the main identity's database and opening with the utility, but nothing happens. i've tried several renaming tricks, but i just cannot get this stupid database to open in the tool.
    there's probably a terminal command, but i haven't had any luck finding it.
    can anyone help me with this? i'm dyin' over here!
    thx!
    Message was edited by: shmengie

    You should be posting your issue in the Microsoft forums:
    http://www.officeformac.com/productforums/
    BTW, your post is a bit difficult to read thanks to the lack of capitalization between sentences. Some people won't read such a post at all. Some experienced folks get really turned off by what they feel are texting shortcuts used in a forum like this.

  • Convert the table using the Database Utility SE14

    Hi,
    I have changed the structure of table
    How can I convert the table using the Database Utility (SE14)??
    Regards,
    Vivek

    give your table name and press edit. on the next screen select activate and adjust data. This will adjust your data in the table according to new structure

  • What is the Database Utility

    What is the Database Utility and its use ?
    Give an example if possible ..... PLease

    hi,
    Database Utility is used for adjusting the database on changing the fields and field attributes ..
    Check out the below related threads
    database utility
    database utility
    SE14 transaction
    Inserting new fields in a Dictionary Table?
    Regards,
    Santosh

  • NAC Profiler database utility for upgrade

    I am trying to upgrade NAC Profiler Lite by following the following Cisco Doc
    http://www.cisco.com/en/US/customer/docs/security/nac/profiler/release_notes/310/310rn.html#wp102045
    In section Upgrading 2.1.8 Cisco NAC Profiler Server and Profiler Lite Standalone Systems to 3.1.0.
    I'm trying to run the database migration utility. Utility is showing in the home/beacon directory. When I run the command specified in the Doc to untar the utility package (tar xvfz DB-utility_218to31x.tgz) I receive the followinig errors:
    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error exit delayed from previous errors
    Any suggestions?

    The file name is DB-utility_219to31x.tgz and the MD5 on the download page is 335b7ca5215394ccc94c7b48ca242a3b.
    I'm not sure if it is changing during the download to my workstation or not. I had our IA Security guy look at it and he said there is no way for him to check the MD5 of the file on my workstation. Once I put it on the profiler, the MD5 is
    d9093b0525e904f94e19825a57589ac1

  • Move Database Utility Available

    The utility has finally been released.
    Short url: http://tinyurl.com/3439ex
    Long url:
    http://support.novell.com/docs/Readm...e_5006500.html
    Jared Jennings - Data Technique, Inc.
    Novell Support Forums Sysop
    My Blog and Wiki with Tips, Tricks, and Tutorials
    http://jaredjennings.org

    Thanks Jared!

  • Database utility

    Hi all,
    Here i have changed the lenght of field in the table pa9103.
    custom field only .
    i try to activate but it is giving some errors
    then i went to se14 and try to adjust the table but the system is saying error in step 2.
    can any body help me in this regards we are using ECC 6 .
    with regards
    anand

    Request: Convert Table PA9103 (ANANDK/22.10.07/17:14)
    Process: cisdev_1
    Enhancement category 3 possible, but include or subty. not yet classified
    Test activation of Table PA9103 successful
    Field PERF_GRADE: Type change
       ALTER TABLE is not possible
    Database object for table PA9103 is checked
    Database object for table PA9103 is consistent
    Convert Table PA9103 by unloading and reloading the data
    Type of conversion: T -> T
    Begin step PA9103-STEP1:
    Step is empty
    Step PA9103-STEP1 executed successfully
    Begin step PA9103-STEP2:
    sql:
    RENAME TABLE "PA9103" to "QCMPA9103"
    SQL0289N Unable to allocate new pages in table space "SYSCATSPACE".
    SQLSTATE=57011
    DDL time(___1): .......606 milliseconds
    The SQL statement was not executed
    Renaming of table PA9103 to QCMPA9103 failed
    Error in step PA9103-STEP2
    Total time for table PA9103: 000:00:01
    Request for PA9103 could not be executed
    Request: Convert Table PA9103 (ANANDK/22.10.07/17:15)
    Process: cisdev_1
    Enhancement category 3 possible, but include or subty. not yet classified
    Test activation of Table PA9103 successful
    A restart log already exists for table PA9103

  • RC-00118: Error occurred during creation of database

    adcrdb.sh started at Mon Nov 14 16:16:13 EAT 2011
    The environment settings are as follows ...
    ORACLE_HOME : /u04/d01/tech_st/11.2.0
    ORACLE_SID : JCLONE
    TWO_TASK :
    PATH : /usr/bin:/u04/d01/tech_st/11.2.0/bin:/usr/bin:/usr/sbin:/u0 4/d01/tech_st/11.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/u04/ d01/tech_st/11.2.0/appsutil/clone/bin/../jre/jre/bin:/usr/lib/qt-3.3/bin:/usr/ke rberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbi n:/usr/bin:/usr/X11R6/bin:/root/bin:.
    LD_LIBRARY_PATH : /u04/d01/tech_st/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib :/u04/d01/tech_st/11.2.0/ctx/lib
    Executable : /u04/d01/tech_st/11.2.0/bin/sqlplus
    The log information will be written to
    /u04/d01/tech_st/11.2.0/appsutil/log/JCLONE_oracle/adcrdb_JCLONE.txt
    Creating the control file for JCLONE_oracle database ...
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:13 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
    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 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    Database mounted.
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-01119: error in creating database file
    '/u04/d01/tech_st/11.2.0/dbs/MISSING00015'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4754
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
    ERROR at line 1:
    ORA-01109: database not open
    Error Running create/replace library with adupdlib.sql
    ORA-01109: database not open
    PL/SQL procedure successfully completed.
    File created.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    exit_code=0
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:32 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected.
    ORACLE instance shut down.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    .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 : oracle
    sDbDomain : jtl.co.ke
    sDbPort : 1524
    sDbSid : JCLONE
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oracle.jtl.co.ke:1524:JCLONE
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE)))
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE.jtl.co.ke)))
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld 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 oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:595)
    Current database Version is 11.2.0.2
    Apps Version is 11.5.10.2
    RUP version is 6
    Forms Patchset version is 19
    Please advise how to resolve this error ?
    Regards
    Mohammed.

    Please refer to these docs/links.
    Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1]
    Adcfgclone.pl DBTier is failing with error for dbms_backup_restore.zeroDbid(0) [ID 361157.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01503+AND+ORA-01159+AND+ORA-01110&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Error while running adcfgclone on database tier please help me

    Hello
    I am doing cloning through cold backup and i face some errors..here is my logfile.....please suggest me some solution...
    Executing script in InstantiateFile:
    Attempting to create a back up of the Context file
    Created back up file of name :
    /home/clone/db/db/tech_st/10.2.0/appsutil/out/CLONE_zishan/12071920/CLONE_zishan.xml
    ===========================================================================
    Starting synchronization of file system Context file and its templates with those in the database
    Database connection : Failed
    OAM Context editing support feature: Unverified
    OAM Customization support feature : Unverified
    File system template : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    Checking for customizations to Context template
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations.
    Looking for custom template at : /home/clone/db/db/tech_st/10.2.0/appsutil/template/custom/adxdbctx.tmp
    Custom template : Not available
    Customizations found : None
    File system Context file :/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
    Checking the Context file for possible updates from the Database
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
    ===========================================================================
    Starting Updates of Context file Tue Dec 07 19:20:41 GMT+05:30 2010
    found context version : 120.27
    available update version : 120.27
    No updates to apply
    Ending Updates of Context file
    ===========================================================================
    ===========================================================================
    Starting Context Value Management System at Tue Dec 07 19:20:41 GMT+05:30 2010
    Using version 120.8
    Options:
    Force : no
    Contextfile : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
    Templatefile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    ValueUpdateFile : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcvmdb.xml
    Verifying value management system requirements:
    ContextFile : VALID
    Template File : VALID
    ValueUpdateFile : VALID
    Parsing the ValueUpdateFile
    [ s_contextfile ]
    Action : seed
    Change reason : Setting the location to what has been specified by user
    New value : /home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml
    ===========================================================================
    [ Config tool : /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl ]
    Command : /home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/bin/adgentns.pl PASSWORD contextfile=/home/clone/db/db/tech_st/10.2.0/appsutil/CLONE_zishan.xml logdir=/home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan
    Action : execute
    SCRIPT RETURNED:
    Generate Tns Names
         Classpath : /home/clone/db/db/tech_st/10.2.0/jdbc/lib/ojdbc14.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java/xmlparserv2.jar:/home/clone/db/db/tech_st/10.2.0/appsutil/java:/home/clone/db/db/tech_st/10.2.0/jlib/netcfg.jar:/home/clone/db/db/tech_st/10.2.0/jlib/ldapjclnt10.jar
    Loading ORACLE_HOME environment from /home/clone/db/db/tech_st/10.2.0
    Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/NetServiceHandler.log
    Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
    Instantiating templates
    tnsnames.ora instantiated
    listener.ora instantiated
    adgentns.pl exiting with status 25600
    ERRORCODE = 25600 ERRORCODE_END
    .end std out.
    .end err out.
    Result : FAILED
    ===========================================================================
    Ending Context Value Management System.
    ===========================================================================
    ===========================================================================
    No uploading of Context file and its templates to database. Database conection failed
    ===========================================================================
    Finished running CVM.....
    Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
    AutoConfig Profile Phase
    Running Instantiation Drivers for AppsUtil
    Looking for the directory : /home/clone/db/db/tech_st/10.2.0/nls/data/9idata
    Directory exists
    Looking for file : /home/clone/db/db/tech_st/10.2.0/nls/data/old/cr9idata.pl
    File exists
    Validation complete
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Setup Phase
    Running Setup Process 2 of 3 for AppsUtil
    Executing script in InstantiateFile:
    /home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
    script returned:
    Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
    OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
    The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Setup Phase
    Running Setup Process 3 of 3 for AppsUtil
    Executing script in InstantiateFile:
    /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
    script returned:
    afmkinit.sh started at Tue Dec 7 19:21:09 IST 2010
    The environment settings are as follows ...
    ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
    ORACLE_SID : CLONE
    TWO_TASK :
    PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
    Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
    afmkinit.sh exiting with status 0
    .end std out.
    .end err out.
    Skipping Profile Phase
    Skipping Apply Phase
    Starting DB listener with command:
    /home/clone/db/db/tech_st/10.2.0/appsutil/scripts/CLONE_zishan/addlnctl.sh start CLONE
    You are running addlnctl.sh version 120.1
    Logfile: /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/addlnctl.txt
    Starting listener process CLONE ...
    addlnctl.sh: exiting with status 0
    .end std out.
    .end err out.
    checking DB Connection...
    DEBUG: checkDBConnection in()
    ADX Database Utility
    getConnection() -->
    sDbHost : zishan
    sDbDomain : mahesh.dba
    sDbPort : 1541
    sDbSid : CLONE
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
    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
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    DEBUG: checkDBConnection out()
    Verifying correctness of adcrdbclone.sql
    Clustered Database: false
    Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
    instantiate file:
    source : /home/clone/db/db/tech_st/10.2.0/appsutil/template/adcrdbclone.sql
    dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
    Instantiating /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak to /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
    instantiate file:
    source : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql.bak
    dest : /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/adcrdbclone.sql
    Updating:s_db_rollback_segs:(_syssmu1$, syssmu2$, syssmu3$, syssmu4$, syssmu5$, syssmu6$, syssmu7$, syssmu8$, syssmu9$, syssmu10$, syssmu11$, syssmu12$, syssmu13$, syssmu14$, syssmu15$):
    Updating:s_undo_tablespace:APPS_UNDOTS1:
    Updating:s_database:db102:
    Updating:isspfileexists:false:
    Updating:s_dbfiles:512:
    Executing Configuration Phase...
    Deleting files of type INSTALL
    Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/sqlnet.ora
    Processing driver file: /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
    Checking for file: /home/clone/db/db/tech_st/10.2.0/dbs/initCLONE.ora
    File exists
    File deleted
    Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/listener.ora
    File exists
    File deleted
    Checking for file: /home/clone/db/db/tech_st/10.2.0/network/admin/CLONE_zishan/tnsnames.ora
    File exists
    File deleted
    Processing DriverFile = /home/clone/db/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
    AutoConfig Profile Phase
    Running Instantiation Drivers for AppsUtil
    AutoConfig Setup Phase
    Running Setup Process 2 of 3 for AppsUtil
    Executing script in InstantiateFile:
    /home/clone/db/db/tech_st/10.2.0/perl/bin/perl -I /home/clone/db/db/tech_st/10.2.0/perl/lib/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /home/clone/db/db/tech_st/10.2.0/appsutil/perl /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/txkConfigDbOcm.pl
    script returned:
    Checking if OCM is already configured in: /home/clone/db/db/tech_st/10.2.0
    OCM is not yet configured in: /home/clone/db/db/tech_st/10.2.0
    The values for MetaLink ID, CSI and Country Code are not all specified. OCM cannot be configured.
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Setup Phase
    Running Setup Process 3 of 3 for AppsUtil
    Executing script in InstantiateFile:
    /home/clone/db/db/tech_st/10.2.0/appsutil/install/CLONE_zishan/afmkinit.sh
    script returned:
    afmkinit.sh started at Tue Dec 7 19:21:26 IST 2010
    The environment settings are as follows ...
    ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
    ORACLE_SID : CLONE
    TWO_TASK :
    PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
    Library Path : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
    afmkinit.sh exiting with status 0
    .end std out.
    .end err out.
    Skipping Profile Phase
    Skipping Apply Phase
    Executing CreateDB...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : zishan
    sDbDomain : mahesh.dba
    sDbPort : 1541
    sDbSid : CLONE
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
    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
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    adcrdb.sh started at Tue Dec 7 19:21:27 IST 2010
    The environment settings are as follows ...
    ORACLE_HOME : /home/clone/db/db/tech_st/10.2.0
    ORACLE_SID : CLONE
    TWO_TASK :
    PATH : /home/clone/db/db/tech_st/10.2.0/perl/bin:/home/clone/db/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/home/clone/db/db/tech_st/10.2.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/home/clone/db/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle1/bin
    LD_LIBRARY_PATH : /home/clone/db/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/home/clone/db/db/tech_st/10.2.0/lib:/usr/dt/lib:/home/clone/db/db/tech_st/10.2.0/ctx/lib
    Executable : /home/clone/db/db/tech_st/10.2.0/bin/sqlplus
    The log information will be written to
         /home/clone/db/db/tech_st/10.2.0/appsutil/log/CLONE_zishan/adcrdb_CLONE.txt
    Creating the control file for CLONE_zishan database ...
    SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:27 2010
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          1264892 bytes
    Variable Size          427819780 bytes
    Database Buffers     633339904 bytes
    Redo Buffers          11317248 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
    ORA-27086: unable to lock file - already in use
    Linux Error: 11: Resource temporarily unavailable
    Additional information: 8
    Additional information: 30389
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
    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 1073741824 bytes
    Fixed Size          1264892 bytes
    Variable Size          427819780 bytes
    Database Buffers     633339904 bytes
    Redo Buffers          11317248 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-00210: cannot open the specified control file
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          1264892 bytes
    Variable Size          427819780 bytes
    Database Buffers     633339904 bytes
    Redo Buffers          11317248 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
    ORA-27086: unable to lock file - already in use
    Linux Error: 11: Resource temporarily unavailable
    Additional information: 8
    Additional information: 30389
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.mahesh.dba"
    ERROR at line 1:
    ORA-01109: database not open
    Error Running create/replace library with adupdlib.sql
    ORA-01109: database not open
    PL/SQL procedure successfully completed.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    exit_code=0
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 7 19:21:33 2010
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected.
    ORACLE instance shut down.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    .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 : zishan
    sDbDomain : mahesh.dba
    sDbPort : 1541
    sDbSid : CLONE
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@zishan.mahesh.dba:1541:CLONE
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux 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=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
    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
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zishan.mahesh.dba)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=CLONE.mahesh.dba)))
    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

    Hi;
    What is EBS and Db,OS?
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/home/clone/db/db/apps_st/data/cntrl01.dbf'
    ORA-27086: unable to lock file - already in use
    Linux Error: 11: Resource temporarily unavailable
    Additional information: 8
    Additional information: 30389home/clone/db/db/apps_st/data/cntrl01.dbf' This file exsits? If yes you have r/w permission?
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP1 add tempfile '/home/clone/db/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/home/clone/db/db/apps_st/data/temp02.dbf' REUSE
    *Did you run preclone on source before copy file to target?
    Regard
    Helios

  • Error while running adpreclone on Database Tier

    Hii..
    im getting following error while running adpreclone on database Tier,
    This is Error Message coming,
    D:\APPSORA\proddb\10.2.0\appsutil\scripts\PROD_diwaf-prd-erpdb>perl adpreclone.pl dbTier
    Running Rapid Clone with command...
    perl D:\APPSORA\proddb\10.2.0\appsutil\bin\adclone.pl java=D:\APPSORA\proddb\10.2.0\jre\1.4.2 mode=stage stage=D:\APPSORA\proddb\10.2.0\appsutil\cl
    one component=dbTier method=CUSTOM dbctx=D:\APPSORA\proddb\10.2.0\appsutil\PROD_diwaf-prd-erpdb.xml  showProgress
    Beginning database tier Stage - Tue Oct  4 09:54:38 2011
    APPS Password : amapps2011
    Log file located at D:\APPSORA\proddb\10.2.0\appsutil\log\PROD_diwaf-prd-erpdb\StageDBTier_10040954.log
    -      0% completed
    ERROR while running Stage...
    ERROR while running perl D:\APPSORA\proddb\10.2.0\appsutil\bin\adclone.pl java=D:\APPSORA\proddb\10.2.0\jre\1.4.2 mode=stage stage=D:\APPSORA\proddb\10.2.0
    *\appsutil\clone component=dbTier method=CUSTOM dbctx=D:\APPSORA\proddb\10.2.0\appsutil\PROD_diwaf-prd-erpdb.xml showProgress ... Please check the log for*
    more details..
    I checked logfiles also...but there is no information,
    t*he folowing is the logfiles contents*
    Started StageDBTier at Tue Oct 04 09:05:11 GMT+03:00 2011
    Version:
    StageDBTier.java        :       115.27
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost    : diwaf-prd-erpdb
    sDbDomain  : af.gov.local
    sDbPort    : 1521
    sDbSid     : PROD
    sDbUser    : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@diwaf-prd-erpdb.af.gov.local:1521:PROD
    Connection obtained
    -------------------ADX Database Utility Finished---------------
    D:\APPSORA\proddb\10.2.0\appsutil\scripts\PROD_diwaf-prd-erpdb>
    My Apps version is 11.5.10.2
    my DB version is 10.2.0.4
    IM using windows server 2003 R2 entrepriose edition service pack 2.
    There is no error running adpreclone on AppsTier.
    Can anyone help me in solving the issue.
    waiitng for your replies
    Thanks in advance.

    As mentioned in the document https://kr.forums.oracle.com/forums/thread.jspa?threadID=295697&messageID=2252395
    I checked my echo $PATH and it gives the follwing o/p
    D:\APPSORA\proddb\10.2.0>echo %PATH%
    C:\Perl\bin\;D:\APPSORA\proddb\10.2.0\bin;D:\APPSORA\proddb\10.2.0\jdk\bin;D:\APPSORA\proddb\10.2.0\jdk\bin;C:\orant\bin;D:\APPSORA\prodora\8.0.6\bin;C:\Pe
    rl\site\bin;C:\Perl\bin;B:\PROGRA~1\MKSTOO~1\bin;B:\PROGRA~1\MKSTOO~1\bin\x11;B:\PROGRA~1\MKSTOO~1\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32
    *\wbem;c:\program files\hp\hp bto software\bin;c:\program files\hp\hp bto software\bin\opc*
    I checked the zip version as follows
    which zip
    D:\APPSORA\proddb\10.2.0\bin/zip.exe
    zip -v
    Copyright (c) 1990-2006 Info-ZIP - Type 'zip "-L"' for software license.
    This is Zip 2.32 (June 19th 2006), by Info-ZIP.
    D:\APPSORA\proddb\10.2.0>which java
    D:\APPSORA\proddb\10.2.0\jdk\bin/java.exe
    D:\APPSORA\proddb\10.2.0>java -version
    java version "1.4.2_14"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
    Java HotSpot(TM) Client VM (build 1.4.2_14-b05, mixed mode)
    D:\APPSORA\proddb\10.2.0>which perl
    C:\Perl\bin\perl.exe
    D:\APPSORA\proddb\10.2.0>perl -version
    This is perl, v5.10.0 built for MSWin32-x86-multi-thread
    *(with 5 registered patches, see perl -V for more detail)*
    Is there any problems with o/p obtained.
    Plz suggest
    Thanks..

  • RC-00118: Error occurred during creation of database Raised by oracle.apps.

    Hi Experts,
    Please note i am doing the clonning from production to test server.
    Production Server -
    1. Run the adpreclone.pl on the apps & db tier.
    2. run the autoconfig on the apps and db tier.
    3. shut down the production instance.
    4. Moved the files and started the clonning process on the db tier i am getting the below issue.
    My current E-Business Suit Version is R12.0.4 Database Version is 10.2.0.3. Operating system is SUN SPARC 64 BIT SUN SOLARIS 10.
    Executing CreateDB...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : proddb
    sDbDomain : clientdomain
    sDbPort : 1530
    sDbSid : TEST
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 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=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 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=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    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
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    adcrdb.sh started at Wed Mar 21 18:09:54 WAT 2012
    The environment settings are as follows ...
    ORACLE_HOME : /erptestdata2/u01/d01/tech_st/10.2.0
    ORACLE_SID : TEST
    TWO_TASK :
    PATH : /erptestdata2/u01/d01/tech_st/10.2.0/perl/bin:/erptestdata2/u01/d01/tech_st/10.2.0/bin:/usr/ccs/bin:/usr/sbin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/sbin:/usr/bin:/opt/EMCpower/bin:/etc/emc/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,SPARC-Enterprise/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin
    LD_LIBRARY_PATH : /erptestdata2/u01/d01/tech_st/10.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/erptestdata2/u01/d01/tech_st/10.2.0/ctx/lib:/erptestdata2/u01/d01/tech_st/10.2.0/lib32
    Executable : /erptestdata2/u01/d01/tech_st/10.2.0/bin/sqlplus
    The log information will be written to
         /erptestdata2/u01/d01/tech_st/10.2.0/appsutil/log/TEST_proddb/adcrdb_TEST.txt
    Creating the control file for TEST_proddb database ...
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:09:54 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          2035496 bytes
    Variable Size          432017624 bytes
    Database Buffers     624951296 bytes
    Redo Buffers          14737408 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "TEST"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01167: two files are the same file/group number or the same file
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
    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 1073741824 bytes
    Fixed Size          2035496 bytes
    Variable Size          432017624 bytes
    Database Buffers     624951296 bytes
    Redo Buffers          14737408 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-00210: cannot open the specified control file
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          2035496 bytes
    Variable Size          432017624 bytes
    Database Buffers     624951296 bytes
    Redo Buffers          14737408 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "TEST"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01167: two files are the same file/group number or the same file
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
    ERROR at line 1:
    ORA-01109: database not open
    Error Running create/replace library with adupdlib.sql
    ORA-01109: database not open
    PL/SQL procedure successfully completed.
    File created.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    exit_code=0
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:10:16 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected.
    ORACLE instance shut down.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    .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 : proddb
    sDbDomain : clientdomain
    sDbPort : 1530
    sDbSid : TEST
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 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=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 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=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    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
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    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
    Please advise ASAP.
    Regards
    Mohammed.

    Nikki,
    Check alert<SID>.log file for more details about the error.
    It looks like that the source database was not cleanly shutdown before copying the files to the target node. Please do the following and check then:
    SQL> connect / as sysdba
    SQL> startup mount;
    SQL> recover database using backup controlfile until cancel;
    -- type CANCEL
    SQL> alter database open resetlogs; If the above does not help, then shutdown the source database normally (make sure it is down), re-copy the files and start the cloning process again.

Maybe you are looking for