Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

ORA-16516

current state is invalid for the attempted operation

Cause

The broker may have returned this error for either switchover operations or for database state change operations. If this error was returned for a switchover operation, the broker determined that either:

  • The databases changing roles were shut down.
  • The primary database was not shipping redo data.
  • The standby database that will become the primary database was not applying redo data.

If this error was returned for database state change operations, the database state specified was invalid.


Action

If this error is returned when attempting a switchover operation, ensure that:

  • The databases changing roles are started.
  • The primary database is shipping redo data.
  • The standby database is applying redo data.

If this error is returned when attempting a database state change operation, ensure that a valid database state is specified.