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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s