PLS-00201: identifier ‘DBMS_LOGSTDBY.BUILD’ must be declared

Cause:

SQL> execute dbms_logstdby.build;
BEGIN dbms_logstdby.build; END;

      *
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_LOGSTDBY.BUILD' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

Workaround:

Check the user and status of the database.

Database should be in open mode

SQL> show user
USER is "SYS"
SQL> select status from v$instance;

STATUS
------------
MOUNTED

Leave a Reply