How export or import .DMP on ubuntu 8.04

Hi all,
I was installing apex 2.2 on ubuntu (/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/exp.sh or imp.sh dont work!) and trying to import dmp file into it but dont work.Is any other way to import EXPDAT.DMP from scemas (its compiere dmp file)?
Gordan

Hi Gary,
I was installing Compiere on Apex 2.2 based on ubuntu linux 8 operating systems
Theres compiere.dmp file install on apex (Adempiere pandam of compiere have solo Adempiere.dmp so administrator need install user adempiere with pass adempiere dba roles on apex).
I was trying to import this dmp file on apex install on ubuntu trying to call imp.sh command
but this "dont work" (sudo /usr/...bin/imp.sh)
I was do with win xp platform typing imp.exe and set username adempiere/adempiere and all 700 tables with dates were Imported. So I looking how do same on linux platform?
regards
Gordan
http://gordanmilojevic.blogspot.com/

Similar Messages

  • How export and Import ADF-BC

    Hi all,
    How i do to export and import ADF-BC, of one project to other ?
    Thank's
    Alexandre

    Hi,
    may be this thread helps:
    Linking two projects
    Timo

  • Difficulties importing .dmp on Ubuntu 8.04

    Hi, I currently have a .dmp file which I am trying to import using the imp tool. Unfortunately, I have not been able to get this working correctly. Here is an example of how I have attempted to invoke this tool, and the resulting error:
    jacob@jacob-laptop:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin$ ./imp file=/usr/lib/oracle/xe/app/oracle/admin/XE/dpdump/artimo.dmp system/password touser=MAINDB_ARTIMO full=Y
    Message 100 not found; No message file for product=RDBMS, facility=IMP: Release 10.2.0.1.0 - Production on Fri Jun 5 14:07:23 2009
    Copyright (c) 1982, 2005, Oracl
    Invalid format of Import utility name
    Verify that ORACLE_HOME is properly set
    Import terminated unsuccessfully
    IMP-00000: Message 0 not found; No message file for product=RDBMS, facility=IMP
    I get this error message for any set of parameters I pass to imp. I also get similar errors when trying to use impdp.
    I also noticed that there is a script oracle_env.sh in that same directory which appears to set up the necessary environment variables. After invoking this script, I can confirm that ORACLE_HOME is set up correctly, but the results are exactly the same.
    If anyone has any idea what the problem might be, and could let me know the best way to resolve it, I would greatly appreciate it if you would let me know. Thanks,
    Jake

    For me, the following error occurs:
    rafael@rafael:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin$ ./oracle_env.sh
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Help to import .dmp file to APEX

    Hi All,
    I have a question about export and import .dmp file to APEX.
    I'm working on a data mining application based on database 11g. I managed to export the data mining model to a .dmp file using oracle data miner (ODM). now I wanna to know how to import this dmp file to the online schema (for example the free apex hosting). I used DBMS_DATA_MINING.EXPORT_MODEL and DBMS_DATA_MINING.IMPORT_MODEL and it's work in my computer.
    thanks

    Hello <unknown user>,
    In short : you can't import a dmp file into apex.oracle.com.
    That's because you need the imp utility (and the corresponding roles/rights).
    You can create sql scripts for the DML and DDL and upload and run those.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • How to export and import dependent tables from 2 different schema

    I have a setup where schema1 has table 1 and schema 2 has table2. And table 1 from schema1 depends upon table 2 from schema 2.
    I would like to export and import these tables only and not any other tables from these 2 schemas with all information like grants,constraints.
    Also will there be same method for Oracle 10g R1,R2 and Oracle 11G.
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10825/dp_export.htm#i1007514
    Looking at this For table mode it says
    Also, as in schema exports, cross-schema references are not exported
    Not sure what this means.
    As I am interested in only 2 tables I think I need to use table mode. But if I try to run export with both tables names, it says table mode support only one schema at a time. Not sure then How would the constraints would get exported in that case.
    -Rohit

    worked for my 1st time I tried
    exp file=table2.dmp tables="dbadmin.temp1,scott.emp"
    Export: Release 10.2.0.1.0 - Production on Mon Mar 1 16:32:07 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: / as sysdba
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Current user changed to DBADMIN
    . . exporting table                          TEMP1         10 rows exported
    EXP-00091: Exporting questionable statistics.
    Current user changed to SCOTT
    . . exporting table                            EMP         14 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.

  • How do you import data base dmp file in oracle 10g

    How do you run data base dmp file in oracle 10g

    Examples..
    Table Exports/Imports
    The TABLES parameter is used to specify the tables that are to be exported. The following is an example of the table export and import syntax:
    expdp scott/tiger@db10g tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=expdpEMP_DEPT.log
    impdp scott/tiger@db10g tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=impdpEMP_DEPT.log
    For example output files see expdpEMP_DEPT.log and impdpEMP_DEPT.log.
    The TABLE_EXISTS_ACTION=APPEND parameter allows data to be imported into existing tables.
    Schema Exports/Imports
    The OWNER parameter of exp has been replaced by the SCHEMAS parameter which is used to specify the schemas to be exported. The following is an example of the schema export and import syntax:
    expdp scott/tiger@db10g schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=expdpSCOTT.log
    impdp scott/tiger@db10g schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=impdpSCOTT.log
    For example output files see expdpSCOTT.log and impdpSCOTT.log.
    Database Exports/Imports
    The FULL parameter indicates that a complete database export is required. The following is an example of the full database export and import syntax:
    expdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log
    impdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=impdpDB10G.log

  • Total Newbie here.  How to import .dmp.

    I am completely new to Oracle Databases. The only thing I have used in the past is access. I have been given a Oracle Database .dmp file that I need to import into a database to see what is in it. I have installed Oracle Database 11g Express Edition and Oracle SQL Developer. I have read some things about the imp and impdp commands but I don't know how to use them correctly. My questions are:
    Where should I put the .dmp file so that the database can see it?
    What command should I give at the SQL> prompt? I have tried impdp user/password file=NH0339016.dmp This didn't work.. I got the error "unknown command beginning "impdp user..." - reset"
    After importing it, how do I see what is in the database?
    I'm really struggling with this thing and I would appreciate any help that I can get.
    Thanks
    Will

    Hi Will,
    I have been given a Oracle Database .dmp file
    I have read some things about the imp and impdp commands but I don't know how to use them correctly. Did you also get the information how that dump file has been created?
    You've already learned that there are two kinds of "dump" in Oracle: the old (conventional) and the somewhat more recent "data pump". Both use different dump formats, so you have to use the proper import application to get the contents into your database.
    Where should I put the .dmp file so that the database can see it?That depends on the import application. If you have a datapump dump (impdp) there is a default "directory" in the database (*DATA_PUMP_DIR*) and it points to ORACLE_HOME/admin/xe/dpdump . You can also create a new directory that points to the place your dump file resides in and and hand this in as parameter. Make sure the database user you start the import with has the grants needed for the directory you use. For all parameters available, use
    impdp help=yIf you have a convetional dump (imp) you simple give the file with its complete path as parameter or change to that path first. You can query the application for additional parameters by executing
    imp help=y
    After importing it, how do I see what is in the database?Well, you have SQL Developer, right? Create a connection to the schema you've imported the data to (perhaps you have to created it first, depending on how the dump has been created) and browse it.
    Note that Oracle has different semantics than access. "database" is usually a "database instance". Each instance carries several "schemas" (equivalent to database user).
    -Udo
    P.S.: I'd recommend to read the [url http://download.oracle.com/docs/cd/E17781_01/server.112/e18804/toc.htm]2 Day DBA to get to know your database. If you want to quick start and my previous explanation is not sufficient for you, you should at least read the chapter [url http://download.oracle.com/docs/cd/E17781_01/server.112/e18804/impexp.htm#CFHJAHAA]Exporting and Importing Metadata and Data.
    Edited by: Udo on 17.11.2011 20:36

  • How to import *.dmp file Through Oracle SQL Developer (3.2.20.09)

    hi
    how to import *.dmp file Through Oracle SQL Developer (3.2.20.09) ?
    how to do it ?
    thanks

    You do not.
    .dmp files are created from our Export and Data Pump database utilities and are proprietary files. You use the corresponding Import (or Data Pump) utility to import the data.

  • How can i import a dmp file.

    Hi
    i am uzma. i m using oracle 8i. i m facing a big
    problem in import/ export utitlity.
    Description of my problem
    i created 4 users and grant them dba role.
    now i want to export only one user named DBC that user is very
    important and contains 7 tables and 25,000 records.
    when i start exporting user dbc it export all the user eg
    system, sysdba, scott, dbc, uzma, other....
    and i received this message that export terminated successfully.
    but when i import abc.dmp file in another computer i recevied
    such type of messages.
    * unrecongnized Export file or these obecject are already exsist.
    sholud i drop all users except system, scott, dbc
    what should i do plz help me in this regard and tell me the
    right way to export and import.
    with lots of regards
    a helpless user

    if you run export as a user with DBA privs, you can export only specific users that you need:
    Export file: EXPDAT.DMP >
    (1)E(ntire database), (2)U(sers), or (3)T(ables): (2)U > U
    Export grants (yes/no): yes >
    Export table data (yes/no): yes >
    Compress extents (yes/no): yes >
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    About to export specified users ...
    User to be exported: (RETURN to quit) > scott
    User to be exported: (RETURN to quit) >
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SCOTT
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user SCOTT
    About to export SCOTT's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export SCOTT's tables via Conventional Path ...
    . . exporting table                          BONUS          0 rows exported
    EXP-00091: Exporting questionable statistics.
    . . exporting table                           DEPT          4 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table                            EMP         14 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table                       SALGRADE          5 rows exported
    EXP-00091: Exporting questionable statistics.
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully with warnings.
    F:\>When you want to import to other database, have that user created already with correct privs, and then do the import:
    Import file: EXPDAT.DMP >
    Enter insert buffer size (minimum is 8192) 30720>
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    List contents of import file only (yes/no): no >
    Ignore create error due to object existence (yes/no): no >
    Import grants (yes/no): yes >
    Import table data (yes/no): yes >
    Import entire export file (yes/no): no >
    Username: scott
    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done:
    . importing SYS's objects into SYS
    . importing SCOTT's objects into SCOTT
    . . importing table                        "BONUS"          0 rows imported
    . . importing table                         "DEPT"          4 rows imported
    . . importing table                          "EMP"         14 rows imported
    . . importing table                     "SALGRADE"          5 rows imported
    About to enable constraints...
    Import terminated successfully without warnings.
    F:\>Message was edited by:
    Kamal Kishore

  • How do i import my library from an external hard drive. Exported it as had to wipe pc and reinstal windows but when i try to import nothing happens

    How do i import my library from an external hard drive. Had to export it as had to reinstal windows due to a conflict between windows and i-tunes. Wen i try to import nothing happens despite selecting the file. Can you import from an i-phone to i-tunes?

    What do you mean bye exported the library? 
    There is nothing to export or import.
    The correct process to backup the iTunes library would be to copy the ENTIRE iTunes folder from the computer to the external drive.

  • I have some audio files on my previous phone which I would like to export to my new iPhone 5. I am told that you can only import files from iTunes. Is that true? If not, how do I import files from my phone - or my Macbook pro laptop-to my phone?  Thanks!

    I have some audio files on my previous phone which I would like to export to my new iPhone 5. I am told that you can only import files from iTunes. Is that true? If not, how do I import files from my phone - or my Macbook pro laptop-to my phone?  Thanks!

    iTunes will only import music from your phone that was purchased from the iTunes store.  To transfer music from other sources you have to use 3rd party software, such as PhoneView.

  • How can I import data using .dmp into the table which has more columns then in import

    I am building the history for warehouse purpose on Oracle 8i database and want to use the old import (.dmp) files (from oracle 7.3.4) to import data but the underlying table is having few more columns which are not in my old DMP file .. how can I import the data into these altered tables while using the same *.imp files .
    Any solutions ?

    That is the most obvious solution .. but think of the case when my operational database which is the source of my data is undergoing changes every quarter i.e after every 3 months there are some changes on underlying table structures which means structures of my import files will always be different after evry quarter .. you can imagine the number of temporary import structures I need to create .. can't there be a solution wherein I can write an SQL over the import file to read the data in required format ..

  • How to wrap import and export in a Unix shell script?

    Hi all,
    I want to write a simple korn shell Unix script to kick off export and import
    for our Oracle 10g refresh databases. Do any of you have a script to do this?
    The goal would be:
    1. Take export using exp of 10 tables in PROD database on database server1
    for the prod schema user
    2. Use sftp or scp to copy over the export dump file to database server 2
    3. Use a shell script to import the dump file into TEST database server for schema
    test
    4. use nohup to run the export and import in background through cron job
    We are running Oracle 10g Release 2 on Red Hat Linux.
    Thanks,
    Ben Prusinski

    Wouldn't it be easier to have both databases in your tnsnames.ora file. Then you can export and import on the same server without copying the files to another server.
    script:
    exp <username>/<password>@PROD file=<file>.dmp log=<explog>.log owner=prod
    imp <username>/<password>@TEST file=<file>.dmp log=<implog>.log fromuser=prod touser=test
    run this script as: nohup <scriptname> &
    Since you are on oracle10g you can also use datapump (expdp and impdp) for faster exporting and importing, but I do not know the syntax by heart

  • How to call import/export

    Hi..
    How to call the export/import statement through form? There's one button that will execute the export or import process. How to write the command?
    Thank in advance

    Use Host build-in
    HOST('imp userid=... file=... tables=...', NOSCREEN);

  • How to do fast export and import

    i have a windows 2003 server and oracle 10.2.0.3 installed on it.
    here i want to ask how i can speedup my export and import using expdp.

    Hi User,
    user11798002 wrote:
    i have a windows 2003 server and oracle 10.2.0.3 installed on it.
    here i want to ask how i can speedup my export and import using expdp.You can utilize parallelizing export when using data pump,but for traditional export use the following
    Export of Databases - reads data by running a select statement of the data and generating the DDL to perform the import process in future.
    Fast Exports
    1) Use direct=y
    2) Until disk is not fully utilized try running exports in parallel.
    3) Keep export file on different disk then the datafiles.
    4) Run exports in two part rather than one i.e. 1st rows=n and second as indexes=n rows=y constraints=n.
    Fast Imports
    1) Use the first file out of two files created with the exports, It will insert all data but will not create any indexes and constraints. Once the data insertion is done run imp with indexfile option to extract script of index creation in text file. edit the file to include parallel clause and set parameters db_file_multiblock_read_count to 128 with sort_area_size to a higher value and workarea_size_policy=AUTO.
    A R P I T S I N H A
    [oracledba.in]

Maybe you are looking for

  • USB audio out not getting to DAC

    Just set up my Macbook late 2007 OS 10.7.5 to a Denon DA-300USB DAC. I'm successfully playing files out of JRiver Media Center software via Mac's digital audio out through an optical audio cable. But optical audio has limitations on bitrate, only to

  • How to get rozetta with lion?

    how to get rozetta with lion? I have put all of Snow Leopard on an external drive (checked to include Rozetta) but when I try to use it to start up my computer with Lion installed - it calls this external drive "Recover Drive" and it asks me to selec

  • Joining two huge tables

    Hi I have two tables PRODUCT , ORDERS and table having 20 million ,50 million rows.How to join two tables i mean join 20 million with 50 million and returns 50 million rows ?Please anyone what is the best way to achive this? SQL> desc orders; Name Nu

  • Serial no. in production orders

    in the production scheduling profile, the setting is such that, the production order gets released when it is created. the serial numbers are issued to each finished good unit when the production order is released. Can it be possible to issue the ser

  • Embed Video in an App.

    *Hi Community,* I'm new in development and just started with Xcode and Objective-C. I had first experiences with the interface, and handling of the dev-tools. I want to make an app which plays an video which is split in 3 parts. When you start the Ap