Solved

Import Export error...need help (newbie)

Posted on 2003-11-03
4
1,712 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Hi there
check the table's column size.. error look number's decimal precision of a column in the table..
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

743 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

16 Experts available now in Live!

Get 1:1 Help Now