Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3242219
  • 博文数量: 949
  • 博客积分: 10126
  • 博客等级: 上将
  • 技术积分: 12100
  • 用 户 组: 普通用户
  • 注册时间: 2006-06-16 10:57
文章分类

全部博文(949)

文章存档

2013年(1)

2012年(4)

2011年(4)

2010年(12)

2009年(342)

2008年(586)

分类: Oracle

2008-05-20 09:36:52

刚新建一库,SQLPLUS连接时提示:ERROR:ORA-06554: package DBMS_STANDARD must be created before using PL/SQL
Error accessing package DBMS_APPLICATION_INFO
ERROR:ORA-06554: package DBMS_STANDARD must be created before using PL/SQL


于是用$ORACLE_HOME/RDBMS/ADMIN下面的相关文件重新创建一下这些包。
SYSDBA登陆运行
$ORACLE_HOME/RDBMS/ADMIN/CATALOG.SQL
$ORACLE_HOME/RDBMS/ADMIN/CATPROC.SQL





ORA-06509: PL/SQL: ICD vector missing for this package

      This can happen if something went wrong during the execution of catproc.sql or catalog.sql, or these scripts were run using a user other than SYS (internal).

      First of all you need to check if the faulty object also exists in a schema other then SYS:

      select owner, object_name, object_type
      from dba_objects
      where object_name=''

      Only the object under SYS schema and possibly a SYNONYM should exist.

      If there's only an object under the SYS schema, try to reexecute the catalog.sql and catproc.sql scripts. 
阅读(1424) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~