Shell Creation : Export Database

To create the target system with shell creation :
1. I've create control file in the folder E:\sapinst (*.TPL and *.STR)
2. I've execute the steps "Define Environment Parameters and Excluded Tables"
3. I've executed sapinst --> Export Preparation. The sapinst folder is :
C:\Program Files\sapinst_instdir\NW04S\LM\COPY\ORA\EXP\CENTRAL\AS\PREEXP
4. Now I would like to execute sapinst --> Database Instance Export, but my question is : where and when I must copy the fles create in step 1 ?
Thank's in advanced
Francesc

Hi
You have to make sure that the export process uses your current installation directory i.e. E:\sapinst (for your case) and not the default one i.e. C:\Program Files\sapinst_instdir. That is the main requirement of Shell creation process.
To achieve the same you may need to do the following -
> Incase you are not using migration monitor then you should start the export process from the current installation directory (E:\sapinst) and you should start the SAPINST tool with the parameter SAPINST_CWD and set it to E:\sapinst. for ex.-
e:\sapinst>J:\xxx\yyy\xxx\zzz\SAPINST SAPINST_CWD=E:\sapinst
> Incase you are using migration monitor then you should start it in manual mode and you should specify it to use E:\sapinst as the installation directory.
I hope this helps
Regards
Pankaj.

Similar Messages

  • Please provide me unix shell script (export and import of database schema)

    please i am new in unix
    \please give me sample unix shell script (export and import of database schema)

    please i am new in unix
    \please give me sample unix shell script (export and import of database schema)Instead of providing you the readymade unix shell script for your requirement, I will give you the hints to prepare the same at your own.
    Create a file with .sh extension.
    # Specify and set all required Environment variables.
    ORACLE_HOME, PATH, NLS_LANG, etc.,
    # Use the export command with all clauses
    export scott/tiger@orcl file=scott.dmp log=scott_emp.log
    # Compress it.
    compress scott.dmp
    Refer any unix/linux documents for scripting basics.
    http://www.bijoos.com/ora7/oracle_unix.htm
    Regards,
    Sabdar Syed.

  • TDMS 3.0 for ERP 6.0:  step by step procedure for  TDSH6 Shell creation

    Dear All,
    I need to perform shell creation. I have never done this and need help with step by step instructions.
    I need to refresh my my development system with a TDMS shell creation from production client in production system.
    I am familiar with TDTIM and performed many TDTIM copies. I have gone throught the master and operational guides for TDMS also.
    I would try to list down my understanding so far after reading the guides.
    Please correct me if I am wrong ang also suggest correct steps.
    1. All my three systems (central, sender and receiver) are ready from installation point of with with authorizations and latest SPs.
    2. I log into Central/Control system and start a new package  "ERP Shell creation package for AP Release higher 4.6 "
    3. AS I have never executed this option I do not know what are the stps inside it.
       But I assume I should be asked for the source client details from which shell needs to be creates. (000 or pruduction client)
       What type of shell  : slave or master?
    4. During the shell creation from sender system client, is there a downtime for sender system.
    5. Once the shell creation is done an export dump will created.
    6. I perform all the preprocessing steps of a homogenous system copy on the receiver systems.
    7. Stop receiver system, start sapinst  database instance installation with homogenous system copy with R3load option.
    8. Provide the export dump location to sapinst.
    9. After database instance is installed, perform system copy specific post processing steps.
    10. Afte the system is ready it has only one client 000 now available in development system and  i need to create a new cleint from 000 which will act as my new development cleint.
    I request all you experts to please provide your comments at the earliest as activity would be starting from 5th of this month.
    Regards,
    Prateek.

    Hi,
    Let me answer your questions.
    Some queries
    1. Is there a downtime for Production system (sender system).
       SAP recommends that nothing much should be going on during the export of the Sender(PRoduction) system, but so far i have never encountered an issue doing the export in online mode.
    2. Shell creation works on both Production and 000 client or only Production client,
       Be carefull!!! - A Shellcreation is a normal Homogenous Systemcopy using R3load. You will create a 'new' system with the DDIC and clientindependent customization of the Sender system. ALL former data of the target system will be deleted.
    You mention that you will refresh a development system that way. Please be aware of the implications that a development refresh contains. That said. After the refresh you will have the 000 client and parts (users ... authorizations of sonder) of the other clients on the new system.
    3. when I import the the dump using sapinst, how many clients are available in receiver systems.
    See above. All client configuration will be available, but nearly no data will be in these clients except 000. A manual part of the Shellcreation is to clean up the target system (delete the clients that are not needed) This is a fast process.
    4. Soem where in the guide it is mentioned that downtime depends on the type of shell I create.
    Kindly suggest should I create a master shell or slave.
    Hm. The master shell is just a concept that you create a complete new system and put that system into your transport landscape without filling it with data. You can then use that system as the source for a normal (database dependent) systemcopy without impacting your prod system. The result is a very small copy that can be repeated very often without an impact to prod/QA...
    Downtime is as described in point1 not required
    5. Once I execute this activity of shell creation for lets say receiver system A, then can I use the same export dump for second receiver system B.
    Yes
    6. Lastly please suggest the activity execution time as customer has provided us 2 days to execute this activity.
    This depends on your knowledge of homogenuous systemcopies and the preparation + some items like size of stxl  and other tables that will be exported/imported.  If you are very familiar with the systemcopy process using R3Load 2 days are feasable.
    I have seen shellcreations done within 1-2 days but also much longer ones!
    As a prerequisite i would always recommedn to have the latest R3* + migmon exe available on sender + target.
    I hope i have clarified some of your items.
    Best Regards
    Joerg

  • TDMS for BI - shell creation and SMIGR_CREATE_DDL

    If a homogeneous system copy of a BI system is done, it's necessary to run the job SMIGR_CREATE_DDL because depending on what database is used, special SQL scripts for tables must be used (concerning primary keys).
    How does that integrate into a shell creation? Is the shell creation process aware of those scripts? I mean, it's theoretically possible that the SQL scripts has a table that is excluded from being transferred?
    Markus

    Markus and Pankaj:
    I have created a SHELL (BW) using Markus' way as listed below.
    Because Markus did not mention that SMIGR_CREATE_DDL should be run at the beginning, so I did not run it.
    So how to determine in the created shell what is missing?
    We do have partitioned tables and bitmap indexes.
    Thanks!
    Here is the way provided by Markus:
    I basically do shell creation as follows:
    - install the latest system copy tools (R3load, R3ldctl, R3szchk, libdb<database>slib.dll)
    - create an installation directory and give full permissions to <sid>adm and SAPService<SID>
    - create a directory for export location and give full permissions to <sid>adm and SAPService<SID>
    - open a cmd.exe as <SID>adm, step to the installation directory and execute "R3ldctl -l R3ldctl.log -p ." (note the "dot" which means actual directory)
    - in parallel start the client export of client 000 in source system using SCC8 (profile SAP_ALL) and note the file names you get in the last dialog window
    - when R3ldctl is finished give permissions to SAPService<SID> for all files in the installation directory
    - proceed with TDMS
    - when you are at the point to start the system copy start sapinst, choose system copy and select start migration monitor manually (VERY important!)
    - sapinst will run R3ldctl, R3szchk and then prompts you to start migration monitor
    - step to your normal installation directory (c:\program files\sapinst_instdir....), open export_monitor_cmd.properties and adapt the file. The import thing is, that you need to point to YOUR DDL<DB>.TPL file you create in step 4 (in my list here)
    - start export_monitor.cmd and export the system
    - proceed with TDMS to adapt the database sizes (DBSIZE.XML)
    Import:
    - if you have an already installed system uninstall it
    - start sapinst normally, choose system copy and point to the export you created
    - install the system normally (as a new installation)
    - if you want to make sure the import works as the export choose "start migration monitor manually"
    - if sapinst stops and requests you to start migration monitor copy the kernel from source system to target system
    - configure import_monitor_cmd.properties and start migmon
    - logon in client 000, start transaction STMS and create a domain (basically only a transport profile will be created)
    - start program BTCTRNS1 (this will suspend all jobs from the source system but not delete them)
    - copy the files from the client copy to TRANSDIR/cofiles and TRANSDIR/data and import them to client 000 (either use STMS or use command line tp)
    - adapt profile parameters (RZ10)
    - run SGEN
    - invalidate connections in SM59 that point to other production systems
    - finished
    - to re-enable all the jobs run BTCTRNS2, however, I'd do this only if you're sure you have invalidated RFCs and or sending jobs (e. g. from SCOT)

  • Migration monitor in TDMS shell creation

    Hi,
    I am working on a TDMS shell creation for ECC system, I have few question..
    1) Is it mandatory to run migration monitor manually while in both exporting and importing database with R3load option in tdms shell creation or only while running R3load export?
    2) How to run export monitor activity in background?
    3) How to parallel R3load processes to export a single package instead running one r3load for each package?
    OS: AIX
    DB: DB2
    SAp ECC 6
    Thanks
    Praveen

    Answers to your questions are below -
    1) It is mandatory during the exports of data from the source system.
    2) It should not be run in background
    3) Use table splitting using R3TA, but that should be done before exports.

  • SAP TDMS System Shell creation

    Hello,
    I am new to SAP TDMS. I want to know about System shell creation.
    Is System shell used to create a totally "new system" or can it be done on an existing system? Can it be done on an existing system by using a separate client??
    If we use existing system what happens to its already present data. As per the Operations guide it says we need to do a Homogeneous system copy by using TDMS tools.This will delete the data in existing system.So does it mean all database content will be deleted or only the client specific data?
    Many Thanks.
    Ravindra

    You can get more details  from the following documents:
    Operations Guide
    http://service.sap.com/instguides -> SAP Components -> SAP Test Data Migration Server -> TDMS 3.0
    Security Guide
    http://service.sap.com/security -> Security in Detail -> SAP Security Guides -> SAP Test Data Migration Server

  • Shell Creation after SAPINST Error: Graphics profile STRW, SWBOCUSTOMIZ

    Hi all
    we had finisehd Shell Creation and SAP live but now we had some graphical problems  Graphics profile STRW, SWBOCUSTOMIZ.
    Do we have create some error or has somebody a idea what we could do ?
    OBJECTS_OBJREF_NOT_ASSIGNED_NO
    CX_SY_REF_IS_INITIAL
    66 definition_instance = lrh_system_container.
    67 ENDIF.
    68 **** In case we read the method container: hook it on as an include.
    69 IF lrh_method_container IS NOT INITIAL.
    70 CALL METHOD lrh_task_container->include_set
    71 EXPORTING
    72 name = mc_method_cont_include_name
    73 included_container = lrh_method_container
    74 cascaded_save = space.
    75 ENDIF.
    76
    77 IF im_container_id IS SUPPLIED.
    78 CALL METHOD lrh_task_container->set_guid
    79 EXPORTING
    80 guid_32 = im_container_id.
    81 ENDIF.
    82 IF im_persistence_classname IS SUPPLIED.
    83 CALL METHOD lrh_task_container->set_persistence <-ERROR
    84 EXPORTING
    85 persistence_classname = im_persistence_classname
    86 overwrite = 'X'.
    87 ENDIF.
    88
    89 ex_task_container = lrh_task_container.
    90
    91 CATCH cx_swf_ifs_exception.
    Thanks for help.

    > Do we have create some error or has somebody a idea what we could do ?
    I'd create a client copy (SAP_UCSV) from the source system.
    Markus

  • Shell creation issue

    Dear experts, I've got a question regarding shell creation of TDMS.
    I've finished the export from ECC IDES system (SR3). The size of export files are over 30GB... is it normal? Can I reduce the data? Since it'll take me more than 200GB disk in target system.
    Is it been setup in the step of "Determine Tables to be Excluded from the Export"?
    Which data can be reduced in the table regarding IDES shell creation?
    Thanks!

    Hi Jett
    Your first question is not very clear to me -
    Seems that, the data folder of export is still the same as before. Is it normal?
    >I think you mean to say that the size of the data folder of export is of same size as before. Yes that is normal. However i feel the doubt that remains in your mind is that you want to be sure that its doing a reduced transfer and not a full transfer. Well you cant make a decision based on the size of the export folder. To decide that you can do the following -
    Pick one excluded table and in the exports folder try to search for its existence in the .TOC files. If you find it in any of the .TOC files then it indicates that a full transfer is happening instead of a reduced one. If you dont find it in .TOC but you find that excluded table in .STR files that indicates that a reduced transfer is happening and everything is fine. The existence of the excluded table in .STR file indicates that the structure information of the excluded table will be transferred although the data is not getting transferred.
    Regarding your second set of queries -
    Please understand that there are two parts to shell creation one is excluding the data to be transferred for a set of tables, so no data at all get transferred to the target system for all the excluded tables. Second part is that how much filespace (on target system) should be allocated to tables which are there in the excluded tables list, by default the import process will assign same space to a table in target system as the space allocated to it in the source system. So if a table for which no data is getting transferred was of size say 10 MB in sender so the import process will allocate a filesize of 10 MB to the table in target system also although it will be blank. To avoid this and to reduce the overall size of target system, we reduce the sizes that should be allocated to the excluded tables in the target system in the activity "Determin and Modify Size of Tables".
    Now for the question what do the ratios mean and on what basis do we assign the ratios-
    >Say for example Ratio20 means that the import process will assign 20% of the original size (in sender system) to the table in the target system. Regarding on what basis are the ratios determined - The ratios are determined on the basis that how much data do you expect each table to hold later on. So this depends on which process of TDMS (vis TDTIM, TDMDC, TDTCC) do you want to execute after shell creation. In case of TDTIM process type it may also depend on the period for which you want to transfer the data. For this reason we have provided various templates (vis TDTIM, TDMDC etc) in the activity "Determin and Modify Size of Tables". So we have tried to build this intelligence into the system. So if you want to excute a TDMDC scenario after shell creation then you should choose the template TDMDC in the activity "Determin and Modify Size of Tables" and the system will automatically assign defferent ratios to different tables.
    In my last post i had suggested that if you want to further reduce the size of your target system (although the assigned template will automatically reduce the size of the target system) you can do the same by further reducing the ratios for the tables for which you dont expect much data to be transfered. This functionality of altering ratios for certain table or set of tables is available in the activity "Determin and Modify Size of Tables". SAP already delivers ratios which will be optimum for different tables, if you want to override those setting and provide your own ratios then it should be done at your own risk.
    I hope this post explain you the entire concept. In case you have some doubt feel free to write again.
    Regards
    Pankaj.

  • Shell Creation does also copie : Job's; Work flow ...

    Hi all
    We will do a shell creation to manage our Development system ( like kill all old rubbish ).
    my question we will do a shell creation from our Productive system
    Shell Creation does also copies follows:
    JOB's -> if no we have 400 Jobs how could i copies these to our "new" System
    Work flow / Plan version ->if no what could i do?
    Code Inspector ->if no what could i do?
    Variants -> if no i could transport wit the report for export Variant ( OSS )
    ABAP    Version i know its not transported we have to export but know SAP if we import the Version file that some ABAPs miss ( because we don't want )
    Thanks in Advance
    Lou

    > Shell Creation does also copies follows:
    > JOB's -> if no we have 400 Jobs how could i copies these to our "new" System
    > Work flow / Plan version ->if no what could i do?
    > Code Inspector ->if no what could i do?
    > Variants -> if no i could transport wit the report for export Variant ( OSS )
    All this will be part of the shell system. It's basically your production system without any transactional data.
    > ABAP    Version i know its not transported we have to export but know SAP if we import the Version file that some ABAPs miss ( because we don't want )
    How should "SAP know" that?
    Markus

  • TDMS shell creation  - R3szchk running longtime

    Hi,
    I am running a shell creation package, in Export ABAP phase R3szchk running long time and there is nothing written to log file
    -rw-r-----    1 root     sapinst           0 Oct  4 19:56 /tmp/sapinst_instdir/ERPEhP4/LM/COPY/DB6/EXP/CENTRAL/AS-ABAP/EXP/R3szchk.exe.log
    where else I can check to find out the issue?
    Thanks
    Din

    Thanks Pankaj for the valuable information.
    ---The size of exports may depend on the data in your client independent tables. There are certain client indepedent table which hold a lot of data for example STXL, STXH and DYNP* tables. It also depends on the volume of custom development that you have done in your systems. Most of the client independent tables are exported in full duing shell.
    I could understand that. I ran an optional activity u201CCheck size of large tables (optional)u201D  in TDMS Shell package, it returns witj some large tables, such as
    STXH- 190,854,900 KB
    STXL- 26,819,840 KB
    DYNPSOURCE- 20,452,251 KB, some of these are independent and some are dependent tables. For ex. STXH is dependent table with size 190GB, does it means that this table will be exported in full during shell export?
    However, you need to be sure that because of certain mistakes you are not exporting the complete system (including application data). As stated by Marcus, you need to make sure that you are using Migration monitor in manual mode and that you configure the Migration monitor control file with correct parameter values.
    I think I configured import monitor control file correctly and started it manually.
    Here is the import monitor startup log:
    Export Monitor is started.
    CONFIG: 2011-10-05 00:49:22
    Application options:
    dataCodepage=4102
    dbType=DB6
    ddlFile=/shell_install/DDLDB6.TPL
    ddlMap=
    exportDirs=/shell_export/ABAP
    ftpExchangeDir=
    ftpExportDirs=
    ftpHost=
    ftpJobNum=3
    ftpPassword=*****
    ftpUser=
    host=
    installDir=/shell_install
    jobNum=6
    loadArgs=
    mailFrom=
    mailServer=
    mailTo=
    monitorTimeout=30
    netExchangeDir=
    orderBy=name
    port=
    r3loadExe=
    server=
    taskArgs=
    trace=all
    tskFiles=yes
    Thanks
    Din

  • RC-00118: Error occurred during creation of database

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

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

  • I got error when I export database ORACLE 9i from solaris 9.

    I want to export full database ORACLE 9i from SOLARIS 9 to import full database on ORACLE 9i on windows.
    I set oracle environment and NSL_LANG with command:
    bash-3.00$ export ORACLE_SID=TIS
    bash-3.00$ export NLS_LANG=AMERICAN_AMERICA.TH8TISASCII
    and then run command to export:
    bash-3.00$ exp system/manager@TIS full=y file= /u03/dmp/TISfull.dmp log=/u03/dmp/exp_TIS.log
    I got error message as:
    Export: Release 9.2.0.1.0 - Production on Thu Oct 8 17:57:32 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in TH8TISASCII character set and UTF8 NCHAR character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    . exporting system procedural objects and actions
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_AW", line 42
    ORA-06512: at "SYS.DBMS_AW", line 105
    ORA-06512: at "SYS.DBMS_AW", line 221
    ORA-06512: at "SYS.DBMS_AW_EXP", line 264
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_AW_EXP.schema_info_exp
    . exporting cluster definitions
    EXP-00056: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_LOB", line 424
    ORA-06512: at "SYS.DBMS_METADATA", line 1140
    ORA-06512: at line 1
    EXP-00056: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_LOB", line 424
    ORA-06512: at "SYS.DBMS_METADATA", line 1140
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    How can I solve this problem?
    Any suggestion?

    #### HOW to solve it.
    ## To check the default temporary tablespace of the database:
    SQL> select property_name, property_value from database_properties;
    ## check DEFAULT_TEMP_TABLESPACE, if it use wrong temporary tablespace, run:
    SQL> alter database default temporary tablespace temp;
    ## check user with temporary tablespace, run command:
    SQL> select username, temporary_tablespace, account_status from dba_users;
    ## change temporary tablespace:
    SQL> create temporary tablespace temp1 tempfile '/data/u01/app/oracle/oradata/TIS/temp_b.dbf' size 100m;
    SQL> alter database default temporary tablespace temp1;
    SQL> drop tablespace temp including contents and datafiles;
    SQL> create temporary tablespace temp tempfile '/data/u01/app/oracle/oradata/TIS/temp01.dbf' size 100m autoextend off extent management local uniform size 1m;
    SQL> alter database default temporary tablespace temp;
    SQL> drop tablespace temp1 including contents and datafiles;
    Thanks

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

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

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

  • Creation of Database View , Projection View

    Hi ABAP EXPERTS,
    Can anyone plz send me the step by step creation of DATABASE and PROJECT VIEWS. Just steps by step explanation will do , screen shots will be more than appreciated.
    Kind Regards,
    Sunil Ranal.

    Database View (SE11)
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    Check this link for database view creation.
    http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed06446011d189700000e8322d00/content.htm
    Projection View
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed. A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    Check this link for Projection view creation.
    http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ed20446011d189700000e8322d00/content.htm
    Regards,
    Maha

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

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

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

Maybe you are looking for

  • How to add a scrollbar to applet

    This is the source code of my applet.I wat to have an autoscroll on this applet i think it is usefull if i put here all the code for my project. ====================================================== Class ConsolePanel: The file defines a class Conso

  • Getting Error while importing SAP Content in to the IR

    Hello, I am getting the below error message while importing the XI7_0_SAP_APPL_6.00_15_00.tpz in to the Integration Repository and it looks like empty namespaces are downloaded without the actual standard scenarios under the Software Component SAP AP

  • Window name for Adobe Acrobat 9.0

    Hi Guys, What is the window name of Adobe 9.0? For Adobe 7.0 we are using "AdobeAcrobat" as the classname in the method as hWndAcrobat = FindWindow( _T("AdobeAcrobat") ,NULL ); For Adobe 8.0 we are using "AcrobatSDIWindow" as the classname in the met

  • Media Center Guide - Failed to retrieve EpgListings Error

    When is Microsoft going to address this?  This is a HUGE PROBLEM for people that use WMC.  It couldnt be a bigger problem as it renders my ENTIRE media setup worthless.  Below is a link to a workaround and a forum with tons of people having the same

  • The page of facebook is too big

    Hello, I bought the new ipod Touch 5 G,when I open ma page FaceBook it is to big,like a computer. can you help me?