关于oracle的全文检索,请教,在线等ing

[复制链接]
查看11 | 回复2 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
我的oracle9i,安装完成以后,tnsping extproc_connection_data 没有问题,而且也有ctxapp角色,但是没有ctxsys用户,不知是什么原因。
然后,我手工创建了ctxsys用户,授予了ctxapp权限,但我在ctxsys用户下建立一个preference时:
begin
ctx_ddl.create_preference('my_lexer','chinese_vgram_lexer');
end;
出错:
ctx_ddl.create_preference('my_lexer','chinese_vgram_lexer');
*
ERROR 位于第 2 行:
ORA-06550: 第 2 行, 第 1 列:
PLS-00201: 必须说明标识符 'CTX_DDL.CREATE_PREFERENCE'
ORA-06550: 第 2 行, 第 1 列:
PL/SQL: Statement ignored
请问这该怎么办啊!
谢谢。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
解花献佛
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
已经搞定!
解决方法:
What are the steps to install interMedia Text manually, AFTER installing the code via the installer?
A.
cd $ORACLE_HOME/ctx/admin

B. as SYS:
@dr0csys.sql ctxsys system temp

where ctxsys is the ctxsys password system is the default tablespace for ctxsys temp is the temporary tablespace for ctxsys
C. as CTXSYS:
@dr0inst.sql

/oracle/db/dev118/ctx/lib/libctxx8.so

(on Solaris) where /oracle/db/dev118 is $ORACLE_HOME
D. as CTXSYS:
@defaults/drdefus.sql

Note: this is assuming you want U.S. to be your language default, otherwise run the corresponding drdef for your language.
:-):-):-):-):-):-)
共同进步,有牛一起吹!
:-):-):-):-):-):-)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行