环境为 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 这句话,重新创建实例—–正常。