RC-50004: Fatal: Error occurred in ApplyDatabase (on installing EBS R12)

Hi,
I need help. When I was re-installing R12 using Windows XP Pro on my personal desktop, I got the following errors:
RC-50004: Fatal: Error occurred in ApplyDatabase
"Cannot execute configure of database using RapidClone"
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process.
Running Database Install Driver for VIS instance
instantiate file:
source : C:\StageR12\startCD\Disk1\rapidwiz\etc\adxdbctx.tmp
dest : C:\oracle\VIS\db\tech_st\11.1.0\appsutil\VIS_bingdell.xml
instantiate file:
source : C:\oracle\VIS\db\tech_st\11.1.0\appsutil\VIS_bingdell.xml
dest : C:\oracle\VIS\db\tech_st\11.1.0\appsutil\VIS_bingdell.xml
Please let me know what to do. BTW, I am not a DBA.
Also I was able to install R12 before to the same desktop, now I am having problems
re-installing it. I have also cleaned all the traces of the previous install before this re-install.
Thanks in advance,
Amorsolo

Hi,
RC-50004: Fatal: Error occurred in ApplyDatabase
"Cannot execute configure of database using RapidClone"
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process.This is a generic error, so please check the installation log file for details.
Also I was able to install R12 before to the same desktop, now I am having problems
re-installing it. I have also cleaned all the traces of the previous install before this re-install.Did you follow the steps in (Note: 567507.1 -How to Remove an Oracle E-Business Suite Release 12.x Windows Environment) to clean your previous installation?
Regards,
Hussein

Similar Messages

  • RC-50004: Fatal: Error occurred in ApplyAppsTechStack: While Installatling EBS R12 on window server 2003 SP2

    Hi Mr.Hussain,
    Can you please guide me how to solve this error,
    i am trying to install oracle EBS  R12.1.1 on windows server 2003, i am following your document, installation of EBS R12.1 in windows server 2003 SP2
    i did stage everything going right, even i did md5sums for the extracted file of EBS R12 folder.
    i stated installation, even installation done perfectly at the end of installation 2 Command Prompt windows appear and stopped, i try to open log file from oracle installation folder, i got this message at the end of log file
        3% completed       RC-50004: Fatal: Error occurred in ApplyAppsTechStack:
    RC-50013: Fatal: Failed to instantiate driver c:\oracle\PROD\apps\tech_st\10.1.3\appsutil\driver\regclone.drv
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>if 1 == 0 goto :REG_OK
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>echo Cannot execute registration of Applications Techstack
    Cannot execute registration of Applications Techstack
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>if "" == "TRUE" goto :INSIAS_OK
        RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running APPL_TOP Install Driver for PROD instance
    can you please guide me how to solve this error,

    This is a generic error so you would need to check the installation log files for details about the error.
    Please see if (Rapidwiz 12.1.1 Fails To Execute Ouicli.Pl During Apps 10.1.3 Techstack Autoconfig (Doc ID 1328464.1)) is applicable.
    Thanks,
    Hussein

  • RC-50004: Fatal: Error occurred in ApplyDatabase:Control file creation fail

    Hi,
    During the clone of R12.1 instance, while running the post clone on the DB tier, i am getting the following error
    RC-50004: Fatal: Error occurred in ApplyDatabase:Control file creation failed.
    when i looked into the log file, i can find this
    Creating the control file for hr12at1_jsrc-cn6 database ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Tue Nov 17 04:41:58 2009
    Copyright (c) 1982, 2008, 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 1318172 bytes
    Variable Size 427819748 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13049856 bytes
    Control file created.
    alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 2 was not restored from a sufficiently old backup
    ORA-01110: data file 2:
    '/u01/app/oracle11/db/apps_st/u32/oradata/R12HRM/tx_data11.dbf'
    Please help
    thanks a lot
    Sasikala

    Hi,
    Sorry, my mistake, I did not pay attention to the cloning part.
    For this error, looks like the database was not cleanly shutdown before copying the files or that preclone was not run successfully. You will have to run preclone again, and shutdown the database normally, then copy the file again.
    Regards,
    Hussein

  • RC-50004: Fatal: Error occurred in ApplyDatabase: Control file creation fai

    Hi guys,
    I am cloning and EBS 12.1.3 from one server to another, and when Configuring the target system database server with ''perl adcfgclone.pl dbTier'', I am getting the following error:
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    MOS is saying that it is due to wrong permissions on the /var/tmp/.oracle directory and we should give it the following permissions:
    chmod 777 /var/tmp/.oracle
    After giving those permissions and rebooting the server , and running the perl adcfgclone.pl dbTier script, I am still having the same problem:
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    This is the contents of the ApplyDBTier log file (since the file exceed 30.000 characters, i am going to post the parts where the errors occur:
    [oratest@DLAERPSRV01 ERP_DLAERPSRV01]$ cat ApplyDBTier_05021530.log
    Started ApplyDBTier at Thu May 02 15:30:44 WAT 2013
    Version:
    ApplyDBTier.java : 120.6.12010000.3
    ApplyDBTier (prog) -1 true true true...
    # Calling ApplyDBTechStack...
    Executing runInstallDriver...
    Started unzipping files...
    Completed runInstallDriver.
    Executing home registration for s_db_oh...
    instantiate file:
    source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adouidb.pl
    dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
    backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl to /u02/oratest/db/tech_st/11.1.0/appsutil/out/ouicli20.pl
    setting permissions: 700
    setting ownership: oratest:dba
    instantiate file:
    source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/config_ux.tmp
    dest : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c
    backup : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c to /u02/oratest/db/tech_st/11.1.0/appsutil/out/config21.c
    setting permissions: 700
    setting ownership: oratest:dba
    instantiate file:
    source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adlnkoh.sh
    dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
    backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh to /u02/oratest/db/tech_st/11.1.0/appsutil/out/adlnkoh20.sh
    setting permissions: 700
    setting ownership: oratest:dba
    Executing script in InstantiateFile:
    /u02/oratest/db/tech_st/11.1.0/perl/bin/perl -I /u02/oratest/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/appsutil/perl /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
    script returned:
    Beginning OUI CLI cloning for s_db_ohThu May 2 15:30:46 2013
    /u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin/java -classpath /u02/oratest/db/tech_st/11.1.0/appsutil/java:/u02/oratest/db/tech_st/11.1.0/oui/jlib/OraInstaller.jar:/u02/oratest/db/tech_st/11.1.0/appsutil/java/xmlparserv2.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml -nolink -oaVar s_db_oh -homestub db -log /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/ohclone.log
    Running OUI CLI home cloning from within OracleHomeCloner:
    /u02/oratest/db/tech_st/11.1.0/oui/bin/runInstaller -clone -silent -force -nolink -waitForCompletion -invPtrLoc /u02/oratest/db/tech_st/11.1.0/admin/oui/ERP_DLAERPSRV01/oraInst.loc ORACLE_HOME=/u02/oratest/db/tech_st/11.1.0 ORACLE_BASE=/u02/oratest/db/tech_st/11.1.0 ORACLE_HOME_NAME=ERP_DB__u02_oratest_db_tech_st_11_1_0 -J-Doracle.installer.noLink=true
    Finished OUI CLI cloning for s_db_oh with return code: 0Thu May 2 15:30:56 2013
    Executing script in InstantiateFile:
    /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
    script returned:
    adlnkoh.sh started at Thu May 2 15:30:56 WAT 2013
    Log file located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
    Using make file "ins_emagent.mk" for linking SYSMAN utilities...
    Error while running adlnkoh.sh.
    return code = .16
    Please check logfile located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
    .end std out.
    .end err out.
    Executing Technology Stack Configuration...
    Executing runAutoConfig...
    Deleting files of type INSTALL
    Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/sqlnet.ora
    Processing driver file: /u02/oratest/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
    Checking for file: /u02/oratest/db/tech_st/11.1.0/appsutil/install/ERP_DLAERPSRV01/txkConfigDbOcm.pl
    File exists
    File deleted
    Checking for file: /u02/oratest/db/tech_st/11.1.0/dbs/initERP.ora
    File exists
    File deleted
    Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
    File exists
    File deleted
    Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/tnsnames.ora
    File exists
    File deleted
    Testing for RAC specific parameters before running autoconfig
    No RAC specific parameters were found, running with CVM
    Starting CVM in INSTE8_SETUP mode
    Using Context file : /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml
    Attempting to create a back up of the Context file
    Created back up file of name :
    /u02/oratest/db/tech_st/11.1.0/appsutil/out/ERP_DLAERPSRV01/05021531/ERP_DLAERPSRV01.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 : /u02/oratest/db/tech_st/11.1.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 : /u02/oratest/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
    Custom template : Not Available
    Customizations found : None
    File system Context file :/u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.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 Thu May 02 15:31:44 WAT 2013
    found context version : 120.34.12010000.14
    available update version : 120.34.12010000.14
    No updates to apply
    Starting DB listener with command:
    /u02/oratest/db/tech_st/11.1.0/appsutil/scripts/ERP_DLAERPSRV01/addlnctl.sh start ERP
    Logfile: /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt
    You are running addlnctl.sh version 120.1.12010000.4
    Starting listener process ERP ...
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 02-MAY-2013 15:32:23
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Starting /u02/oratest/db/tech_st/11.1.0/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    System parameter file is /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
    Log messages written to /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
    STATUS of the LISTENER
    Alias ERP
    Version TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    Start Date 02-MAY-2013 15:32:23
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
    Listener Log File /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
    Services Summary...
    Service "ERP" has 1 instance(s).
    Instance "ERP", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    addlnctl.sh: exiting with status 0
    addlnctl.sh: check the logfile /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt for more information ...
    .end std out.
    .end err out.
    checking DB Connection...
    DEBUG: checkDBConnection in()
    ADX Database Utility
    getConnection() -->
    sDbHost : DLAERPSRV01
    sDbDomain : camairco.local
    sDbPort : 1523
    sDbSid : ERP
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
    Exception occurred: java.sql.SQLRecoverableException: 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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
    Exception occurred: java.sql.SQLRecoverableException: 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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
    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
    -------------------ADX Database Utility Finished---------------
    DEBUG: checkDBConnection 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 : DLAERPSRV01
    sDbDomain : camairco.local
    sDbPort : 1523
    sDbSid : ERP
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
    Exception occurred: java.sql.SQLRecoverableException: 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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
    Exception occurred: java.sql.SQLRecoverableException: 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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
    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
    -------------------ADX Database Utility Finished---------------
    adcrdb.sh started at Thu May 2 15:32:40 WAT 2013
    The environment settings are as follows ...
    ORACLE_HOME : /u02/oratest/db/tech_st/11.1.0
    ORACLE_SID : ERP
    TWO_TASK :
    PATH : /u02/oratest/db/tech_st/11.1.0/perl/bin:/u02/oratest/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
    LD_LIBRARY_PATH : /u02/oratest/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u02/oratest/db/tech_st/11.1.0/lib:/usr/dt/lib:/u02/oratest/db/tech_st/11.1.0/ctx/lib
    Executable : /u02/oratest/db/tech_st/11.1.0/bin/sqlplus
    The log information will be written to
    /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/adcrdb_ERP.txt
    Creating the control file for ERP_DLAERPSRV01 database ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:40 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-27154: post/wait create failed
    ORA-27300: OS system dependent operation:semget failed with status: 22
    ORA-27301: OS failure message: Invalid argument
    ORA-27302: failure occurred at: sskgpbitsper
    CREATE CONTROLFILE REUSE SET DATABASE "ERP"
    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/oratest/db/apps_st/data/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 "ERP.camairco.local"
    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-27154: post/wait create failed
    ORA-27300: OS system dependent operation:semget failed with status: 22
    ORA-27301: OS failure message: Invalid argument
    ORA-27302: failure occurred at: sskgpbitsper
    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-27154: post/wait create failed
    ORA-27300: OS system dependent operation:semget failed with status: 22
    ORA-27301: OS failure message: Invalid argument
    ORA-27302: failure occurred at: sskgpbitsper
    CREATE CONTROLFILE REUSE SET DATABASE "ERP"
    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/oratest/db/apps_st/data/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 "ERP.camairco.local"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    declare lib_ver varchar2(3);
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ERROR:
    ORA-01012: not logged on
    Process ID: 0
    Session ID: 0 Serial number: 0
    Disconnected
    exit_code=1
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:42 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Disconnected
    .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 : DLAERPSRV01
    sDbDomain : camairco.local
    sDbPort : 1523
    sDbSid : ERP
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
    Exception occurred: java.sql.SQLRecoverableException: 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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
    Exception occurred: java.sql.SQLRecoverableException: 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=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
    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
    -------------------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(ApplyDatabase.java:635)
    at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
    at java.lang.Thread.run(Unknown Source)
    [oratest@DLAERPSRV01 ERP_DLAERPSRV01]$
    Please guys, how can I solve this problem?

    @Hussain Sawwan
    Hi Hussain,
    After successfully configured the DbTier and AppsTier with their respective post clone scripts the appstier was automatically started at the end.
    But now, I can't seem to connect with my IE 9 and Firefow browsers.
    Link: http://dlaerpsrv01.camairco.local:8002/OA_HTML/
    Contents of the portpool.lst:
    ***** List of ports allocated based on port pool 2 *****
    Database Port : 1523 (EXT_PORT)
    RPC Port : 1628
    Web SSL Port : 4445
    ONS Local Port : 6102
    ONS Remote Port : 6202
    ONS Request Port : 6502
    Web Listener Port : 8002
    Active Web Port : 8002 (DUP_PORT)
    Forms Port : 9002
    Metrics Server Data Port : 9102
    Metrics Server Request Port : 9202
    JTF Fulfillment Server Port : 9302
    MSCA Server Port : 10212-10217
    MCSA Telnet Server Port : 10212,10214,10216 (DUP_PORT)
    MSCA Dispatcher Port : 10806
    Java Object Cache Port : 12347
    OC4J JMS Port Range for Oacore : 23010-23014
    OC4J JMS Port Range for Forms : 23510-23514
    OC4J JMS Port Range for Home : 24010-24014
    OC4J JMS Port Range for Oafm : 24510-24514
    OC4J JMS Port Range for Forms-c4ws : 26510-26514
    OC4J AJP Port Range for Oacore : 21510-21514
    OC4J AJP Port Range for Forms : 22010-22014
    OC4J AJP Port Range for Home : 22510-22514
    OC4J AJP Port Range for Oafm : 25010-25014
    OC4J AJP Port Range for Forms-c4ws : 26010-26014
    OC4J RMI Port Range for Oacore : 20010-20014
    OC4J RMI Port Range for Forms : 20510-20514
    OC4J RMI Port Range for Home : 21010-21014
    OC4J RMI Port Range for Oafm : 25510-25514
    OC4J RMI Port Range for Forms-c4ws : 27510-27514
    [root@DLAERPSRV01 appltest]#
    Entry in the /etc/hosts in my Win 7 Laptop:
    192.168.0.245 dlaerpsrv01.camairco.local dlaerpsrv01
    What could be the cause of this problem? It is unfortunate to reach at this point and not being able to connect.

  • RC-50004: Fatal: Error occurred in ApplyDatabase:  Control file creation failed  Cannot execute configure of database using RapidClone

    dear associates,
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

    dear associates,
    can u please assist me how can over come this error or problem.
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

  • RC-50004: Fatal: Error occurred in ApplyDatabase:  Control file creation failed

    There's anyone ever get error like this?
    [oradev@ebs bin]$ ./adcfgclone.pl dbTier
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
      LANGUAGE = (unset),
      LC_ALL = (unset),
      LC_CTYPE = "UTF-8",
      LANG = "en_US.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
                         Copyright (c) 2011 Oracle Corporation
                            Redwood Shores, California, USA
                            Oracle E-Business Suite Rapid Clone
                                     Version 12.2
                          adcfgclone Version 120.63.12020000.7.1202010.2
    Enter the APPS password :
    Running:
    /u01/DEV/11.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /u01/DEV/11.2.0/appsutil/clone/jlib/java:/u01/DEV/11.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.context.CloneContext -e /u01/DEV/11.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_21933.lst -stage /u01/DEV/11.2.0/appsutil/clone  2> /tmp/adcfgclone_21933.err; echo $? > /tmp/adcfgclone_21933.res
    Log file located at /u01/DEV/11.2.0/appsutil/clone/bin/CloneContext_0329113348.log
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [ebs] :
    Target Instance is RAC (y/n) [n] :
    Target System Database SID : DEV
    Target System Base Directory : /u01/DEV
    Target System utl_file_dir Directory List : usr/tmp
    RC-00213: Warning: The path specified must be the absolute path
    Target System utl_file_dir Directory List : /usr/tmp
    Number of DATA_TOP's on the Target System [1] :
    Target System DATA_TOP Directory 1 [/apps/DEV/data] : /u01/DEV/data
    Target System RDBMS ORACLE_HOME Directory [/u01/DEV/11.2.0] :
    Do you want to preserve the Display [null] (y/n)  : n
    Target System Display [ebs:0.0] :
    Do you want the target system to have the same port values as the source system (y/n) [y] ? : n
    Target System Port Pool [0-99] : 0
    Checking the port pool 0
    RC-50221: Warning: Port Pool 0 is not free. Please check logfile /u01/DEV/11.2.0/appsutil/clone/bin/CloneContext_0329113348.log for conflicts.
    Target System Port Pool [0-99] : 0
    Checking the port pool 0
    done: Port Pool 0 is free
    Report file located at /u01/DEV/11.2.0/appsutil/temp/portpool.lst
    Complete port information available at /u01/DEV/11.2.0/appsutil/temp/portpool.lst
    Creating the new Database Context file from :
      /u01/DEV/11.2.0/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
      /u01/DEV/11.2.0/appsutil/DEV_ebs.xml
    Log file located at /u01/DEV/11.2.0/appsutil/clone/bin/CloneContext_0329113348.log
    Check Clone Context logfile /u01/DEV/11.2.0/appsutil/clone/bin/CloneContext_0329113348.log for details.
    Running Rapid Clone with command:
    Running:
    perl /u01/DEV/11.2.0/appsutil/clone/bin/adclone.pl java=/u01/DEV/11.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/DEV/11.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/DEV/11.2.0/appsutil/DEV_ebs.xml showProgress contextValidated=true
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
      LANGUAGE = (unset),
      LC_ALL = (unset),
      LC_CTYPE = "UTF-8",
      LANG = (unset)
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Beginning database tier Apply - Sun Mar 29 11:35:27 2015
    /u01/DEV/11.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true  -Doracle.installer.oui_loc=/u01/DEV/11.2.0/oui -classpath /u01/DEV/11.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/ojdbc6.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/java:/u01/DEV/11.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/oui/share.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/oui/srvm.jar:/u01/DEV/11.2.0/appsutil/clone/jlib/ojmisc.jar   oracle.apps.ad.clone.ApplyDBTier -e /u01/DEV/11.2.0/appsutil/DEV_ebs.xml -stage /u01/DEV/11.2.0/appsutil/clone   -showProgress
    APPS Password : Log file located at /u01/DEV/11.2.0/appsutil/log/DEV_ebs/ApplyDBTier_03291135.log
      \     50% completed       RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    Sun Mar 29 11:46:03 2015
    ERROR: Failed to execute /u01/DEV/11.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    [oradev@ebs bin]$

    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
      LANGUAGE = (unset),
      LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
      LANG = (unset)
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C")
    Please check - $ env | grep LC
    If its set to LC_CTYPE = UTF-8 then unset or set it to blank value i.e. export LC_CTYPE = 
    Please see - ODA: oakcli command failed with perl: warning: Setting locale failed. (Doc ID 1526079.1)
    -Kj

  • RC-50004: Fatal: Error occurred in ApplyDatabase

    Hi
    On 19th august,2009, i ran the preclone on db & apps tier, copied files from source to destination (from one mount point to the other in the same AIX server) for cloning. For some reasons, we changed the system date to 1st april, 2009. When i tried to run adcfgclone.pl on db tier, getting the following error
    50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    Thu Apr 2 02:40:08 2009
    ERROR: Failed to execute /xxx/appsutil/clone/bin/adclone.pl
    (replaced the original path with /xxx).
    Is it related with server date? Any help, how can resolve this issue?

    Ateeq,
    If you could refer your previous thread,
    [UAT problem,management telling to change sytem date,any impact on apps&Db?|http://forums.oracle.com/forums/thread.jspa?threadID=947570]
    I have mentioned that there could be serious implication of changing the SYSTEM DATE. Look this was one of them, error while cloning.
    ORA-01565: error in identifying file
    '/clone/crp2clone/DEV1/DEV1/db/apps_st/data/XXSCC.dbf'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directoryThis means that on 1st APRIL you must have not added this datafile XXSCC.dbf to your database. There could be some work-around and you can start your DB but what about the data after 1-APRIL till date you will loose all that.
    You can refer the following ML doc,
    [How to clone/duplicate a database with added datafile with no backup.|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=292947.1]
    I think you must do the cloning with the current date so that no data is loose. You may try changing the SYSTEM date after that so that we can work on the possibilities.
    Thanks,
    Anchorage :)

  • RW-50010: Error, RC-50004: Fatal: Error occurred in App and exit_code=139

    I am installing R12 on Oracle Enterprise Linux and gettiing above errors.
    ++++++++ Platform++++++
    (I) OS: OEL 4 64-bit update 7 ( installed from DVD if that matters)
    [root@arun2 vmware]# uname -a
    Linux arun2.devar.com 2.6.9-78.0.0.0.1.ELsmp #1 SMP Fri Jul 25 16:04:35 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
    [root@arun2 vmware]# more /etc/redhat-release
    Enterprise Linux Enterprise Linux AS release 4 (October Update 7)
    (II) Apps: R12 64-bit (latest available on web released on Jan 13, 2009)
    [root@arun2 rapidwiz]# ./RapidWizVersion
    Oracle Applications Rapid Install Wizard
    Version 12.0.4.6
    (c) Copyright 2000-2006 Oracle Corporation. All rights reserved.
    (III)H/W: Dell(insiron 530) Intel quad core with 6GB RAM 1TB disk
    +++++++ rapidwiz+++++
    1) Downloaded x86-64bit ebusiness suit from oracle site
    2) unzipped all packages
    3) installed recommend Linux rpms
    [root@arun2 vmware]# more /tmp/orarpm.2.sh
    rpm -Uvh binutils-2.15.92.0.2-25.x86_64.rpm
    rpm -Uvh compat-db-4.1.25-9.i386.rpm
    rpm -Uvh compat-db-4.1.25-9.x86_64.rpm
    rpm -Uvh control-center-2.8.0-12.rhel4.5.x86_64.rpm
    rpm -Uvh gcc-3.4.6-10.0.1.x86_64.rpm
    rpm -Uvh gcc-c++-3.4.6-10.0.1.x86_64.rpm
    rpm -Uvh glibc-2.3.4-2.41.i686.rpm
    rpm -Uvh glibc-2.3.4-2.41.x86_64.rpm
    rpm -Uvh glibc-devel-2.3.4-2.41.i386.rpm
    rpm -Uvh glibc-devel-2.3.4-2.41.x86_64.rpm
    rpm -Uvh glibc-common-2.3.4-2.41.x86_64.rpm
    rpm -Uvh gnome-libs-1.4.1.2.90-44.2.x86_64.rpm
    rpm -Uvh libstdc++-3.4.6-10.0.1.i386.rpm
    rpm -Uvh libstdc++-3.4.6-10.0.1.x86_64.rpm
    rpm -Uvh libstdc++-devel-3.4.6-10.0.1.i386.rpm
    rpm -Uvh libstdc++-devel-3.4.6-10.0.1.x86_64.rpm
    rpm -Uvh libgcc-3.4.6-10.0.1.i386.rpm
    rpm -Uvh libgcc-3.4.6-10.0.1.x86_64.rpm
    rpm -Uvh make-3.80-7.EL4.x86_64.rpm
    rpm -Uvh pdksh-5.2.14-30.6.x86_64.rpm
    rpm -Uvh setarch-1.6-1.x86_64.rpm
    rpm -Uvh sysstat-5.0.5-19.el4.x86_64.rpm
    rpm -Uvh xscreensaver-4.18-5.rhel4.14.0.1.x86_64.rpm
    rpm -Uvh openmotif21-2.1.30-11.0.1.RHEL4.6.i386.rpm
    rpm -Uvh libaio-0.3.105-2.x86_64.rpm
    rpm -Uvh libaio-0.3.105-2.i386.rpm
    rpm -Uvh libaio-devel-0.3.105-2.x86_64.rpm
    Note: some of them were already applied.
    4) Changed /etc/sysctl.conf
    kernel.shmmax=3221225472
    net.ipv4.ip_local_port_range = 2024 65000
    kernel.semmsl=256
    kernel.semmns=32000
    kernel.semopm=100
    kernel.semmni=142
    kernel.shmall=2097152
    kernel.shmmni=4096
    kernel.msgmax=8192
    kernel.msgmnb=65535
    kernel.msgmni=2878
    fs.file-max=65536
    net.core.rmem_default=262144
    net.core.rmem_max=262144
    net.core.wmem_default=262144
    net.core.wmem_max=262144
    Note: rebooted the server couple of times
    5) /etc/hosts entry
    [root@arun2 vmware]# more /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    192.168.2.5 arun2.devar.com arun2
    6) openmotif:
    [root@arun2 vmware]# rpm -qa| grep openm
    openmotif-2.2.3-10.2.el4
    openmotif-devel-2.2.3-10.2.el4
    openmpi-libs-1.2.5-5.el4
    openmotif-2.2.3-10.2.el4
    openmotif21-2.1.30-11.0.1.RHEL4.6
    7) added couple of params to /etc/resolv.conf
    options attempts:5
    options timeout:15
    8) Another hostname file
    [root@arun2 rapidwiz]# more /etc/sysconfig/network
    NETWORKING=yes
    HOSTNAME=arun2.devar.com
    9) there is no file called /etc/sysconfig/networking/profiles/default/network
    [root@arun2 rapidwiz]# ls -l /etc/sysconfig/networking/profiles/default/network
    ls: /etc/sysconfig/networking/profiles/default/network: No such file or directory
    10) soft and all in /etc/security/limits.conf
    # Added for Oracle
    hard nofile 65535
    soft nofile 4096
    hard nproc 16384
    soft nproc 2047
    11) It fails at 33% of steps 2
    12) I find most binaries are crashing. ldd command on binary doesn't show anything is missing.
    13) file on libraries looks like this
    [oracle6@arun2 ~]$ file /d01/oracle6/MARS10/db/tech_st/10.2.0/lib/libsqlplus.so /d01/oracle6/MARS10/db/tech_st/10.2.0/lib/libclntsh.so.10.1
    /d01/oracle6/MARS10/db/tech_st/10.2.0/lib/libsqlplus.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped
    /d01/oracle6/MARS10/db/tech_st/10.2.0/lib/libclntsh.so.10.1: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped
    It become challenging and frustrating for me. I am really exhausted. Any help would be greately appreciated.
    Regards
    -Arun
    PS: snip of log file:
    (a)
    | 0% completed
    / 0% completed
    - 0% completed
    \ 0% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error: 1
    RW-50004: Error code received when running external process. Check log file for details.
    Running Database Install Driver for MARS6 instance
    ADX Database Utility
    (b) tail -30
    /d01/oracle6/MARS6/db/tech_st/10.2.0/appsutil/log/MARS6_arun2/ApplyDatabase_02021441.log
    Executable : /d01/oracle6/MARS6/db/tech_st/10.2.0/bin/sqlplus
    The log information will be written to
    /d01/oracle6/MARS6/db/tech_st/10.2.0/appsutil/log/MARS6_arun2/adcrdb_MARS6.txt
    Creating the control file for MARS6_arun2 database ...
    exit_code=139
    Checking for errors ...
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : arun2
    sDbDomain : devar.com
    sDbPort : 1537
    sDbSid : MARS6
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@arun2.devar.com:1537:MARS6
    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=arun2.devar.com)(PORT=1537))(CONNECT_DATA=(SERVICE_NAME=MARS6)))
    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=arun2.devar.com)(PORT=1537))(CONNECT_DATA=(SERVICE_NAME=MARS6.devar.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

    Thanks, appreciate your reply. As I mentioned earlier, binaries are crashing. (side note: I am on 10th attempt, so SID=MARS10)
    1) There is a connection issue, not sure why.
    2) I see, something cored. .... adcrdb.sh: line 107: 30881 Segmentation fault sqlplus /nolog......(full text below)
    3) ldd on sqlplus in case required
    [oracle6@arun2 bin]$ ldd sqlplus
         libsqlplus.so => /d01/oracle6/MARS10/db/tech_st/10.2.0/lib/libsqlplus.so (0x0000002a95557000)
         libclntsh.so.10.1 => /d01/oracle6/MARS10/db/tech_st/10.2.0/lib/libclntsh.so.10.1 (0x0000002a9574a000)
         libnnz10.so => /d01/oracle6/MARS10/db/tech_st/10.2.0/lib/libnnz10.so (0x0000002a96ae6000)
         libdl.so.2 => /lib64/libdl.so.2 (0x00000039f7200000)
         libm.so.6 => /lib64/tls/libm.so.6 (0x00000039f7000000)
         libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00000039f7a00000)
         libnsl.so.1 => /lib64/libnsl.so.1 (0x00000039feb00000)
         libc.so.6 => /lib64/tls/libc.so.6 (0x00000039f6d00000)
         /lib64/ld-linux-x86-64.so.2 (0x00000039f6b00000)
    4) last part of $ORACLE_HOME/appsutil/log/MARS10_arun2/ApplyDatabase_02061554.log
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : arun2
    sDbDomain : devar.com
    sDbPort : 1541
    sDbSid : MARS10
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@arun2.devar.com:1541:MARS10
    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=arun2.devar.com)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=MARS10)))
    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=arun2.devar.com)(PORT=1541))(CONNECT_DATA=(SERVICE_NAME=MARS10.devar.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---------------
    adcrdb.sh started at Fri Feb 6 15:54:57 EST 2009
    The environment settings are as follows ...
    ORACLE_HOME : /d01/oracle6/MARS10/db/tech_st/10.2.0
    ORACLE_SID : MARS10
    TWO_TASK :
    PATH : /d01/oracle6/MARS10/db/tech_st/10.2.0/perl/bin:/d01/oracle6/MARS10/db/tech_st/10.2.0/bin:/usr/bin:/usr/sbin:/d01/oracle6/MARS10/db/tech_st/10.2.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/bin:/softwares/appsr12/startCD/Disk1/rapidwiz/unzip/Linux_x64:/usr/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
    LD_LIBRARY_PATH : /d01/oracle6/MARS10/db/tech_st/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/d01/oracle6/MARS10/db/tech_st/10.2.0/lib:/usr/dt/lib:/d01/oracle6/MARS10/db/tech_st/10.2.0/ctx/lib
    Executable : /d01/oracle6/MARS10/db/tech_st/10.2.0/bin/sqlplus
    The log information will be written to
         /d01/oracle6/MARS10/db/tech_st/10.2.0/appsutil/log/MARS10_arun2/adcrdb_MARS10.txt
    Creating the control file for MARS10_arun2 database ...
    exit_code=139
    Checking for errors ...
    .end std out.
    /d01/oracle6/MARS10/db/tech_st/10.2.0/appsutil/install/MARS10_arun2/adcrdb.sh: line 107: 30881 Segmentation fault sqlplus /nolog @/d01/oracle6/MARS10/db/tech_st/10.2.0/appsutil/install/MARS10_arun2/adcrdbclone.sql "so" "$S_RDBMS_VERS"
    egrep: /d01/oracle6/MARS10/db/tech_st/10.2.0/appsutil/log/MARS10_arun2/adcrdb_MARS10.txt: No such file or directory
    .end err out.
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase

  • RC-50004: Fatal: Error occurred in ApplyDBTier during adcfgclone.pl

    Hi,
    While running adcfgclone.pl, I am encountering <RC-50004: Fatal: Error occurred in ApplyDBTier> message.
    Full log is
    - >
    RC-50004: Fatal: Error occurred in ApplyDBTier:
    StackTrace -
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
    at oracle.apps.ad.util.DBUtil.registerDriver(DBUtil.java:153)
    at oracle.apps.ad.util.DBUtil.<init>(DBUtil.java:102)
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.getDBConnection(FileSysDBCtxMerge.java:802)
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.initializeParams(FileSysDBCtxMerge.java:150)
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.setParams(FileSysDBCtxMerge.java:131)
    at oracle.apps.ad.context.CtxValueMgt.mergeCustomInFiles(CtxValueMgt.java:1789)
    at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1608)
    at oracle.apps.ad.clone.ApplyDBTechStack.runCVM(ApplyDBTechStack.java:646)
    at oracle.apps.ad.clone.ApplyDBTechStack.runAutoConfig(ApplyDBTechStack.java:699)
    at oracle.apps.ad.clone.ApplyDBTechStack.doConf(ApplyDBTechStack.java:369)
    at oracle.apps.ad.clone.ApplyDBTechStack.doApply(ApplyDBTechStack.java:397)
    at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:313)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:104)
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 19 more
    ERROR while running Apply...
    Wed Oct 19 10:35:53 2011
    ERROR: Failed to execute /d03/oracle/sid/db/tech_st/11.2.0/appsutil/clone/bin/adclone.pl
    < -
    Can someone help me to resolve this issue?
    I think this is different than the similar errors in Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]...

    Yes, I have 11gR2 database at the moment.
    To make sure... Are you referring to the target database system?
    Now, I am still in the middle of cloning, and when I tried to run sqlplus I get the error saying that <SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory>.
    So yes, failure occurred in the early stage of running adcfgclone.pl script.
    I took some more logs before RC-5004 error message.
    ->
    Beginning database tier Apply - Wed Oct 19 10:35:14 2011
    APPS Password : Log file located at /d03/oracle/SID/db/tech_st/11.2.0/appsutil/log/CONTEXT/ApplyDBTier_10191035.log
    | 0% completed NON-COMPLIANT: /d03/oracle/SID/db/tech_st/11.2.0//oraInst.loc does not point to an inventory inside the current ORACLE_HOME
    Rapid Clone only supports oraInst.loc at that location if its content points to an inventory inside the same ORACLE_HOME
    Please make the necessary changes to the following file:
    /d03/oracle/SID/db/tech_st/11.2.0//oraInst.loc
    running OUI CLI home cloning:
    /d03/oracle/SID/db/tech_st/11.2.0/oui/bin/runInstaller -clone -silent -force -waitForCompletion -invPtrLoc /etc/oraInst.loc ORACLE_HOME=/d03/oracle/SID/db/tech_st/11.2.0 ORACLE_BASE=/d03/oracle/SID/db/tech_st/11.2.0 ORACLE_HOME_NAME=SID_db112_RDBMS
    \ 0% completed
    RC-50004: Fatal: Error occurred in ApplyDBTier:
    <-
    In addition, oraInst.loc is existing in the target ORACLE_HOME directory, owned by the target oracle user.
    oraInst.loc has
    inventory_loc=/oracle/oraInventory
    where oraInventory has the right permission drwxrwx---

  • RC-50004: Fatal: Error occurred in ApplyAppsTier

    Hi,
    We are on 12.0.4 on Microsoft windows 2003 server.
    and trying to do cloning, Database cloning is succesfull, but while doing application cloning we are getting the above error at the stage of 73%, the error message is as follows..
    ===========
    Log file located at c:\clone\inst\apps\clone_lenovo-4\admin\log\ApplyAppsTier_11
    081303.log
    \ 73% completed
    RC-50004: Fatal: Error occurred in ApplyAppsTier:
    StackTrace -
    java.lang.reflect.InvocationTargetException
    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:494)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFil
    e.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
    at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.jav
    a:590)
    at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558
    at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
    at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
    at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
    at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
    ... 6 more
    ERROR while running Apply...
    Sat Nov 8 13:09:50 2008
    ERROR: Failed to execute C:\CLONE\apps\apps_st\comn\clone\bin\adclone.pl
    Please check logfile.
    ==========================
    after that we have run th autoconfig,
    The autoconfig is erroring out in adsvalsn.cmd
    ==
    adsvalsn.cmd INSTE8_APPLY 1
    =========
    Script Success, Applications Context update complete.
    Configuring templates from all of the product tops...
    Configuring AD_TOP........COMPLETED
    Configuring FND_TOP.......COMPLETED
    Configuring ICX_TOP.......COMPLETED
    Configuring IEO_TOP.......COMPLETED
    Configuring BIS_TOP.......COMPLETED
    Configuring AMS_TOP.......COMPLETED
    Configuring CCT_TOP.......COMPLETED
    Configuring WSH_TOP.......COMPLETED
    Configuring CLN_TOP.......COMPLETED
    Configuring OKE_TOP.......COMPLETED
    Configuring OKL_TOP.......COMPLETED
    Configuring OKS_TOP.......COMPLETED
    Listener Log File c:\clone\inst\apps\clone_lenovo-4\logs\ora\10.1.2\netw
    ork\apps_clone.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LENOVO-4)(PORT=1626)))
    Services Summary...
    Service "FNDFS" has 1 instance(s).
    Instance "FNDFS", status UNKNOWN, has 1 handler(s) for this service...
    Service "FNDSM" has 1 instance(s).
    Instance "FNDSM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    adalnctl.cmd exiting with status 0
    OpenService failed
    c:\clone\apps\apps_st\appl\ad\12.0.0\bin\adsstart.exe OracleCLONE_lenovo-4_TOOLS
    TNSListenerAPPS_clone auto failed
    adsvalsn.cmd exiting with status 1
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    .end err out.
    ==============================
    we checked the autoconfig FAQ 218089.1
    The script adsvalsn.cmd fails when I run AutoConfig. How do I resolve this issue?
    Answer:
    Check in your Service Control Panel to see if the 806 listener service is set to automatic or manual.
    If your service is set to automatic, then you hit a known issue, that can be ignored. You can use the following workaround to resolve the issue:
    copy %AD_TOP%\bin\adstart.exe %COMMON_TOP%\util\SrvStart.exe
    [top]
    Done the workaround as well as the services is "manual", still the same issue.
    =================================
    We ignored the error and tried to start the application..
    The forms are not opening..
    FRM-92101: There was a failure in the Forms Server during startup.This could happen due to invalid configuration.
    Please look into the web-server log file for details. Details.... Java Exception:
    oracle.forms.net.ConnectionException: Forms session <3> failed during startup: no response from runtime process
    at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
    ======
    followed the note Note:465926.1 to resolve the issue..
    We tried to run
    "make -f ins_forms.mk install " from 10.1.2 home/lib but we are finding the file in that location.
    Can anybody please guide us
    Regards
    Vasu

    Hi HSAWWAN,
    Alias APPS_clone
    Version TNSLSNR for 32-bit Windows: Version 10.1.0.5.0 - Production
    Start Date 08-NOV-2008 22:07:31
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\clone\inst\apps\CLONE_lenovo-4\ora\10.1.2\network\admin\listener.ora
    Listener Log File c:\clone\inst\apps\clone_lenovo-4\logs\ora\10.1.2\network\apps_clone.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LENOVO-4)(PORT=1626)))
    Services Summary...
    Service "FNDFS" has 1 instance(s).
    Instance "FNDFS", status UNKNOWN, has 1 handler(s) for this service...
    Service "FNDSM" has 1 instance(s).
    Instance "FNDSM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    adalnctl.cmd exiting with status 0
    OpenService failed
    c:\clone\apps\apps__st\appl\ad\*12.0.0\*bin\adsstart.exe OraclePROD_erpsahara_TOOLSTNSListenerAPPS_clone* auto* failed_adsvalsn.cmd exiting with status 1
    ======
    In this It is taking the PRODUCTION "OraclePROD_erpsahara_TOOLSTNSListenerAPPS_clone" pl sugest how to rectify it..
    Regards
    Vasu

  • RC-50004: Fatal: Error occurred in StageDBTier

    Can anybody help on this issue Please.
    We are using 11.5.10.2 applications with 10.2.0.4 database and trying to clone the Applications, got the error while doing adpreclone.
    $ perl adpreclone.pl dbTier
    Running Rapid Clone with command...
    perl /ul01/app/applmgr/lasrt/ad/11.5.0/bin/adclone.pl java=/opt/java1.4 mode=stage stage=/ul02/app/common/lasrt/clone component=appsTier method=CUSTOM appctx=/ul01/app/applmgr/lasrt/admin/lasrt_fiapd2.xml showProgress
    Beginning application tier Stage - Thu Dec 2 15:49:02 2010
    Log file located at /ul01/app/applmgr/lasrt/admin/lasrt_fiapd2/log/StageAppsTier_12020349.log
    RC-50004: Fatal: Error occurred in StageDBTier:
    the error is..
    java.lang.reflect.InvocationTargetException
    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)
    Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.util.SystemCheck.suCopyDirectory(Ljava/lang/String;Ljava/lang/String;J)Z
    at oracle.apps.ad.clone.util.CreateCloningStage.createBaseArea(CreateCloningStage.java:324)
    at oracle.apps.ad.clone.util.CreateCloningStage.<init>(CreateCloningStage.java:181)
    at oracle.apps.ad.clone.util.CreateCloningStage.<init>(CreateCloningStage.java:140)
    at oracle.apps.ad.clone.util.CreateCloningStage.<init>(CreateCloningStage.java:124)
    at oracle.apps.ad.clone.StageDBTechStack.doStage(StageDBTechStack.java:313)
    at oracle.apps.ad.clone.StageDBTechStack.<init>(StageDBTechStack.java:289)
    at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:211)
    Verified version of Systemcheck==== 115.27 on Database side
    As per previous blogs need to apply 6372396 patch, Please confirm any prereq patches need to be applied or not.
    Does this patch changes any custum programes.
    What changes does this patch makes.
    Please provide the detail procedure to fix this issue.
    Thanks,
    Dheeru.

    Hi,
    Please see (RC-50004: Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.util.SystemCheck.suCopyDirectory(Ljava/lang/String;Ljava/lang/String;J) [ID 746025.1]).
    For (Patch:6372396 TXK AUTOCONFIG AND TEMPLATES ROLLUP PATCH S (APRIL/MAY 2008)), it is an AutoConfig template patch and it should not tocuh your custom programs.
    Please note that this patch was replaced with (Patch 9535311 - TXK AUTOCONFIG AND TEMPLATES ROLLUP PATCH U).
    Thanks,
    Hussein

  • DbTier:RC-50004 Error occurred in ApplyDatabase:help me plzzzzzzzzzz

    HI,
    Am on 11.5.10.2
    DB 10gR2
    OS Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
    When am trying to clone dbtier am facing this error :
    Beginning database tier Apply - Wed Jun 22 14:00:53 2011
    Log file located at /stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/ApplyDBTier_06221400.log
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Before taking the source backup :
    i did the following
    1. Autoconfig - completed successfully.
    2.preclone
    3.Shutdown database (normal, innmediate) & stop listener
    4.Copy the soutce to target using scp -r root@hostname:/stageDB
    log file
    vi /stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/ApplyDBTier_06221400.logLoading ORACLE_HOME environment from /stageDB/proddb/10.2.0
    Logfile: /stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/06221400/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
    log file
    /stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/06221400/NetServiceHandler.logClasspath : /stageDB/proddb/10.2.0/jdk/jre/lib/rt.jar:/stageDB/proddb/10.2.0/jdk/lib/dt.jar:/stageDB/proddb/10.2.0/jdk/lib/tools.jar:/stageDB/proddb/10.2.0/jdbc/lib/ojdbc14.jar:/stageDB/proddb/10.2.0/appsutil/java/xmlparserv2.zip:/stageDB/proddb/10.2.0/appsutil/java:/stageDB/proddb/10.2.0/jlib/netcfg.jar:/stageDB/proddb/10.2.0/jlib/ldapjclnt10.jar
    ===============================================================================
    NetServiceHandler 115.54 started for rofdbs5 at Wed Jun 22 14:00:59 GST 2011
    ===============================================================================
    [ Context Information ]
    Host : rofdbs5
    Domain : reyamidbs.com
    Out Dir : /stageDB/proddb/10.2.0/appsutil/out/PROD_rofdbs5/06221400
    Tier Type : DATABASE TIER
    Getting connection...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : rofdbs5
    sDbDomain : reyamidbs.com
    sDbPort : 1521
    sDbSid : PROD
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@rofdbs5.reyamidbs.com: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=rofdbs5.reyamidbs.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD)))
    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=rofdbs5.reyamidbs.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD.reyamidbs.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---------------
    Could not get connection to the database.
    Exiting with status 100 to instantiate the tnsnames.ora template
    Creation of Directory - /stageDB/proddb/10.2.0/network/admin/PROD_rofdbs5 Succeeded.
    instantiate file:
    source : /stageDB/proddb/10.2.0/appsutil/template/ad8itns.ora
    dest : /stageDB/proddb/10.2.0/network/admin/PROD_rofdbs5/tnsnames.ora
    AutoConfig is exiting with status 0
    instantiate file:
    source : /stageDB/proddb/10.2.0/appsutil/template/ad8ilsnr.ora
    dest : /stageDB/proddb/10.2.0/network/admin/PROD_rofdbs5/listener.ora
    AutoConfig is exiting with status 0
    adgentns.pl exiting with status 25600
    ERRORCODE = 25600 ERRORCODE_END
    Thanks
    Edited by: 843272 on Jun 22, 2011 3:21 AM
    Edited by: 843272 on Jun 22, 2011 5:55 AM

    Log file located at /stageDB/proddb/10.2.0/appsutil/log/PROD_rofdbs5/ApplyDBTier_06221400.log
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failedThis error indicates that the database was not created successfully.
    Rapid Clone Failed While Running "Adcfgclone.pl dbTier": ORA-01194 and RC-00118 [ID 375389.1]
    Adcfgclone.pl DBTier is failing with error for dbms_backup_restore.zeroDbid(0) [ID 361157.1]
    Thanks,
    Hussein

  • Error when applyin adcfgclone on dbtier  RC-50004: FATAL ERROR RC-50014

    I have performed the following steps several times and only two times it was successful..rest of the time,it gave me the following error
    Does anyone know how to resolve this or whats the problem behind this
    Below are the steps i perform followed by the log file contents too..
    Thanks
    [oracle@t2 ~]$ cd /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin
    [oracle@t2 bin]$ ls
    adcfgclone.pl adchkutl.sh adclonectx.pl adclone.pl
    [oracle@t2 bin]$ ./adcfgclone.pl dbTier
    Using Java from /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre
    Enter the APPS user password:
    JDBCCLASSES = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
    XMLPCLASSES = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar
    LOCAL_CPATH = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    oracle
    = oracle
    dba
    = dba
    Running:
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile.lst -stage /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone.err; echo $? > /tmp/adcfgclone.resEnter the APPS password : apps
    Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log
    Provide the values required for creation of the new Database Context file.
    Target hostname (virtual or normal) [t2]:
    Target instance is a Real Application Cluster (RAC) instance (y/n) [n]:
    Target System database name:test2
    Target system base directory for source homes:/d01/oracle/test2
    Target system utl_file accessible directories list:/usr/tmp
    Number of DATA_TOP's on the target system [4]:1
    Target system DATA_TOP 1:/d01/oracle/test2/db/apps_st/data
    Target system RDBMS ORACLE_HOME directory:/d01/oracle/test2/db/tech_st/10.2.0
    Do you want to preserve the Display set to 130.35.33.102:111.0 (y/n) [y] ?:
    Do you want the the target system to have the same port values as the source system (y/n) [y] ?:
    Complete port information available at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/out/test2_t2/portpool.lst
    Backing up /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml to /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml.bak
    Creating the new Database Context file from :
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml
    Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log
    Check logfile /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log for details.
    Running Rapid Clone with command:
    perl /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml showProgress contextValidated=true
    Running:
    perl /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml showProgress contextValidated=true
    XMLPARSER: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar
    JDBC: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
    CLASSPATH: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar
    OUI CLASSPATH: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java
    Setting LD_LIBRARY_PATH to /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/oui/lib/linux
    Beginning database tier Apply - Thu Jun 5 17:33:42 2008
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/d01/oracle/test2/db/tech_st/10.2.0/oui -classpath /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml -stage /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone -showProgress
    APPS Password : Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/log/test2_t2/ApplyDBTier_06051733.log
    \ 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    RC-50014: Fatal: Execution of AutoConfig was failed
    ERROR while running Apply...
    Thu Jun 5 17:38:53 2008
    ERROR: Failed to execute /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    [oracle@t2 bin]$
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1077936128 bytes
    Fixed Size 2076584 bytes
    Variable Size 427819096 bytes
    Database Buffers 633339904 bytes
    Redo Buffers 14700544 bytes
    Control file created.
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/d01/oracle/test3/db/apps_st/data/system01.dbf'
    alter tablespace TEMP1 add tempfile '/d01/oracle/test3/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/d01/oracle/test3/db/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "test3.luckyerp"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1077936128 bytes
    Fixed Size 2076584 bytes
    Variable Size 427819096 bytes
    Database Buffers 633339904 bytes
    Redo Buffers 14700544 bytes
    Database mounted.
    PL/SQL procedure successfully completed.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1077936128 bytes
    Fixed Size 2076584 bytes
    Variable Size 427819096 bytes
    Database Buffers 633339904 bytes
    Redo Buffers 14700544 bytes
    Control file created.
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/d01/oracle/test3/db/apps_st/data/system01.dbf'
    alter tablespace TEMP1 add tempfile '/d01/oracle/test3/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/d01/oracle/test3/db/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "test3.luckyerp"
    ERROR at line 1:
    ORA-01109: database not open

    but what wil be the remaining steps of clone then..?If you have not done any changes recently on your source nodes (add a tablespace/database, applied patches, add new forms/reports, ..etc), then do the following:
    - Make sure you shutdown the source instance properly before copying the file to the target node.
    - Configure the target system database server (run the following as oracle user):
    $ cd <RDBMS ORACLE_HOME>/appsutil/clone/bin
    $ perl adcfgclone.pl dbTier - Configure the target system application server (run the following as applmgr user):
    $ cd <COMMON_TOP>/clone/bin
    $ perl adcfgclone.pl appsTierNote: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1

  • Encounter error when installing EBS R12.0.4.6 on OEL5.2

    Hi,
    I met a problem when I installed EBS R12.0.4.6 on Oracle Enterprise Linux 5.2.
    The installation was interrupted in the step 2 of 5. It showed RW-50004 error. Then when I clicked retry button, the installation continued until the post-instll checks. Only the Enviroment File and DBC File passed the check.
    Following is the error logged in the log file:
    ========================================================================================
    RC-50004: Fatal: Error occurred inApplyDatabase:
    Control file creation failed
    Cannot execute configure of database usingRapidClone
    RW-50010: Error: - script has returned anerror:
    1
    RW-50004: Error code received when runningexternal process.
    riwTDBup.sh exiting with status 2
    RW-50011: Error: - Apps ORACLE_HOME connection test has returned anerror:
    2Configuration Upload
    uploading config file at/d01/oracle/VIS/db/tech_st/10.2.0/appsutil/conf_VIS.txtAppsConfig : 'config.txt' uploading...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector()-->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost
    : dbserv
    sDbDomain
    : company.com
    sDbPort
    : 1522
    sDbSid
    : VIS
    sDbUser
    : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbcracle:thindbserv.company.com:1522:VIS
    Exception occurred: java.sql.SQLException: Io exception: Got minus onefrom a read call
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL:jdbcracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbserv.company.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=VIS)))
    java.lang.NoSuchFieldError: TDU
    AutoConfig completed with errors.
    runProcess_5
    Statusstring executing Service StartupScript on Apps Node
    Executing command:/d01/oracle/VIS/inst/apps/VIS_dbserv/admin/scripts/adstrtal.sh APPS/APPS
    You are running adstrtal.sh version120.13.12000000.3
    adstrtal.sh: Database connection could notbe established. Either the database is down or the APPS credentials suppliedare wrong.
    USAGE:
    adstrtal.sh<appsusername/appspassword>
    adstrtal.sh: exiting with status 1
    Cannot execute Service Startup Script onApps Node
    ========================================================================================
    Have you met this problem before? Do you know how to solve this problem? Please kindly give me some suggestions on it.
    Thank you very much.
    Best Regards,
    Vincent Yang

    Hi hsawwan,
    In adcrdb_VIS.log, I found the following errors. Could you please give me some suggestion? Thanks a lot.
    ==========================================================================
    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 1265844 bytes
    Variable Size 432017228 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 11313152 bytes
    Control file created.
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/d01/oracle/VIS/db/apps_st/data/sys1.dbf'
    alter tablespace TEMP1 add tempfile '/d01/oracle/VIS/db/apps_st/data/temp1_01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/d01/oracle/VIS/db/apps_st/data/temp2_01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "VIS.company.com"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01109: database not open
    ==========================================================================
    Best regards,
    Vincent

  • A fatal error occurred while creating an SSL client credential. The internal error state is 10011.

    Need help.  I have my pilot lync 2013 pool up (in coexistence with 2010 production environment) and can log into Lync 2013 environment with a lync 2010 client but am not able to with a lync 2013 client.  It just prompts for password but will not
    take it. I'm sseeing this on my front end server multiple times:
    A fatal error occurred while creating an SSL client credential. The internal error state is 10011.
    Came across this http://www.logicspot.net/index.php?id=50 and tried disabling TLS 1.2, which I did and verified but yet the issue still exists.
    All my certs are good coming from internal CA.  My signin logs show below but keep in mind, this works just fine if using a 2010 lync client to my lync 2013 servers.  Issue only occurs when trying to connect using a lync 2013 client.
    1 Login: FAIL (hr = 0x1) 
    this request needs authentication, trying webticket from: https://domain.com/WebTicket/WebTicketService.svc
    1.1 Get-NewWebTicket: FAIL (hr = 0x1) 
    CLogonCredentialManager::QueryForSpecificCreds() Credential user 0x069B64A0 id=15 querying for specific credentials, credSuccess=2, targetName=Microsoft_OC1:[email protected]:specific:LAD:1
    1.1.1 ExecuteWithMetadataInternal: FAIL (hr = 0x3d0000) 
    Executing wws method with windows auth auth, asyncContext=0A4FC348,
     context: WebRequest context@ :173931816
      MethodType:4
      ExecutionComplete? :1
      Callback@ :0A5A1864
      AsyncHResult:80f10041
      TargetUri:https://domain.com/WebTicket/WebTicketService.svc
      OperationName:http://tempuri.org/:IWebTicketService
     Error:
    There was an error communicating with the endpoint at 'https://domain.com/WebTicket/WebTicketService.svc'.
    The server returned HTTP status code '401 (0x191)' with text 'Unauthorized'.
    The requested resource requires user authentication.
    1.1.2 ExecuteWithWindowsOrNoAuthInternal: PASS
    1.1.3 ExecuteWithWindowsOrNoAuthInternal: FAIL (hr = 0x3d0000) 
    Executing wws method with windows auth auth, asyncContext=0A4FC348,
     context: WebRequest context@ :173931816
      MethodType:4
      ExecutionComplete? :1
      Callback@ :0A5A1864
      AsyncHResult:80f10041
      TargetUri:https://domain.com/WebTicket/WebTicketService.svc
      OperationName:http://tempuri.org/:IWebTicketService
     Error:
    There was an error communicating with the endpoint at 'https://domain.com/WebTicket/WebTicketService.svc'.
    The server returned HTTP status code '401 (0x191)' with text 'Unauthorized'.
    The requested resource requires user authentication.
    1.1.4 ExecuteWithWindowsOrNoAuthInternal: FAIL (hr = 0x3d0000) 
    Discovery task(0A4FF830) sent to URL http://domain.com completed with hr=0x80f10045
    1.1.5 ExecuteWithWindowsOrNoAuthInternal: FAIL (hr = 0x3d0000) 
    Executing wws method with windows auth auth, asyncContext=0A4FC348,
     context: WebRequest context@ :173931816
      MethodType:4
      ExecutionComplete? :1
      Callback@ :0A5A1864
      AsyncHResult:80f10041
      TargetUri:https://domain.com/WebTicket/WebTicketService.svc
      OperationName:http://tempuri.org/:IWebTicketService
     Error:
    There was an error communicating with the endpoint at 'https://domain.com/WebTicket/WebTicketService.svc'.
    The server returned HTTP status code '401 (0x191)' with text 'Unauthorized'.
    The requested resource requires user authentication.
    1.1.6 ExecuteWithWindowsOrNoAuthInternal: FAIL (hr = 0x3d0000) 
    CLogonCredentialManager::QueryForSpecificCreds() Credential user 0x069B64A0 id=15 querying for specific credentials, credSuccess=2, targetName=Microsoft_OC1:[email protected]:specific:LAD:1
    Rich

    Hi,
    Please check the server role and Web Services for Internet Information Services (IIS) are set correctly.
    For the detailed IIS configuration, please check:
    http://technet.microsoft.com/en-us/library/gg412871.aspx
    As Lync client 2013 attempt to query in order to perform autodiscover of the Lync registration server. First
    lyncdiscoverinternal.<sipdomain> Host (A) record and then
    lyncdiscover.<sipdomain> Host (A) record. If neither of these records are resolvable then the legacy DNS SRV and A record fall-back process is used. So make sure you have add the two A record in DNS server.
    More details:
    http://blog.schertz.name/2012/12/lync-2013-client-autodiscover/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

Maybe you are looking for