http://iotn.co.kr 연락처: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / 日本政府は日本軍の性的奴隷?牲者に謝罪すべき. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [71]
02.File Book
File 자료실 [95]
Site Link [17]
개인폴더 [201]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [25]
MySQL [43]
DB2 [79]
ORACLE [3003]
PSQL [134]
기타정보 [155]
운영체제 [603]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Field Book :: ORACLE

 회원가입

create ctxsys [ 9i,10g ]
최길호 [LIST]   2011-04-16 20:25:33, 조회 : 33,835

i## imp error
IMP-00017: following statement failed with ORACLE error 6550:
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 1:
PLS-00201: identifier 'CTXSYS.DRIIMP' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
ORA-06550: line 8, column 1:
PLS-00201: identifier 'CTXSYS.DRIIMP' must be declared
ORA-06550: line 8, column 1:
PL/SQL: Statement ignored
ORA-06550: line 10, column 1:
PLS-00201: identifier 'CTXSYS.DRIIMP' must be declared
ORA-06550: line 10, column 1:
PL/SQL: Statement ignored
ORA-06550: line 12, column 1:
PLS-00201: identifier 'CTXSYS.DRIIMP' must be declared
ORA-065
IMP-00088: Problem importing metadata for index ARTICLE_VALUE_IDX. Index creation will be skipped
Import terminated successfully with warnings.
## SQL> error
exec ctxsys.driimp.create_index('ARTICLE_VALUE_IDX','ARTICLE_CONTENT_TBLC',USER,'ARTID,MODSERNO','1','VALUE','112','0','98224','8130','98225',NULL, NULL, NULL, 0,NULL );
ERROR at line 1:
ORA-20000: Oracle Text error:
DRG-52204: error while registrating index
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.DRIIMP", line 100
ORA-06512: at line 1

-- 조치
-- 9i
conn /as sysdba
create tablespace drsys datafile
'/oracle/product/9.2/oradata/DB/drsys01.dbf'
size 20m autoextend on next 20m maxsize unlimited;
@?/ctx/admin/dr0csys ctxsys drsys temp
conn ctxsys/ctxsys
@?/ctx/admin/dr0inst ?/ctx/lib/libctxx9.so
@?/ctx/admin/defaults/drdefus.sql
grant execute on ctxsys.ctx_ddl to public;
grant CTXAPP to user_name;

col version format a14
col comp_name format a30
select COMP_NAME,VERSION,STATUS from dba_registry;

-- test
BEGIN  
ctxsys.driimp.create_index('ARTICLE_VALUE_IDX','ARTICLE_CONTENT_TBLC',USER,
'ARTID,MODSERNO','1','VALUE','112',
'0','98224','8130','98225',
NULL, NULL, NULL, 0,NULL );
ctxsys.driimp.set_object('DATASTORE','DIRECT_DATASTORE',0);
ctxsys.driimp.set_object('DATATYPE','LOB_DATATYPE',0);
ctxsys.driimp.set_object('DATAX','SYNCH_DATAX',0);
ctxsys.driimp.set_object('FILTER','NULL_FILTER',0);
ctxsys.driimp.set_object('SECTION_GROUP','AUTO_SECTION_GROUP',0);
ctxsys.driimp.set_object('LEXER','BASIC_LEXER',0);
ctxsys.driimp.set_object('WORDLIST','BASIC_WORDLIST',2);
ctxsys.driimp.set_value('STEMMER','8');
ctxsys.driimp.set_value('FUZZY_MATCH','3');
ctxsys.driimp.set_object('STOPLIST','BASIC_STOPLIST',0);
ctxsys.driimp.set_object('STORAGE','BASIC_STORAGE',2);
ctxsys.driimp.set_value('R_TABLE_CLAUSE','lob (data) store as (cache)');
ctxsys.driimp.set_value('I_INDEX_CLAUSE','compress 2');
commit;
COMMIT;
END;
/

PL/SQL procedure successfully completed.

-- 출처
http://www.dbatools.net/experience/oracle_context_index_install.html
3.235.60.197


  LIST

제목 작성자 작성일 조회
Troubleshoot  IMP-00058 ORA-01461 IMP-00028 ORA-29275 [ character set은 동일하게 하세요 ]    최길호 2009/08/28 34859
Troubleshoot  ORA-16038, ORA-00354, ORA-00353, ORA-16014, Archiver process freed from errors. No longer stopped    최길호 2008/06/28 34710
Install and Config  Linux 4U5 MEM: 16G SGA: 8G [ 6시간 삽질 성공기, ORA-27102 ORA-00385 ERROR: Unable to attach to VLM segment WARNING: EINVAL creating segment ]  [2]  최길호 2008/06/29 34639
RAC,OPS  rac 10.2 change public IP , VIP , nic device [ vip evtf.log ( clsrevtf: Invalid resource attr ora.node1.vip ) ]  [6]  최길호 2008/09/16 34300
Tool  ociuldr 입니다. 유용하게 사용할 수 있을듯 합니다. [linux gcc, aix cc]   [1]  최길호 2010/01/27 34076
Troubleshoot  event enq: SQ - contention [ enqueue lock ]     최길호 2010/07/11 33921
Troubleshoot  create ctxsys [ 9i,10g ]    최길호 2011/04/16 33835
Troubleshoot  dbca LRM-00123 ORA-01078    최길호 2010/11/25 33819
Troubleshoot  ORA-04052 ORA-12154 IMP-00098: INTERNAL ERROR: impccr2    최길호 2009/04/01 33535
Troubleshoot  ORA-00600: 내부 오류 코드, 인수 : [12333], [12], [50], [48], [], [], [], []    최길호 2010/03/24 33305
Install and Config  11g 기본 설치 script [ create database script , 10g 가능 ]    최길호 2009/07/07 33248
Troubleshoot  /usr/lib/pa20_64/dld.sl: Unable to find library 'libsqlplus.sl' 'libwtc9.sl' 'libclntsh.sl.10.1'    최길호 2010/05/07 33158
Troubleshoot  ORA-07445: exception encountered: core dump [kghlkaftf()+128], ORA-00470: LGWR process terminated with error    최길호 2009/12/07 33060
Troubleshoot  opatch rollback후 OUI-67076    최길호 2007/07/11 32979
Tuning  DECODE 조건을 Index 사용할 수 있도록 SQL 변경    최길호 2010/05/11 32936
Troubleshoot  ORA-12705: Cannot access NLS data files or invalid environment specified    최길호 2010/10/01 32931
Script  login alter session 적용 [ trigger , alter session , 10046 event ]    최길호 2009/06/04 32861
Application Server  opmn java.lang.OutOfMemoryError 대처    최길호 2005/06/16 32842
Troubleshoot  HPUX, ORA-09968: scumnt: unable to lock file  [1]  최길호 2008/02/20 32627
Admin  segment shrink [ alter table ... shrink space; ]  [4]  최길호 2009/03/31 32454

    목록보기   이전페이지   다음페이지 [1][2][3][4] 5 [6][7][8][9][10]..[151]   [다음 10개]
       

Copyright 1999-2023 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
2021/06/30
윈도우 서버에서 sqlplus .... ORA-...
by 최길호
2021/06/30
ORA-28500: connection from O...
by 최길호
2019/05/02
pkg 확인 SELECT * FROM AL...
by 최길호
최근 게시물
12/01
[ORACLE]
dgmgrl 운영, db11st h/w 교체 시나리....
by 최길호
12/01
[ORACLE]
DGMGRL> show configuration;....
by 최길호
11/23
[운영체제]
arch filesystem 100% full 예방 /....
by 최길호