Ora-06553 Pls-213 Package Standard Not Accessible

近在使用DBCA创建实例的时候提示 : Ora-06553 Pls-213 Package Standard Not Accessible
环境为 hp ux 11.31 oracle 版本为 10.2.0.4
ps -ef|grep smon
发现上面已经有两个实例。


查找metalink,看见下面信息。
Applies to:
Oracle Server – Enterprise Edition – Version: 10.2.0.2 and later [Release: 10.2 and later ]
Information in this document applies to any platform.
Symptoms
Database creation using the CREATE DATABASE command generates the following error after some processing:

ERROR:
ORA-06553: PLS-213: package STANDARD not accessible

Cause
The problem was caused by including the line “SET SERVEROUT ON” in the glogin.sql file.

During database creation, the glogin.sql file is executed, which in turn caused the “SET SERVEROUT
ON” line to be executed, while the database creation is not yet complete. When this command is
issued, and because the DBMS_OUTPUT package is not yet created, the database creation fails and
the following error is returned:

ORA-06553: PLS-213: package STANDARD not accessible

Also, during subsequent logins to SQL Plus, the glogin.sql file is executed, and the same error is returned.
Solution
Remove any “SET SERVEROUT ON/OFF” lines from the glogin.sql file, at least before issuing the “CREATE DATABASE” command.

根据上面提示,找到glogin.sql 直接注释:”SET SERVEROUT ON 这句话,重新创建实例—–正常。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值