Question: What causes the ORA-13516 error?
Answer: You see this oerr listing for the ORA-13516
error
message:
ORA-13516: AWR Operation failed: string
Cause: The operation failed because AWR is not
available. The possible causes are: AWR schema not yet
created; AWR not enabled; AWR schema not initialized; or
database not open or is running in READONLY or STANDBY mode.
Action: check the above conditions and retry the
operation
There are several remedies for this error.
ORA-13516: AWR Operation failed: Catproc not valid
For this error you need to run (re-run) the
$ORACLE_HOME/rdbms/admin/catproc.sql script
SQL> connect
myuser/password as sysdba
SQL>@%ORACLE_HOME%\rdbms\admin\catproc.sql
SQL>@%ORACLE_HOME%\rdbms\admin\utlrp.sql