oracle错误959_oracle12528错误

oracle错误959_oracle12528错误【错误情况】[oracle@ccdevsvradmin]$expwmap/pass@jackeydbExport:Release8.1.7.4.0-ProductiononFriOct811:28:372004(c)Copyright2000OracleCorporation.Allrightsreserved.Connectedto:Oracle9i…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

【错误情况】

[oracle@ccdevsvr admin]$ exp wmap/pass@jackeydb

Export: Release 8.1.7.4.0 – Production on Fri Oct 8 11:28:37 2004

(c) Copyright 2000 Oracle Corporation.  All rights reserved.

Connected to: Oracle9i Release 9.2.0.1.0 – Production

JServer Release 9.2.0.1.0 – Production

Enter array fetch buffer size: 4096 >

Export file: expdat.dmp > host

(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 WE8ISO8859P1 character set and UTF8 NCHAR character set

server uses ZHS16GBK character set (possible charset conversion)

. exporting pre-schema procedural objects and actions

. exporting foreign function library names for user WMAP

. exporting object type definitions for user WMAP

About to export WMAP’s objects …

. exporting database links

. exporting sequence numbers

. exporting cluster definitions

. about to export WMAP’s tables via Conventional Path …

EXP-00008: ORACLE error 904 encountered

ORA-00904: “SPOLICY”: invalid identifier

EXP-00000: Export terminated unsuccessfully

[oracle@ccdevsvr admin]$

【解决方法一】

<1017276.102>Bookmark Go to End 1017276.102><1017276.102>

fact: Oracle Server – Enterprise Edition

symptom: ORA-00904: Invalid column name

symptom: EXP-00008: ORACLE error %s encountered

cause: The package is missing, invalid or corrupt

fix:

How to handle ORA-00904 errors on Export

========================================

When running full database export the following errors will be returned:

exp80 user/password full=y file=D:\DB-Backup\ORCL\expORCL.dmp

log=D:\DB-Backup\ORCL\expORCL.log consistent=y buffer=40960000

EXP-00008: ORACLE error 904 encountered

ORA-00904: invalid column name

To get a clue what has force these ORA-00904 message, follow the following

steps:

1. Connect as privileged user and run the following command inside an

SQLPLUS session:

SQL> alter system set events=’904 trace name errorstack’;

——————————– Note ————————————

This event will work starting with Oracle8i. If running a Oracle database

version below Oracle8i, you’ll get ORA-02065 errors returned, when

specifying this event. In Oracle versions below 8i you’ll have to insert

the following entry into INIT.ORA

event=”904 trace name errorstack”

————————————————————————–

2. Retry the FULL export. When the ORA-00904 occurs, a trace file will be

written to the storage location specified by the INIT.ORA parameter

‘user_dump_dest’. As soon as the ORA-00904 has been returned to your

export session, you can abort the export and examine the trace information.

3. Disable event tracing by running the following command:

SQL> alter system set events=’904 trace name errorstack off’;

On Oracle versions below 8.1.5 return the event entry from INIT.ORA

4. Examine the trace file:

*** SESSION ID:(9.3) 2001.11.21.15.28.00.494

*** 2001.11.21.15.28.00.494

ksedmp: internal or fatal error

ORA-00904: invalid column name

Current SQL statement for this session:

SELECT fname,fsize,maxextend,inc FROM sys.exu8fil WHERE tsid = :1

===========

a) a problem with object EXU8FIL has been detected

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In this example, there’s a problem with the EXE8FIL view. To examine,

whether this object exist, run the following command:

SQL> select owner,object_name,object_type,object_id,status

from   dba_objects

where  object_name=’EXU8FIL’;

If the problem is on the EXU8FIL object you simply can recreate the

object by running the CATEXP.SQL script.

b) a problem with object DBMS_JAVA or DBMS_JAVA_TEST

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ksedmp: internal or fatal error

ORA-00904: invalid column name

Current SQL statement for this session:

SELECT SYNNAM, DBMS_JAVA.LONGNAME(SYNNAM), DBMS_JAVA.LONGNAME(SYNTAB), …

On systems where the Java Server has been installed the trace file could

contain information on a failing select statement on DBMS_JAVA packages.

For reference on fixing errors relating to DBMS_JAVA, please follow

<1017276.102>.1017276.102>

【解决方法二】

If this error (ORA-904 invalid column name) occurs after applying a patch, this would probably fix the problem.

1. First, run CATEXP as INTERNAL. Then retry the export. Often times this will fix the problem and then export will run without error. The reason being a problem with object EXU8FIL view has been detected.

To examine, whether this object exist, run the following command:

SQL> select owner,object_name,object_type,object_id,status

from dba_objects

where object_name=’EXU8FIL’;

If the problem is on the EXU8FIL object you simply can recreate the object by running the CATEXP.SQL script.1017276.102>

down_info.asp?id=27303

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/193490.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • Java Netty Codecs 程序「建议收藏」

    服务端定义了一个Handler和三个Decoder。Handler接收客户端的信息,然后传递给decoder过滤处理。1.服务端packagecom.learn.netty.codecs;importio.netty.bootstrap.ServerBootstrap;importio.netty.channel.ChannelFuture;importio.netty.channel.ChannelInitializer;importio.netty.channel.E.

    2022年4月12日
    41
  • tar压缩和解压文件或文件夹

    1. 使用tar压缩文件tar-zcvftest.tar.gz./test/该命令表示压缩当前文件夹下的文件夹test,压缩后缀名为test.tar.gz如果不需要压缩成gz,只需要后缀为tar格式的,那么输入如下命令:tar-cvftest.tar./test/ 2. 使用tar解压文件tar-xzvftest.tar.gz  该命令表示把后缀为….

    2022年4月3日
    88
  • 读书 Android应用开发揭秘[通俗易懂]

    读书 Android应用开发揭秘[通俗易懂]一、Android基于Linux平台,由操作系统、中间件、用户界面和应用软件组成。二、特点:1、开放性2、应用程序无界限3、应用程序在平等的条件下创建4、应用程序可以轻松的嵌入网络5、应用程序可以并行运行。三、Android系统架构分为四层:应用层:java编写运行在虚拟机上的程序。应用框架层:编写应用时使用的API框架。系统运行库层:C/C++库Lin…

    2022年5月29日
    33
  • oracle sequence用法_oracle session

    oracle sequence用法_oracle session1.   AboutSequences(关于序列)序列是数据库对象一种。多个用户可以通过序列生成连续的数字以此来实现主键字段的自动、唯一增长,并且一个序列可为多列、多表同时使用。序列消除了串行化并且提高了应用程序一致性。(想象一下没有序列的日子怎么办?)2.   CreatingSequences(创建序列)前提:PrerequisitesTocreateasequ

    2022年10月19日
    1
  • java128陷阱

    java128陷阱public static void main(String[] args){ Integer a=128; Integer b=128; System.out.print(a==b);//false a=127; b=127; System.out.print(a==b);//true}为什么对于一个Integer来说,两个Integer都为128的时候通过判断为false,127时的却是true呢?其实这一切都是因为Java中的装箱

    2022年8月8日
    5
  • mybatis的二级缓存_mybatis的一级缓存

    mybatis的二级缓存_mybatis的一级缓存上次谈到了mybatis一级缓存实际上是SqlSession级别的缓存,多个SqlSession并不共享,针对这种情况,我们可以使用mybatis二级缓存来处理。1.mybatis二级缓存是什么mybatis二级缓存是mybatis的另一种缓存机制,区别于一级缓存,它是namespace级别,即一个mapper一个缓存,相互独立,互不影响。默认不开启,需要配置开启。同一namespace下的多个sqlSession可以共享缓存,大体结构如下图2.二级缓存生效的条件同一个namespa.

    2022年9月20日
    2

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号