IMP-00098 错误及解决方法

简介: 出现这个问题可能有以下两方面 1)导入导出的客户端的字符集不一致 在简体的操作系统下导出了数据EXP,然后后来那台电脑上装了个繁体的操作系统,导入时都出现IMP-00098: INTERNAL ERROR: impccr2 这样的错误,解决方法如下:1.

出现这个问题可能有以下两方面

1)导入导出的客户端的字符集不一致

在简体的操作系统下导出了数据EXP,然后后来那台电脑上装了个繁体的操作系统,导入时都出现IMP-00098: INTERNAL ERROR: impccr2 这样的错误,解决方法如下:
1.运行regedit,选择HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home1\nls_lang双击修改数据数值为SIMPLIFIED CHINESE_CHINA.ZHS16GBK
2.登陆到oracle里面运行update props$ set value$='ZHS16GBK' where name='NLS_CHARACTERSET'
3.删除已经创建的用户.比如:我自己的数据库创建的用户是HDDEV 我就用DROP USER HDDEV CASCADE语句删除用户。
4.删除已经创建的表空间。在TABLESPACE里面删除已经有的表空间
5.重新创建表空间,建角色,建用户,导入数据

2)传输导出文件时 出错,一般用ftp时 应该用二进制的方式。

3)导入时的buffer 设置的太小或者没有设置。

以下为此错误的英文解释和解决办法。

IMP-00098: INTERNAL ERROR: impgst2Segmentation Fault - core dumped [ID 578616.1]   
Applies to:  
Oracle Server - Enterprise Edition - Version: 9.2.0.8 to 10.2.0.4
This problem can occur on any platform.
Symptoms
An import command fails with the following error:  
illegal lob length marker 65535  
bytesread = 00000000000  
TABLE =  
IMP-00098: INTERNAL ERROR: impgst2Segmentation Fault - core dumped
If executing the same import command by adding "show=y" same error is reported:
illegal lob length marker 65535  
bytesread = 00000000000  
TABLE =  
IMP-00098: INTERNAL ERROR: impgst2Segmentation Fault - core dumped  
Cause
The fact that running import with "show=y" generates same error indicates that the export dump file is corrupted.  
When "show=y" is used the content of the export dump file is listed to the display and not imported.  
There are two ways to corrupt an export dump file:  
- the export tool corrupts the file itself;  
- the file is corrupted during the transfer (move/copy) from the source to the target machine; this is the most common cause of the error.  
Solution
Since the export dump file is corrupt, the export needs to be done again:
- After the export is finished one should always check if the export dump file is corrupted on the  
source machine using imp with "show=y".
If getting the above errors then the file is corrupted on the source machine;  
- Assuming the file is not corrupted on the source machine, after transferring the file, one must execute imp with "show=y" on target machine. If getting the above errors then the file was corrupted during transfer.  
Use ftp command in binary mode as a way of transferring the dump file between source and target machines.  
- If imp with "show=y" reports no errors after the above steps then proceed with the real import (without "show=y").
NOTE: A similar case is reported in Note 3890213.8 and may need to be investigated as well.
References
NOTE:3890213.8 - Bug 3890213 - IMP-98 possible importing zero length Lobs with CHUNKSIZE > 32767

参考资料:

http://blog.163.com/18_2/blog/static/2174448200932753814644/


 

目录
相关文章
|
22天前
|
编译器 C++
C++:无法查找或打开 PDB 文件?? 如何解决呢?以及产生原因是什么?
C++:无法查找或打开 PDB 文件?? 如何解决呢?以及产生原因是什么?
12 0
|
数据库 C++
VS error C2471: 无法更新程序数据库vc90.pdb的解决办法
VS error C2471: 无法更新程序数据库vc90.pdb的解决办法
268 0
|
Oracle 关系型数据库 数据库
oracle数据库imp导入失败提示:“不是有效的导出文件, 标头验证失败”解决方法,修改dmp文件里oracle数据库版本号方法
oracle数据库imp导入失败提示:“不是有效的导出文件, 标头验证失败”解决方法,修改dmp文件里oracle数据库版本号方法
1129 0
oracle数据库imp导入失败提示:“不是有效的导出文件, 标头验证失败”解决方法,修改dmp文件里oracle数据库版本号方法
|
Oracle 关系型数据库 Linux
EXP-00091错误的说明和解决方法
今天我写了一个在Linux下执行定时任务备份Oracle数据库的脚本,但是在root用户下执行脚本的时候报错了,错误内容为EXP-00091,下面附上解决方案(当然,下面的内容是我转载的哦!): 对于一个经常用oracle的人来讲,会经常用到EXP和imp工具,我们在做EXP的过程中可能经常会遇到EXP-00091 Exporting questionable statistics的错误。
841 0