oracle错误959_oracle12528错误

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


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)
全栈程序员-站长的头像全栈程序员-站长

相关推荐

  • CSS的超链接样式设计

    CSS的超链接样式设计超链接是网页中最常用的对象,每个网页通过超链接相互联系在一起,从而构成一个完整的网站。而根据路径的不同,超链接可以分为以下三类:内部链接:内部链接所链接的目标一般位于同一个网站中,对于内部链接来说

    2022年7月4日
  • springboot配置文件的属性集

    springboot配置文件的属性集springboot配置文件的属性集

    2022年4月22日
  • linux搭建sftp服务器 指定端口_linux 防火墙开放端口

    linux搭建sftp服务器 指定端口_linux 防火墙开放端口如何在Linux系统中如何更改SFTP端口SFTP(SSH文件传输协议)是一种安全文件协议,用于通过加密连接在两个主机之间传输文件。它还允许您对远程文件执行各种文件操作并恢复文件传输。SFTP可以替代旧版FTP协议。它具备FTP的所有功能,但连接更加安全。本文详情了如何在Linux中更改默认的SFTP端口。我们还将向您展现如何配置防火墙以允许在新端口上使用。SFTP默认使用的端口SF…

    2022年9月14日
  • COLORREF结构「建议收藏」

    COLORREF结构「建议收藏」1 定义typedef DWORD  COLORREF;即为一个32为长整数2初始化COLORREFcol=RGB(100,200,10);其中用到了RGB,看看他是什么:#defineRGB(r,g,b)         ((COLORREF)(((BYTE)(r)|((WORD)((BYTE)(g))原来也是一个COLORREF,不过是把参数转换

    2022年10月29日
  • python数组操作方法_数组 python

    python数组操作方法_数组 python这篇文章主要介绍了简单了解python数组的基本操作,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下一,创建列表创建一个列表,只要把逗号分隔的不同的数据项使用方括号括起来:member=[‘a’,’b’,’c’,’1′,’2′,3]二,访问列表列表索引从0开始,使用下标索引来访问列表中的值:member=[‘a’,’b’,’c’,’1′,’…

    2022年8月13日
  • mount命令详解

    mount命令详解原文链接:https://blog.csdn.net/happy_teemo/article/details/80026906挂接命令(mount)首先,介绍一下挂接(mount)命令的使用方法,

    2022年7月2日

发表回复

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

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