File creation

Hi:
I am using the following code to generate and log file for debugging purposes through Java Stored Procedure. But it is not creating the file at all for some reason. I am looking in my current working directory for it and I cannot find it. Any help is appreciated.
try{
fwriter = new PrintWriter(new FileOutputStream("debugLog.txt",true));
} catch (IOException ioe) {
System.err.println("IO Exception for Output File" + ioe.getMessage());
Thanks.
-Mujib

Using UTL_file package we can create t4ext files. Is there any way to create wave files or other type of files other than text file.
Regards
Rose
null

Similar Messages

  • Download Helper, even with paid converter upgrade, gives "Invalid Capture File" errors and will not record audio, with "File Creation Error - Unable to rename/copy audio file" Error.

    Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With either "speakers" or "microphone" selected, the captured file has poor audio and no video. Re-capture efforts (speakers) get "Invalid capture file error" and "File Creation error- Unable to rename/copy audio file"
    The paid upgrade of "Converter" doesn't work.
    Instructive documentation - not very good.
    Suggestions - Need time delay between initiation of "Record" and starting the video to be recorded.
    Could use timer tracking of the record process.
    Are there operating system limitations? (Have Windows XP Pro)

    That is an issue for the developer of that Download Helper.

  • Multiple file creation

    Hi.
    I have to create multiple files for mulitiple plants entered through select-options.
    I have done this for single file but not getting the idea how to do it for multiple files.
    <u><b><b>My work:</b></b></u>
    *File creation
        CONCATENATE
                    c_path               "file path
                    c_qm                 " 'QM'
                    c_underscore         "underscore
                    c_results            " 'RESULTS'
                    c_underscore
                    s_werks              "plant
                    c_underscore
                    sy-datum+4(2)        "system date
                    sy-datum+6(2)
                    sy-datum+0(4)
                    c_underscore
                    sy-uzeit+0(2)        "system time
                    sy-uzeit+2(2)
                    c_ext                "file extension
               INTO g_file_name.
      ENDLOOP.
    Open File on the application server for processing
      OPEN DATASET g_file_name FOR OUTPUT IN TEXT MODE
      ENCODING DEFAULT.
      IF sy-subrc NE 0.
    *Display error message
        MESSAGE i055.              " Error in opening file
        LEAVE LIST-PROCESSING.
      ELSE.
        LOOP AT i_final INTO wa_final.
          TRANSFER wa_final TO g_file_name.
        ENDLOOP.
      ENDIF.
      CLOSE DATASET g_file_name.
    Then i am updating the database table using i_update
    Work Area for Z_DATADOWNLOAD table
    DATA: l_wa_update TYPE ztable
      l_wa_update-prog_name    = g_repid.
      l_wa_update-plant        = s_werks.
      l_wa_update-last_run_dt  = g_sysdate.
      l_wa_update-last_run_tm  = g_systime.
      MODIFY ztable FROM l_wa_update.
    Pls let me know how to manage this for multiple files.

    Hi Simran.
    Consider this code.
    REPORT zztest.
    TABLES : t001w.
    *Declare one Internal table for werks
    DATA :BEGIN OF it_werks OCCURS 0,
          werks TYPE t001w-werks,
          END OF it_werks.
    *Select options
    SELECT-OPTIONS : s_werks FOR t001w-werks.
    START-OF-SELECTION.
    *GEt all the plants entered in selection screen from
    *DB table <b>T001W (Plants/Branches)</b>
      SELECT werks FROM t001w INTO TABLE it_werks WHERE werks IN s_werks.
    *Loop that internal table
    <b>  LOOP AT it_werks.</b>
        CONCATENATE
        c_path "file path
        c_qm " 'QM'
        c_underscore   "underscore
        c_results      " 'RESULTS'
        c_underscore
       <b> it_werks-werks    "Plant</b>
        c_underscore
        sy-datum+4(2)    "system date
        sy-datum+6(2)
        sy-datum+0(4)
        c_underscore
        sy-uzeit+0(2)  "system time
        sy-uzeit+2(2)
        c_ext "file extension
        INTO g_file_name.
    <b>*Now you have the file path for the werks
    *Open File on the application server for processing</b>
        OPEN DATASET g_file_name FOR OUTPUT IN TEXT MODE
        ENCODING DEFAULT.
        IF sy-subrc NE 0.
    *Display error message
          MESSAGE i055. " Error in opening file
          LEAVE LIST-PROCESSING.
        ELSE.
          LOOP AT i_final INTO wa_final.
            TRANSFER wa_final TO g_file_name.
          ENDLOOP.
        ENDIF.
        CLOSE DATASET g_file_name.
    * Then i am updating the database table using i_update
    * Work Area for Z_DATADOWNLOAD table
        DATA: l_wa_update TYPE ztable
        l_wa_update-prog_name = g_repid.
        l_wa_update-plant = s_werks.
        l_wa_update-last_run_dt = g_sysdate.
        l_wa_update-last_run_tm = g_systime.
        MODIFY ztable FROM l_wa_update.
    *Pls let me know how to manage this for multiple files.
    <b>  ENDLOOP.</b>
    Regards,
    Arun Sambargi.

  • 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

  • How can I change the file creation date?

    I recently downloaded more than 1,000 photos from my vacation. I'm preparing to burn DVDs for a friend, and I noticed that when I copy the photos to the desktop, they don't all have the same date. I have read a couple of discussions here about the difference between photo creation date and file creation date, and I understand the difference. But something seems odd to me.
    For purposes of illustration, let's take two photos: "A" was taken with the camera in the landscape position (how one normally holds a point-and-shoot); "B" was taken with the camera held in the portrait position (rotated 90 degrees). The photos were taken on April 24, about three minutes apart, but not imported into iPhoto until May 19.
    In iPhoto, both files show the actual creation date. Yay!
    The problem is with the files after having been copied to the desktop.
    When copied to the desktop, the info panel for photo "A" shows April 24 for both the "created" and "modified" dates. Photo "B," however, shows May 19 for the "created" and "modified" dates.
    Apparently, when the "B-style" photos were imported into iPhoto, the app automatically rotated them so that they are viewed correctly (without having to turn your head sideways). This is a very nice feature, but the result is that the file date changes.
    Is there any way to change this? I want the DVD to show the date the photo was created, not imported to iPhoto. Picky, I know … but I'm like that. 

    Apparently, when the "B-style" photos were imported into iPhoto, the app automatically rotated them so that they are viewed correctly (without having to turn your head sideways). This is a very nice feature, but the result is that the file date changes.
    Correct.  Your camera has an Auto-Rotate feature. However, the camera does not actually rotate any pixels in the file, but instead flags it with an instruction: "Display me this way". This is a tag in the Exif metadata. When you import a file with this tag iPhoto creates a modified version. It does this because most of the apps that integrate with it -  email clients, word processors etc - simply don't understand this Exif tag. So if you used the shot in a word processing doc, uploaded it to many Web site etc, the shot would come out sideways.
    iPhoto has nothing to say about File dates. There are various file utilities that will edit the dates on Files
    http://www.macupdate.com/app/mac/11143/a-better-finder-attributes
    for instance. But there are otheers, search on  MacUpdate
    Regards
    TD

  • How can you determine a file creation date and know if it's been altered since the creation date

    I need to know how to determine a file creation date on an ipad.  If someone creates a document/note on an ipad how can you tell when it was created and if it has been altered since?

    Unless you are using a third party app that provides that functionality, in iOS the only thing youcan access is the last edit/save date and time, which is fairly evident in the user interface for documents and notes. Some apps that handle MS Office files may provide that, but ican't say first hand.

  • 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.

  • Error encountered in Rapid clone (control file creation failed)

    hi all,
    i have 2- node ERP server running EBS 11.5.10 with database 9.2.0.5 and OS HP UX 11.11
    while running perl adcfgclone.pl dbTier
    i encountered the following error
    Verifying correctness of adcrdbclone.sql
    RC-00115: Not able to read temp001.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp002.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp003.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp004.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp005.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp006.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp001.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp002.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp003.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp004.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp005.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00115: Not able to read temp006.dbf
    Raised by oracle.apps.ad.clone.ApplyDatabase
    RC-00116: Error while reading dbf files. Control file creation will fail.
    an later part of log file
    Creating the control file for DVP_test database ...
    SQL*Plus: Release 9.2.0.5.0 - Production on Sun Jan 11 18:29:27 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 598700552 bytes
    Fixed Size          737800 bytes
    Variable Size          419430400 bytes
    Database Buffers     167772160 bytes
    Redo Buffers          10760192 bytes
    Control file created.
    Database altered.
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp001.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp002.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp003.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp004.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp005.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp006.dbf' REUSE
    ERROR at line 1:
    ORA-00959: tablespace 'TEMP1' does not exist
    but when i query v$tablespace it shows temporary tablespace is TEMP not temp1
    even on my production system the TEMPORARy Tablespace is TEMP
    when i see the alert file
    it says
    Tablespace 'TEMP' #2 found in data dictionary,
    but not in the controlfile. Adding to controlfile.
    File #143 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00143' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #144 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00144' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #145 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00145' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #146 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00146' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #147 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00147' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #148 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00148' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #149 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00149' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #150 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00150' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #151 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00151' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #152 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00152' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    File #153 found in data dictionary but not in controlfile.
    Creating OFFLINE file 'MISSING00153' in the controlfile.
    This file can no longer be recovered so it must be dropped.
    how can i come out though this confusion??

    i have opened the database but what about the next porcess now
    Beginning database tier Apply - Sun Jan 11 17:31:13 2009
    Log file located at /oradvp/ora/proddb/9.2.0/appsutil/log/DVP_test/ApplyDBTier_01110531.log
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    ERROR: Failed to execute adclone.pl
    Please check logfile.
    logfile says
    Checking for errors ...
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00959: tablespace 'TEMP1' does not exist
    ORA-00376: file 148 cannot be read at this time
    ORA-01111: name for data file 148 is unknown - rename to correct file
    ORA-01110: data file 148: '/oradvp/ora/proddb/9.2.0/dbs/MISSING00148'
    ORA-00600: internal error code, arguments: [1236], [], [], [], [], [], [], []
    ORA-24313: user already authenticated
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ORA-24313: user already authenticated
    ORA-01031: insufficient privileges
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 9.2.0.5.0 - Production on Sun Jan 11 18:30:01 2009
    Copyright (c) 1982, 2002, Oracle Corporation. 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 : test
    sDbDomain : khannapaper.com
    sDbPort : 1528
    sDbSid : DVP
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@test.khannapaper.com:1528:DVP
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HP-UX 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=test.khannapaper.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=DVP)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HP-UX 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=test.khannapaper.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=DVP.khannapaper.com)))
    Exception occurred: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093376)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    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:469)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:314)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:290)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:131)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
         at java.lang.Thread.run(Unknown Source)
    and why does it shows temporary tablespace TEMP1
    but in real it is TEMP
    i dropped around 50 days back from production and added TEMP to it

  • Control file creation failed while installing ---------R12 release 3

    While installing R12 release 3 I am getting following error at the time of Step 2 0f 5
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    following is summery of my server hardware
    HDD capacity 146GB X 10 nos. ( RAID5 with 2 arrays)
    8 GB RAM
    Operating System is Red hat Linux Enterprise 4 with Update 5
    Following are the HDD partition details
    Boot 1GB
    Root 50GB
    Tem 12GB
    SWAP 24GB distributed on two HDD partitions equally
    Database and Application HDD portion size 500GB
    I am refering Metalink note Note 402310.1 all the setting are correct
    Following is kernel settings
    kernel.sem = 256 32000 100 142
    kernel.shmall = 2097152
    kernel.shmmax = 4294967296 ( Half the size of the physical memory is 8GB )
    kernel.shmmni = 4096
    kernel.msgmax = 8192
    kernel.msgmnb = 65536
    kernel.msgmni = 2878
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    All the Pre-req.of installation are passing correctly
    •     glibc-2.3.4-2.25
    •     glibc-common-2.3.4-2.25
    •     binutils-2.15.92.0.2-21
    •     compat-libstdc++-296-2.96-132.7.2
    •     gcc-3.4.6-3
    •     gcc-c++-3.4.6-3
    •     libgcc-3.4.6-3
    •     libstdc++-3.4.6-3
    •     libstdc++-devel-3.4.6-3
    •     openmotif21-2.1.30-11.RHEL4.6**
    •     pdksh-5.2.14-30.3
    •     setarch-1.6-1
    •     make-3.80-6.EL4
    •     gnome-libs-1.4.1.2.90-44.1
    •     sysstat-5.0.5-11.rhel4
    •     compat-db-4.1.25-9
    •     control-center-2.8.0-12.rhel4.5
    •     xscreensaver-4.18-5.rhel4.11
    •     libaio-0.3.105-2
    •     libaio-devel-0.3.105-2
    these all packeges are avalable on the server some are even are the higher version because OS is with update 5
    Doen the installation 3 time with formating , but still facing same problem
    All Groups and Users and permitions are correct
    runProcess_3
    Statusstring Configuring Database
    Executing command: /stage/startCD/Disk1/rapidwiz/jre/Linux/1.5.0//bin/java -DCONTEXT_VALIDATED=true -mx512M -classpath /stage/startCD/Disk1/rapidwiz/jlib/java:/stage/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/stage/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar oracle.apps.ad.clone.ApplyDatabase -e /test/db/tech_st/10.2.0/appsutil/VIS_test.xml -stage /stage/startCD/Disk1/rapidwiz -showProgress -phase cfg -nopromptmsg
    Log file located at /test/db/tech_st/10.2.0/appsutil/log/VIS_test/ApplyDatabase_08271904.log
    | 0% completed
    / 0% completed
    - 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 VIS instance
    Succesfully changed Permissions for /test/db/tech_st/10.2.0/appsutil/log/VIS_test
    Processing DriverFile = /stage/startCD/Disk1/rapidwiz/template/adridb.drv
    Running Instantiation Drivers for /stage/startCD/Disk1/rapidwiz/template/adridb.drv
    instantiate file:
    source : /stage/startCD/Disk1/rapidwiz/template/adrun10g.sh
    dest : /test/db/tech_st/10.2.0/temp/VIS_test/adrun10g.sh
    backup : /test/db/tech_st/10.2.0/temp/VIS_test/adrun10g.sh to /test/db/tech_st/10.2.0/appsutil/out/VIS_test/templbac/adrun10g.sh
    setting permissions: 755
    setting ownership: oracle:dba
    instantiate file:
    source : /stage/startCD/Disk1/rapidwiz/template/adrundb.sh
    dest : /test/db/tech_st/10.2.0/temp/VIS_test/adrundb.sh
    backup : /test/db/tech_st/10.2.0/temp/VIS_test/adrundb.sh to /test/db/tech_st/10.2.0/appsutil/out/VIS_test/templbac/adrundb.sh
    setting permissions: 755
    setting ownership: oracle:dba
    Step 0 of 5
    Command: /test/db/tech_st/10.2.0/temp/VIS_test/adrun10g.sh
    Step 1 of 5: Doing UNIX preprocessing
    Processing Step 1 of 5
    Step 1 of 5
    Command: /test/db/tech_st/10.2.0/temp/VIS_test/adrundb.sh
    Step 2 of 5: Doing UNIX preprocessing
    Processing Step 2 of 5
    Executing: su oracle -c "/test/db/tech_st/10.2.0/temp/VIS_test/adrundb.sh"
    STARTED INSTALL PHASE : DATABASE : Mon Aug 27 19:06:52 IST 2007
    Preparing environment to install databases ...
    Setting LD_LIBRARY_PATH to - /stage/startCD/Disk1/rapidwiz/lib/Linux -
    Setting PATH to - /stage/startCD/Disk1/rapidwiz/jlib/java:/stage/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/stage/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar -
    Setting CLASSPATH to - /stage/startCD/Disk1/rapidwiz/jlib/java:/stage/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/stage/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/stage/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar -
         ... installing VISION demo database
    FINISHED INSTALL PHASE : DATABASE : Mon Aug 27 19:06:53 IST 2007
    su oracle -c "/test/db/tech_st/10.2.0/temp/VIS_test/adrundb.sh" has succeeded
    Succesfully changed Permissions for /test/db/tech_st/10.2.0/temp
    ===============================================================================
    NetServiceHandler 120.13 started for test at Mon Aug 27 19:06:54 IST 2007
    ===============================================================================
    [ Context Information ]
    Host : test
    Domain : apps.com
    Out Dir : null
    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 : test
    sDbDomain : apps.com
    sDbPort : 1531
    sDbSid : VIS
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@test.apps.com:1531:VIS
    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=test.apps.com)(PORT=1531))(CONNECT_DATA=(SERVICE_NAME=VIS)))
    java.lang.NoSuchFieldError: TDU
    Please refer to the remaining logs on applications node at - /test/inst/apps/VIS_test/logs/08271731.log
    Can Some one pls reply
    Thanks and Regards,
    Amol

    promptUserForDiskPath Oracle Applications Rapid Install - RDBMS & Disk number = 1
    Path Obtained by Instantiate File: /prod/stage/oraDB/Disk1 & Disk number = 1
    Processing /prod/stage/oraDB/Disk1/dbts/driver/db102.drv file
    ================================================================
    Processing the contents of : Disk1
    Processing the driver file : /prod/stage/oraDB/Disk1/dbts/driver/Disk1.drv
    UNZIPPING THE DISK1 CONTENTS
    UNZIP used: UnZip 5.51 of 22 May 2004, by Info-ZIP. Maintained by C. Spieler. Send
    Unzip0 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db58_opmn.zip at /test/db/tech_st/10.2.0/
    Unzip0
    .end std out.
    .end err out.
    Unzip0 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db58_opmn.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip1 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db74_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip1
    .end std out.
    .end err out.
    Unzip1 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db74_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip2 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db26_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip2
    .end std out.
    .end err out.
    Unzip2 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db26_javavm.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip5 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db23_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip5
    .end std out.
    .end err out.
    Unzip5 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db23_javavm.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip6 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db29_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip6
    .end std out.
    .end err out.
    Unzip6 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db29_javavm.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip3 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db22_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip3
    .end std out.
    .end err out.
    Unzip3 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db22_javavm.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip4 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db9_bin.zip at /test/db/tech_st/10.2.0/
    Unzip4
    .end std out.
    .end err out.
    Unzip4 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db9_bin.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip8 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db24_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip8
    .end std out.
    .end err out.
    Unzip8 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db24_javavm.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip9 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db27_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip9
    .end std out.
    .end err out.
    Unzip9 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db27_javavm.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip7 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db25_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip7
    .end std out.
    .end err out.
    Unzip7 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db25_javavm.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip12 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db73_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip12
    .end std out.
    .end err out.
    Unzip12 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db73_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip13 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db11_bin.zip at /test/db/tech_st/10.2.0/
    Unzip13
    .end std out.
    .end err out.
    Unzip13 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db11_bin.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip14 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db37_lib.zip at /test/db/tech_st/10.2.0/
    Unzip14
    .end std out.
    .end err out.
    Unzip14 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db37_lib.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip10 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db20_demo.zip at /test/db/tech_st/10.2.0/
    Unzip10
    .end std out.
    .end err out.
    Unzip10 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db20_demo.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip17 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db62_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip17
    .end std out.
    .end err out.
    Unzip17 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db62_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip15 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db54_rdbms.zip at /test/db/tech_st/10.2.0/
    Unzip15
    .end std out.
    .end err out.
    Unzip15 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db54_rdbms.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip16 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db42_lib.zip at /test/db/tech_st/10.2.0/
    Unzip16
    .end std out.
    .end err out.
    Unzip16 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db42_lib.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip11 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db19_demo.zip at /test/db/tech_st/10.2.0/
    Unzip11
    .end std out.
    .end err out.
    Unzip11 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db19_demo.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip20 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db8_bin.zip at /test/db/tech_st/10.2.0/
    Unzip20
    .end std out.
    .end err out.
    Unzip20 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db8_bin.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip19 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db1_appsutil.zip at /test/db/tech_st/10.2.0/
    Unzip19
    .end std out.
    .end err out.
    Unzip19 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db1_appsutil.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip21 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db33_jdk.zip at /test/db/tech_st/10.2.0/
    Unzip21
    .end std out.
    .end err out.
    Unzip21 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db33_jdk.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip18 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db40_lib.zip at /test/db/tech_st/10.2.0/
    Unzip18
    .end std out.
    .end err out.
    Unzip18 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db40_lib.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip22 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db72_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip22
    .end std out.
    .end err out.
    Unzip22 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db72_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip23 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db35_jlib.zip at /test/db/tech_st/10.2.0/
    Unzip23
    .end std out.
    .end err out.
    Unzip23 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db35_jlib.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip25 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db53_rdbms.zip at /test/db/tech_st/10.2.0/
    Unzip25
    .end std out.
    .end err out.
    Unzip25 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db53_rdbms.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip26 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db13_ctx.zip at /test/db/tech_st/10.2.0/
    Unzip26
    .end std out.
    .end err out.
    Unzip26 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db13_ctx.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip27 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db57_wf.zip at /test/db/tech_st/10.2.0/
    Unzip27
    .end std out.
    .end err out.
    Unzip27 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db57_wf.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip24 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db0_appsutil.zip at /test/db/tech_st/10.2.0/
    Unzip24
    .end std out.
    .end err out.
    Unzip24 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db0_appsutil.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip29 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db36_jre.zip at /test/db/tech_st/10.2.0/
    Unzip29
    .end std out.
    .end err out.
    Unzip29 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db36_jre.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip31 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db14_ctx.zip at /test/db/tech_st/10.2.0/
    Unzip31
    .end std out.
    .end err out.
    Unzip31 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db14_ctx.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip33 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db70_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip33
    .end std out.
    .end err out.
    Unzip33 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db70_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip28 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db2_appsutil.zip at /test/db/tech_st/10.2.0/
    Unzip28
    .end std out.
    .end err out.
    Unzip28 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db2_appsutil.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip32 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db68_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip32
    .end std out.
    .end err out.
    Unzip32 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db68_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip30 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db52_rdbms.zip at /test/db/tech_st/10.2.0/
    Unzip30
    .end std out.
    .end err out.
    Unzip30 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db52_rdbms.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip34 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db64_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip34
    .end std out.
    .end err out.
    Unzip34 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db64_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip37 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db76_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip37
    .end std out.
    .end err out.
    Unzip37 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db76_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip36 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db90_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip36
    .end std out.
    .end err out.
    Unzip36 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db90_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip35 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db44_md.zip at /test/db/tech_st/10.2.0/
    Unzip35
    .end std out.
    .end err out.
    Unzip35 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db44_md.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip40 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db80_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip40
    .end std out.
    .end err out.
    Unzip40 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db80_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip41 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db21_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip41
    .end std out.
    .end err out.
    Unzip41 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db21_javavm.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip42 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db30_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip43 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db49_nls.zip at /test/db/tech_st/10.2.0/
    Unzip38 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db31_inventory.zip at /test/db/tech_st/10.2.0/
    Unzip38
    .end std out.
    .end err out.
    Unzip38 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db31_inventory.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip39 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db3_appsutil.zip at /test/db/tech_st/10.2.0/
    Unzip39
    .end std out.
    .end err out.
    Unzip39 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db3_appsutil.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip44 - Start of native unzipping /prod/stage/oraDB/Disk1/dbts/stage/db28_javavm.zip at /test/db/tech_st/10.2.0/
    Unzip42
    .end std out.
    .end err out.
    Unzip42 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk1/dbts/stage/db30_javavm.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..AutoConfig is exiting with status 0
    Processing disk file : disk.label in /prod/stage/oraDB/Disk2
    Checking the content :disk.label
    All contents are valid.....
    =============================================================
    Processing the contents of : Disk2
    Processing the driver file : /prod/stage/oraDB/Disk2/dbts/driver/Disk2.drv
    UNZIPPING THE DISK2 CONTENTS
    Unzip45 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db60_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip45
    .end std out.
    .end err out.
    Unzip45 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db60_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip46 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db59_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip46
    .end std out.
    .end err out.
    Unzip46 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db59_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip47 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db61_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip47
    .end std out.
    .end err out.
    Unzip47 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db61_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip50 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db63_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip50
    .end std out.
    .end err out.
    Unzip50 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db63_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip48 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db39_lib.zip at /test/db/tech_st/10.2.0/
    Unzip48
    .end std out.
    .end err out.
    Unzip48 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db39_lib.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip49 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db65_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip49
    .end std out.
    .end err out.
    Unzip49 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db65_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip51 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db89_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip51
    .end std out.
    .end err out.
    Unzip51 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db89_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip52 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db77_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip52
    .end std out.
    .end err out.
    Unzip52 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db77_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip57 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db69_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip57
    .end std out.
    .end err out.
    Unzip57 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db69_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip55 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db81_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip55
    .end std out.
    .end err out.
    Unzip55 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db81_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip53 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db75_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip53
    .end std out.
    .end err out.
    Unzip53 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db75_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip56 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db83_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip56
    .end std out.
    .end err out.
    Unzip56 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db83_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip58 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db71_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip58
    .end std out.
    .end err out.
    Unzip58 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db71_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip54 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db79_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip54
    .end std out.
    .end err out.
    Unzip54 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db79_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip61 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db67_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip61
    .end std out.
    .end err out.
    Unzip61 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db67_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip60 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db87_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip60
    .end std out.
    .end err out.
    Unzip60 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db87_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip62 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db48_network.zip at /test/db/tech_st/10.2.0/
    Unzip62
    .end std out.
    .end err out.
    Unzip62 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db48_network.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip63 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db50_oui.zip at /test/db/tech_st/10.2.0/
    Unzip63
    .end std out.
    .end err out.
    Unzip63 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db50_oui.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip59 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db85_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip59
    .end std out.
    .end err out.
    Unzip59 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db85_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip65 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db4_appsutil.zip at /test/db/tech_st/10.2.0/
    Unzip64 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db32_jdk.zip at /test/db/tech_st/10.2.0/
    Unzip66 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db7_bin.zip at /test/db/tech_st/10.2.0/
    Unzip67 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db10_bin.zip at /test/db/tech_st/10.2.0/
    Unzip68 - Start of native unzipping /prod/stage/oraDB/Disk2/dbts/stage/db16_ctx.zip at /test/db/tech_st/10.2.0/
    Unzip68
    .end std out.
    .end err out.
    Unzip68 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db16_ctx.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip66
    .end std out.
    .end err out.
    Unzip66 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db7_bin.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip65
    .end std out.
    .end err out.
    Unzip65 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk2/dbts/stage/db4_appsutil.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..AutoConfig is exiting with status 0
    Processing disk file : disk.label in /prod/stage/oraDB/Disk3
    Checking the content :disk.label
    All contents are valid.....
    =============================================================
    Processing the contents of : Disk3
    Processing the driver file : /prod/stage/oraDB/Disk3/dbts/driver/Disk3.drv
    UNZIPPING THE DISK3 CONTENTS
    Unzip71 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db84_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip71
    .end std out.
    .end err out.
    Unzip71 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db84_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip73 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db66_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip73
    .end std out.
    .end err out.
    Unzip73 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db66_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip69 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db55_sysman.zip at /test/db/tech_st/10.2.0/
    Unzip69
    .end std out.
    .end err out.
    Unzip69 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db55_sysman.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip72 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db47_oc4j.zip at /test/db/tech_st/10.2.0/
    Unzip72
    .end std out.
    .end err out.
    Unzip72 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db47_oc4j.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip70 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db56_sysman.zip at /test/db/tech_st/10.2.0/
    Unzip70
    .end std out.
    .end err out.
    Unzip70 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db56_sysman.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip78 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db86_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip78
    .end std out.
    .end err out.
    Unzip78 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db86_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip74 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db45_oc4j.zip at /test/db/tech_st/10.2.0/
    Unzip74
    .end std out.
    .end err out.
    Unzip74 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db45_oc4j.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip76 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db34_jdk.zip at /test/db/tech_st/10.2.0/
    Unzip76
    .end std out.
    .end err out.
    Unzip76 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db34_jdk.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip79 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db78_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip79
    .end std out.
    .end err out.
    Unzip79 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db78_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip81 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db6_assistants.zip at /test/db/tech_st/10.2.0/
    Unzip81
    .end std out.
    .end err out.
    Unzip81 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db6_assistants.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip82 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db18_demo.zip at /test/db/tech_st/10.2.0/
    Unzip82
    .end std out.
    .end err out.
    Unzip82 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db18_demo.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip83 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db51_perl.zip at /test/db/tech_st/10.2.0/
    Unzip83
    .end std out.
    .end err out.
    Unzip83 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db51_perl.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip84 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db41_lib.zip at /test/db/tech_st/10.2.0/
    Unzip84
    .end std out.
    .end err out.
    Unzip84 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db41_lib.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip85 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db12_bin.zip at /test/db/tech_st/10.2.0/
    Unzip85
    .end std out.
    .end err out.
    Unzip85 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db12_bin.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip86 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db15_ctx.zip at /test/db/tech_st/10.2.0/
    Unzip86
    .end std out.
    .end err out.
    Unzip86 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db15_ctx.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip87 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db38_lib.zip at /test/db/tech_st/10.2.0/
    Unzip87
    .end std out.
    .end err out.
    Unzip87 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db38_lib.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip80 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db88_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip80
    .end std out.
    .end err out.
    Unzip80 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db88_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip77 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db46_oc4j.zip at /test/db/tech_st/10.2.0/
    Unzip77
    .end std out.
    .end err out.
    Unzip77 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db46_oc4j.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip75 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db17_demo.zip at /test/db/tech_st/10.2.0/
    Unzip75
    .end std out.
    .end err out.
    Unzip75 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db17_demo.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip89 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db43_lib.zip at /test/db/tech_st/10.2.0/
    Unzip88 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db82_.patch_storage.zip at /test/db/tech_st/10.2.0/
    Unzip90 - Start of native unzipping /prod/stage/oraDB/Disk3/dbts/stage/db5_assistants.zip at /test/db/tech_st/10.2.0/
    Unzip89
    .end std out.
    .end err out.
    Unzip89 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db43_lib.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..Unzip88
    .end std out.
    .end err out.
    Unzip88 - Completed native unzipping unzip -qn /prod/stage/oraDB/Disk3/dbts/stage/db82_.patch_storage.zip -d /test/db/tech_st/10.2.0/
    Thread exiting ..AutoConfig is exiting with status 0
    AutoConfig is exiting with status 0
    AutoConfig is exiting with status 0
    Pls check NO ERROR found

  • 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

  • Excel file creation on application server

    Gurus,
    I have seen a lot of threads on excel file creation in application server, but failed to see if anyone had a solution.
    Problem: In background execution I need to create an excel sheet on application server, the data would be contained in internal table, The FM like WS_DOWNLOAD etc..cannot support these as they have GUI component.
    All the documentation that I have been through states to use dataset which saves the file in.csv or txt format seperated by delimiter, is it possible to save as a true excel file.
    same as this thread:
    Re: Excel download in Application Server
    let me know,
    Thanks in advance .

    * Write column headers, if required
      IF column_headers = 'X'.
    *   ... override field names with LABELS_IN, if specified
        IF NOT labels_in[] IS INITIAL.
          DESCRIBE TABLE labels_in LINES num_lines.
          IF num_lines > num_fields.
            RAISE too_many_labels.
          ELSEIF num_lines < num_fields.
            RAISE too_few_labels.
          ENDIF.
          ASSIGN COMPONENT 1 OF STRUCTURE labels_in TO <f>.
          LOOP AT fields_in.
            READ TABLE labels_in INDEX sy-tabix.
            fields_in-name = labels_in-name.
            MODIFY fields_in.
          ENDLOOP.
        ENDIF.
    *   ...write column headers to file...
        position = 0.
        LOOP AT fields_in.
          IF fixed_length NE space.
    *** INSERT: DAR was here for Issue 17817 --------------- dar012009 ---v
            field_len = STRLEN( fields_in-name ).
    *** INSERT: DAR was here for Issue 17817 --------------- dar012009 ---^
            DO fields_in-len TIMES.
              offset = sy-index - 1.
    *          IF sy-index > 15.                                 dar012009
              IF sy-index > field_len.                          "dar012009
                line_out+position(1) = space.
              ELSEIF fields_in-name+offset(1) NE space.
                line_out+position(1) = fields_in-name+offset(1).
              ELSE.
                line_out+position(1) = space.
              ENDIF.
              position = position + 1.
            ENDDO.
          ELSE.
            CONCATENATE line_out fields_in-name INTO line_out
              SEPARATED BY delimiter.
          ENDIF.
        ENDLOOP.
        IF fixed_length EQ space.
          SHIFT line_out LEFT DELETING LEADING delimiter.
        ENDIF.
        IF no_write IS INITIAL.                                 "dar041505
          TRANSFER line_out TO file_out.
        ENDIF.                                                  "dar041505
        data_out = line_out.  APPEND data_out.                  "dar041505
      ENDIF.
    * Write lines to file...
      LOOP AT data_in.
        CLEAR line_out.
        position = 0.
        DO num_fields TIMES.
          ASSIGN COMPONENT sy-index OF STRUCTURE data_in TO <f>.

  • Get the file creation date

    hi friends..
    i searched many forums to get file creation date
    i didnt get the solution but i found one program which execute
    dos command and gets the output of that.
    so using that program i developed a program to get the file creation Date & Time also
    //getCreationDate.java
    import java.io.*;
    import java.lang.*;
    public class getCreationDate {
    public static void main (String args[]){
      try {
         // get runtime environment and execute child process
         Runtime systemShell = Runtime.getRuntime();
          BufferedReader br1=new BufferedReader(new InputStreamReader(System.in));
          System.out.println("Enter filename: ");
          String fname=(String)br1.readLine();
         Process output = systemShell.exec("cmd /c dir "+fname);
           // open reader to get output from process
         BufferedReader br = new BufferedReader (new InputStreamReader(output.getInputStream()));
         String out="";
          String line = null;
          int step=1;
          while((line = br.readLine()) != null )
                if(step==6)
               out=line;
                step++;
                }          // display process output
          try{
          out=out.replaceAll(" ","");
          System.out.println("CreationDate: "+out.substring(0,10));
          System.out.println("CreationTime: "+out.substring(10,16)+"m");
          catch(StringIndexOutOfBoundsException se)
               System.out.println("File not found");
       catch (IOException ioe){ System.err.println(ioe); }
       catch (Throwable t) { t.printStackTrace();}
    }

    Following line should be modified to make it work on all platforms:
    Process output = systemShell.exec("cmd /c dir "+fname);

  • How can I get the File Creation Date OR Last modification date of the incoming file in my message?

    I need the Last Modification Date and the File creation date of the consumed file in my message, is it possible to do that using a custom pipeline component in decode stage or any other way? The FILE namespace have File creation time that actually gives
    the time the file was dropped in receive location, not the actual creation time. Also this namespace doesn't have the Last Modification Date.

    Yes,
    As per MSDN, "File.FileCreationTime" - "Defines the time that the file was written to the folder that is monitored by the File receive
    adapter."
    So for File Modified DateTime, only option I can think of is create a custom file adapter (updating the File Adapter code from SDK ..\SDK\Samples\AdaptersDevelopment\File Adapter) and access the received file with the code something like the following, which
    you give you the Last Modified date
    string sLastModifiedDate = File.GetLastWriteTime(path).ToString();
    If there are any business requirements which drives you this, then this the only way I can think of. Because you can access the file properties only in adapter, when it passes through adapter file is handled as stream and you will only have context properties
    to access the file related properties.
    If you're looking for implement this for any audit purpose or for your any technical purpose, then you can suggest some alternate than using File updated datetime.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Perl adcfgclone.pl dbTier  fails on control file creation

    Hi Guys,
    Platform is : Linux 5
    DB: 11.1.0.7
    R12.1.1
    I have a temp file that had been removed at the OS level.. on the source And I want to updated the control file regarding this so that it does not record this file any more.
    I am using rapid clone (EBS) to cone this source database unto the target but is failing on the target control file creation as it's trying to find the temp file that had been removed at the source. OS level.
    So I will like to update the control file on the source so that it does not reflect this dropped temp file any longer and then do the clone again.
    So What's the best way to achieve this or please point me to a metalink note:
    Also below are the rrors from the rapid clone
    /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u04/oracle/ASCPT/db/tech_st/11.1.0/oui -classpath /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc6.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/java:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/ewt3.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/share.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/srvm.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/DEV2_irvstjunx084.xml -stage /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone -showProgress
    APPS Password : Log file located at /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/log/DEV2_irvstjunx084/ApplyDBTier_05140928.log
    / 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    I had tried modifying the the file adcrdbclone.sql in which is caled by <RDBMS $ORACLE_HOME>/appsutil/template/addbtmpl.drv by removing the temp file that does not exist .
    and then ran perl adcfgclone.pl dbTier again but still failed on the control file creation.
    Please advise
    Thanks in advance

    Hi Helios ,
    Thanks for getting back to me.
    I found that the issed was that there is a datafile that was dropped at the source at the OS level ... ( A mistake by one of support staff).
    So How can I modify the control file creation at the target not to reference the data file that does not exist. I have tried removing it as stated in my previore post but it stall fails at the control file creation
    Please adivise

  • 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

  • IPhoto file creation date inconsistencies during drag and drop

    I have noticed that if I drag and drop a photo from iPhoto to Finder, the file creation dates in Finder are inconsistent.
    (This question is related to drag and drop only and not File->Export, which always uses the export date and timestamp for the file creation date and thus does not suit my needs).
    TEST A -- If the EXIF DateTimeOriginated is 01/01/2013, and today's date is 03/03/2013, then:
    In some cases when I drag a file to Finder, the EXIF date is used as the file modification/creation date in Finder
    In some cases, today's date is used as the file modification/creation date in Finder
    In some cases, a date in between the EXIF date and today's date is used
    It appears that for case A1, these are files that do not have a modified copy.  That is, if you select the photo in iPhoto and then click "File" -> "Reveal In Finder", the "Modified File" choice will be greyed out.
    For cases A2 & A3, iPhoto has inexplicably decided to create modified versions of these files either today or sometime in the past.
    TEST B -- I have read that unexplained modifications are tied to the auto-rotate function in cameras, and it does seem to be the case when I performed the test below:
    Select a large group of landscape format photos (these would not have been auto-rotated), then drag and drop to Finder.  The file creation dates are set to the EXIF date
    Add some portrait photos to the group in (1).  Now the file creation date of ALL photos including the non auto-rotated photos are set to the current date
    The behaviour in B2 is clearly wrong, since the landscape photos should be the same as in B1.  This is bug #1.
    Furthermore, iPhoto appears to be inconsistent with when these modifications are made.  For example, I dragged & dropped an auto-rotated photo on 02/02/2013, then dragged & dropped it again today, then the file creation date in Finder (and also the date of the modified file in iPhoto, as shown in iPhoto File->Reveal In Finder->Modified File) can either the EXIF date (01/01/2013), the late of the last drag & drop (02/02/2013), or today's date (03/03/2013); there does not appear to be any rhyme or reason to this.  This is bug #2.
    In any case, saying "you should never use drag & drop in iPhoto" (as I have read in some other forum posts) isn't a solution, because Apple should either (a) support this function correctly or (b) remove it altogether.  Furthermore, I regularly burn photos to disk for others so having the file date and timestamps correctly set to the EXIF date helps keeping the photos sorted in the directory listings for multiple OS, so File->Export isn't a solution.

    File data is file data. Exif is photo data. A file is not a photo.  It's a container for a photo.
    When you export you're not exporting a file. You're exporting a Photo. The medium of export is a new file. That file is created at the time of export, so that's its creation date. The Photo within that file is dated by the Exif.
    There are apps that will modify the file date to match the Exif.
    The variation you're seeing is likely due to the changes in how the iPhoto library works over the past few versions. Drag and drop is handy, but is not a substitute for exporting, nor intended to be.

Maybe you are looking for