Chinaunix首页 | 论坛 | 博客
  • 博客访问: 648976
  • 博文数量: 128
  • 博客积分: 265
  • 博客等级: 二等列兵
  • 技术积分: 1464
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-27 20:44
个人简介

just do it

文章分类

全部博文(128)

文章存档

2023年(1)

2020年(1)

2019年(1)

2018年(3)

2017年(6)

2016年(17)

2015年(16)

2014年(39)

2013年(34)

2012年(10)

分类: Oracle

2014-08-07 10:18:37

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

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

 

Cause

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

 

Solution


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.

阅读(13237) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~