Solved

Import Export error...need help (newbie)

Posted on 2003-11-03
4
1,713 Views
Last Modified: 2008-02-01
I'm a web developer and use oracle for sqlplus commands.  However, the need has arisen for me to import data set up on a different system.  Basically, the following is happening:

imp dbuser/pass@db file=thexport.dmp

yields:
IMP-00010: not a valid export file, header failed verification
IMP-00021: operating system error - error code (dec 2, hex 0x2)
IMP-00000: Import terminated unsuccessfully

Checking the versions of both, at the top of the .dmp file I see:
^C^CgEXPORT:V08.01.06F

and when I start the import I see:
Import: Release 8.0.5.1.0

Is this simply a version conflict?  We have an oracle 9i db running, but maybe the import/export wasn't upgraded in the process?  

0
Comment
Question by:ldsnerd
4 Comments
 
LVL 23

Accepted Solution

by:
seazodiac earned 50 total points
ID: 9673625
when you exp/imp the database, you DO need to watch for the imp/exp tool version compatibility.

the simple rule of thumb when you do exp/imp from the different version of databases,
you should always use the LOWER version of tool to do the IMP/EXP.
0
 

Expert Comment

by:mdba
ID: 9674216
There is also another possibility.  If the version was incorrect, then it would be likely that this would be the error.  Did you ftp the file over to the other system as ascii or binary.  It should have been binary.  Oracle will bark if it was not the right type.  
0
 

Expert Comment

by:sboobalan
ID: 9678154
I'm trying to import on different machine on same version of oracle
, same version of OS.


For one table the import failed whith :

IMP-00058: ORACLE error 1438 encountered
ORA-01438: value larger than specified precision allows for this column
IMP-00018: partial import of previous table completed: 17600 imported
0
 

Expert Comment

by:psmuruga
ID: 9975062
Hi there
check the table's column size.. error look number's decimal precision of a column in the table..
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now