Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-04063: package body “SYS.DBMS_INTERNAL_LOGSTDBY” has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_INTERNAL_LOGSTDBY"
ORA-06512: at “SYS.KUPV$FT”, line 991
ORA-04063: package body “SYS.DBMS_LOGREP_UTIL” has errors
ORA-06508: PL/SQL: could not find program unit being called: “SYS.DBMS_LOGREP_UTIL”
SQL> ALTER PROCEDURE SYS.DBMS_INTERNAL_LOGSTDBY COMPILE;
SQL> ALTER PROCEDURE SYS.DBMS_LOGREP_UTIL COMPILE;
Үр дүнгүй бол дараах скрипт ажлуул.
SQL> ?@/rdbms/admin/utlrp.sql
Шалгах:
COLUMN object_name FORMAT A30
SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
ORDER BY owner, object_type, object_name;
SQL> ALTER PROCEDURE SYS.DBMS_INTERNAL_LOGSTDBY COMPILE; ALTER PROCEDURE SYS.DBMS_INTERNAL_LOGSTDBY COMPILE * ERROR at line 1: ORA-04043: object DBMS_INTERNAL_LOGSTDBY does not exist
SQL> SELECT owner, object_type, object_name, object_id, status FROM SYS.dba_objects where object_name = 'DBMS_INTERNAL_LOGSTDBY';
`OWNER OBJECT_TYPE
OBJECT_NAME OBJECT_ID STATUS
SYS PACKAGE BODY
DBMS_INTERNAL_LOGSTDBY 11692 INVALID
SYS PACKAGE
DBMS_INTERNAL_LOGSTDBY 5082 VALID`
INVALID буюу Package ID=11692
SELECT B.* FROM PUBLIC_DEPENDENCY A, SYS.DBA_OBJECTS B WHERE A.OBJECT_ID = 11692 AND A.REFERENCED_OBJECT_ID = B.OBJECT_ID AND OBJECT_TYPE = 'TABLE' ORDER BY OWNER, OBJECT_NAME;
ORACLE error from target database:
ORA-04063: package body “SYS.DBMS_RCVMAN” has errors
ORA-06508: PL/SQL: could not find program unit being called: “SYS.DBMS_RCVMAN”
error executing package DBMS_RCVMAN in TARGET database
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-06429: TARGET database is not compatible with this version of RMAN`
@?/rdbms/admin/dbmsrman.sql энэ sql ээр мөн засдаг бололтой үр дүн still same.