Solved

Import Export error...need help (newbie)

Posted on 2003-11-03
4
1,717 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Procedure syntax 5 65
Help with Oracle IF statment 5 50
How to manipulate two or more composite data type into single results set in oracle 4 61
Dbms_job.change procedure 16 38
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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.
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…

710 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