oracle12.2.0.1打7.16补丁后有错误GSMADMIN_INTERNAL.DBMS_GSM_POOLADMIN is invalid

错误信息如下:

Red Hat Enterprise Linux Server release 6.9 (Santiago)

Patch 29757449 apply: WITH ERRORS
  logfile: /oracle/app/oracle/cfgtoollogs/sqlpatch/29757449/23009673/29757449_apply_XCZHH_2019Aug06_20_32_15.log (errors)
    Error at line 503: Warning: Package Body created with compilation errors.
    Error at line 6801: Warning: Package Body created with compilation errors.
    Error at line 6808: 4675/4   PL/SQL: Statement ignored
    Error at line 6809: 4675/23  PLS-00302: component 'ISNONORACLECLOUD' must be declared
    Error at line 6831: 4675/4   PL/SQL: Statement ignored
    Error at line 6832: 4675/23  PLS-00302: component 'ISNONORACLECLOUD' must be declared
    Error at line 7485: Warning: Trigger created with compilation errors.
    Error at line 7492: 0/0      PLS-00905: object GSMADMIN_INTERNAL.DBMS_GSM_POOLADMIN is invalid
    Error at line 7509: Warning: Trigger created with compilation errors.
    Error at line 7516: 0/0      PLS-00905: object GSMADMIN_INTERNAL.DBMS_GSM_POOLADMIN is invalid
    Error at line 7523: Warning: Trigger created with compilation errors.
    Error at line 7530: 0/0      PLS-00905: object GSMADMIN_INTERNAL.DBMS_GSM_POOLADMIN is invalid

Please refer to MOS Note 1609718.1 and/or the invocation log
/oracle/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_13252_2019_08_06_20_31_55/sqlpatch_invocation.log
for information on how to resolve the above errors.

SQL> select owner,object_type,object_name, status from dba_objects where status = 'INVALID' order by owner;

OWNER OBJECT_TYPE OBJECT_NAME STATUS
--------------- ----------------------------- ----------------------------------- --------
GSMADMIN_INTERNAL PACKAGE BODY DBMS_GSM_POOLADMIN INVALID 
GSMADMIN_INTERNAL TRIGGER DONE_TRIGGER INVALID
GSMADMIN_INTERNAL TRIGGER REQUEST_DELETE_TRIGGER INVALID
GSMADMIN_INTERNAL TRIGGER CAT_ROLLBACK_TRIGGER INVALID

解决办法:

You upgraded the database or created a Global Data Services (GDS) configuration.

Afterwards, the GDS objects are invalid.
 

SOLUTION

GDS Objects are Invalid - GSMADMIN_INTERN (文档 ID 2425776.1)

GSMADMIN and LBACSYS Objects Invalid After Create New 12c Database (文档 ID 2284611.1)

Execute following steps to compile the invalid objects:

$sqlplus "/as sysdba"
SQL> spool fix_cat_logfile.txt
SQL> startup upgrade
SQL > @?/rdbms/admin/catalog.sql
SQL > @?/rdbms/admin/catproc.sql
SQL > @?/rdbms/admin/utlrp.sql
SQL> spool off

 

注意在redhat6.6版本打补丁正常,无报错。

oracle12.2.0.1打7.16补丁后有错误GSMADMIN_INTERNAL.DBMS_GSM_POOLADMIN is invalid_第1张图片

你可能感兴趣的:(oracle)