My Oracle Support Banner

Updating STATUS Of SDO Fails With ORA-39704: Permission To Modify Component Registry Entry Denied (Doc ID 3034567.1)

Last updated on OCTOBER 01, 2024

Applies to:

Oracle Spatial and Graph - Version 19.3.0.0.0 and later
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A to N/A [Release N/A]
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A to N/A
Gen 2 Exadata Cloud at Customer - Version N/A to N/A [Release All Releases]
Information in this document applies to any platform.

Symptoms

Errors found in patch apply log, <PatchNumber>_apply_<SID>_YYYYMonDD_HH_MM_SS.log:

...
SQL> REM Add component registry entry to mark sdo loading
SQL> REM if the status is not UPGRADING then this is first install
SQL> declare
  2    cnt number;
  3  begin
  4     select count(*) into cnt from sys.dba_registry where comp_id='SDO'
  5            and status = 'UPGRADING';
  6     if (cnt=0) then
  7           dbms_registry.loading('SDO','Spatial','validate_sdo','MDSYS', dbms_registry.schema_list_t('MDSYS', 'MDDATA'));
  8     end if;
  9  end;
 10  /
declare
*
ERROR at line 1:
ORA-39704: permission to modify component registry entry denied
ORA-06512: at "SYS.DBMS_REGISTRY", line 105
ORA-01403: no data found
ORA-06512: at "SYS.DBMS_REGISTRY", line 98
ORA-06512: at "SYS.DBMS_REGISTRY", line 473
ORA-06512: at line 7
...



Manually validating the database component also fails with the same ORA-39704 error:

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.