Create database fails on package STANDARD
Mon, 04/03/2017 - 14:32
While scripting the creation of an Oracle database, I somehow kept getting errors during the CREATE DATABASE:
ERROR:
ORA-06553: PLS-213: package STANDARD not accessible
Very weird. Until I realized I was using a generic scripting function that issued a SET SERVEROUTPUT ON. It turns out that Oracle can not cope with that until you have loaded catalog.sql and catproc.sql.
The actual error after running catalog.sql but before running catproc.sql is:
RROR:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_OUTPUT.ENABLE' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored