ITPub博客

首页 > 数据库 > Oracle > 数据库创建组件时报错ORA-30554: XDB.XDB$ACL_XIDX is disabled

数据库创建组件时报错ORA-30554: XDB.XDB$ACL_XIDX is disabled

原创 Oracle 作者:xianhua_33 时间:2022-04-02 10:58:57 0 删除 编辑

现象:

Creation of ACL with DBMS_NETWORK_ACL_ADMIN.CREATE_ACL is failing with error:

ORA-30554: function-based index XDB.XDB$ACL_XIDX is disabled

ORA-06512: at "SYS.DBMS_NETWORK_ACL_ADMIN", line 252

ORA-06512: at line 2

问题原因:

Functional Index XDB$ACL_XIDX is disabled.So its causing error ORA-30554.

SQL> select owner, index_name, index_type,

2  table_owner, table_name, status,

3  funcidx_status

4  from dba_indexes

5  where index_name = 'XDB$ACL_XIDX';

OWNER                INDEX_NAME                     INDEX_TYPE

-------------------- ------------------------------ ---------------------------

TABLE_OWNER                    TABLE_NAME                     STATUS   FUNCIDX_

------------------------------ ------------------------------ -------- --------

XDB                  XDB$ACL_XIDX                   FUNCTION-BASED DOMAIN

XDB                            XDB$ACL                        VALID    DISABLED

处理方法:

Enable the Functional index XDB.XDB$ACL_XIDX.

SQL> conn / as sysdba

SQL> alter index xdb.XDB$ACL_XIDX enable;

Run the DBMS_NETWORK_ACL_ADMIN.CREATE_ACL again.


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69950318/viewspace-2885483/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-10-09

  • 博文量
    95
  • 访问量
    41130