【问题标题】:11g XE: could not find the given license file11g XE:找不到给定的许可证文件
【发布时间】:2011-05-04 09:43:25
【问题描述】:

我正在尝试像这样创建一个简单的全文索引:

exec ctx_ddl.create_preference('my_own_lexer', 'AUTO_LEXER');

create index myidx ON tbl(name) 
   INDEXTYPE IS ctxsys.context PARAMETERS ('LEXER my_own_lexer')

出现错误:

ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10502: index IDX does not exist
DRG-00100: internal error, arguments : [50611],[drli.c],[2743],[License Error:
could not find the given license file:
/u01/app/oracle/product/11.2.0/xe/ctx/data/inxight/lang/license.dat],[]
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

使用 BASIC_LEXER 而不是 AUTO_LEXER - 可以正常工作

centOS,Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Beta

谢谢!

【问题讨论】:

    标签: oracle oracle-xe ora-06512


    【解决方案1】:

    Oracle XE 11gR2 是一个beta 产品。但 Express Edition 是一款受限产品,缺少较大产品中包含的一些功能。因此,这可能是设计的错误或功能。许可文档没有明确地mention AUTO_LEXER,如果 Oracle 故意将其排除在外,我们可能会预料到,因此很有可能出现“错误”。

    最好的办法是在the OTN forum for the product 上提出这个问题。 XE 团队的成员在那里阅读并回复用户反馈。

    【讨论】:

      猜你喜欢
      • 2016-04-26
      • 2021-05-30
      • 1970-01-01
      • 2012-06-26
      • 2019-11-23
      • 2021-11-20
      • 2021-04-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多