4 Replies Latest reply: Oct 1, 2012 7:33 PM by Hussein Sawwan-Oracle RSS

    RapidClone  RC-50004: Fatal: Error occurred in ApplyDatabase:

    Sam_cl
      When trying to clone system from PROD to TEST receive the following error
      APPS Password : Log file located at /d01/oracle/TEST/db/tech_st/11.1.0/appsutil/log/TEST_xxxxxxxx/ApplyDBTier_12140836.log
      \ 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
      Control file creation failed

      ERROR while running Apply...
      Wed Dec 14 08:40:57 2011

      ERROR: Failed to execute /d01/oracle/TEST/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl

      Please check logfile.



      ---------------------------------------------------------------
      ADX Database Utility
      ---------------------------------------------------------------

      getConnectionUsingAppsJDBCConnector() -->
      APPS_JDBC_URL='null'
      Trying to get connection using SID based connect descriptor
      getConnection() -->
      sDbHost : xxxxxxxx
      sDbDomain : xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
      sDbPort : 1522
      sDbSid : TEST
      sDbUser : APPS
      Trying to connect using SID...
      getConnectionUsingSID() -->
      JDBC URL: jdbc:oracle:thin:@xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx:1522:TEST
      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=xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST)))
      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=xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST.xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx)))
      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)


      Thanks for help!