DRG-11207 status 137

I am on a Solaris 2.6 w/816. Every document returns this error in the ctx_index_errors. The path and ld_library_path are correctly set.
Clues/ideas???

This means that the error occurred in a user-filter, not in interMedia Text. This filter preference is not set by default. Did you write the filter yourself?
null

Similar Messages

  • Oracle9iR2/Solaris8 --  DRG-11207: user filter command exited with status 137

    The ctx_ddl.sync_index() procedure hangs when I use it to synchronize the index. It is obvious that the INSO filter is not responding.The LD_LIBRARY_PATH and PATH variables are correctly pointing to $ORACLE_HOME/ctx/lib, $ORACLE_HOME/lib and $ORACLE_HOME/bin,$ORACLE_HOME/ctx/bin respectively. The error in CTX_USER_INDEX_ERRORS is the all too famous:'DRG-11207: user filter command exited with status 137'. The platform is 9iR2/Solaris 8.
    Any ideas as to how to get INSO to start working with the various documents ON SOLARIS 8???
    Thanks

    The ctx_ddl.sync_index() procedure hangs when I use it to synchronize the index. It is obvious that the INSO filter is not responding.The LD_LIBRARY_PATH and PATH variables are correctly pointing to $ORACLE_HOME/ctx/lib, $ORACLE_HOME/lib and $ORACLE_HOME/bin,$ORACLE_HOME/ctx/bin respectively. The error in CTX_USER_INDEX_ERRORS is the all too famous:'DRG-11207: user filter command exited with status 137'. The platform is 9iR2/Solaris 8.
    Any ideas as to how to get INSO to start working with the various documents ON SOLARIS 8???
    Thanks

  • Technical note:  Troubleshooting DRG-11207 errors / INSO filters.

    All,
    The following is Metalink's Note 210319.1about troubleshooting DRG-11207 errors.
    If the content is of no help, I suggest contacting Oracle support.
    -Omar
    Subject: Troubleshooting DRG-11207 errors
    INTRODUCTION
    =============
    Most of the errors encountered during creation of Oracle Text indexes are likely
    to be caused when dealing with formatted documents. These errors are logged in the
    view CTX_USER_INDEX_ERRORS and can be queried from the schema where the create index
    statement was executed, or table CTX_INDEX_ERRORS queried from the CTXSYS user.
    One of the errors commonly reported in these views is the DRG-11207 error.
    Unfortunately, this error is often not useful in diagnosing indexing issues.
    The INSO_FILTER issues are difficult to diagnose because Oracle uses a third-party
    application for filtering. As a result, it is often difficult to identify the real
    source of the problem.
    This document will troubleshoot the INSO_FILTER errors associated with
    the
    DRG-11207 "exited with status X"
    message. In regards to the INSO_FILTER, the error code implies that it is unable to
    index a formatted document. It is important to mention that these errors can be operating
    system specific and therefore this note is intended to provide some hints as a starting
    point for analysis. Its possible that other cases may be reported and if this is the
    case be sure to log the error with Oracle Support. Examples of the most common document
    types are provided in this article (Adobe PDF, Micrsoft Word and Microsoft Excel).
    For Oracle 10i, meaningful error messages have been added for drg-11207.
    This has been documented in [BUG:2473885]
    COMMON ERRORS
    ==============
    DRG-11207: user filter command exited with status 1
    Status 1 means "Could not filter the document". It is a generic error and indicates that
    INSO_FILTER failed on a given document. This can happen due to many documented reasons: an
    invalid environmental setting; document is corrupted, encrypted, password protected;
    document version not supported(incompatibility) or due to a bug in INSO_FILTER.
    DRG-11207: user filter command exited with status 2
    Status 2 means "The INSO_FILTER has timed-out". The default value of the timeout value
    for the INSO_FILTER is 120 (seconds). The default value for the timeout_type is
    heuristic, which implies that if the timeout value is reached and the INSO_FILTER
    has not started to write output, the indexing operation terminates for the document
    row and Oracle moves to the next document row to be indexed. Beginning in 9.2.0.1
    it is possible to change the timeout_type variable to fixed, which allows a
    user to terminate filtering processing after the TIMEOUT seconds regardless of
    whether filtering is progressing normally or hanging. The default timeout value
    is generally enough for filtering most of the documents. If the timeout value is
    not large enough then it may timeout even before filtering completes. PDF and
    Microsoft Excel files are usually more prone to this timeout as the INSO_FILTER
    generally takes more time to process these types of files. If this is the
    case then you can create a preference with a larger timeout value in versions
    8.1.7.1b and above. It should be noted, however, that the timeout attribute cannot be
    changed dynamically. In order for the new timeout value to take effect, it
    would be necessary to re-create the index with the new timeout attribute
    setting.
    For example, in 9.2.x to alter the timeout to 600 seconds(10 minutes) and use
    the fixed timeout_type:
    begin
    ctx_ddl.create_preference('my_inso', 'INSO_FILTER');
    ctx_ddl.set_attribute('my_inso', 'timeout', '600');
    ctx_ddl.set_attribute('my_inso', 'timeout_type', 'FIXED');
    end;
    Documented reasons for timing out are:
    1. the document is too large to be indexed in the alloted time set via TIMEOUT
    attribute.
    2. INSO_FILTER is hanging during the filtering.
    DRG-11207: user filter command exited with status 127
    Status 127 points to that likely an environmental issue with the shared library
    environmental variable.
    DRG-11207: user filter command exited with status 137
    Status 137 meand that the ctxhx executable was killed as the inso filter is not
    set-up properly. Confirm that the correct environmental variables are
    setup(LD_LIBRARY_PATH AND PATH) and the format of the document is
    supported by INSO_FILTER.
    ENVIRONMENTAL SETTINGS
    ======================
    Please note that any DRG-11207 error may be caused by the setting of the
    environmental variables. Be sure that the PATH and shared library path
    which is LD_LIBRARY_PATH (SHLIB_PATH for HP-UX and LIBPATH for AIX) are
    correct, since it is this setting which actually invokes the INSO_FILTER.
    Note : it is also possible to define the environment variable
    LD_LIBRARY_PATH in the listener.ora entry for extproc. This would be
    included in the ENVS section of the origin database LISTENER.ORA:
    ENVS = 'LD_LIBRARY_PATH=<full_pathname_of_oracle_home>/ctx/lib:$ORACLE_HOME/lib'
    LD_LIBRARY_PATH should include
    <full_pathname_of_oracle_home>/ctx/lib:<full_pathname_of_oracle_home>/lib
    For example:
    export LD_LIBRARY_PATH=<full_pathname_of_oracle_home>/ctx/lib:$LD_LIBRARY_PATH
    PATH should include
    <full_pathname_of_oracle_home>/ctx/bin:<full_pathname_of_oracle_home>/bin
    [NOTE:133691.1] and [NOTE:135333.1] provides possible steps to get around this error.
    SUPPORTED DOCUMENT ATTRIBUTE CHECKLIST
    ======================================
    1. Determine if the filtered document is supported
    A list of supported formats is provided in the InterMedia Text documentation
    pages. Please check whether the format falls in the list of supported formats.
    It is important to note that each Oracle version may support different
    versions of documents.
    For PDF Acrobat (full version), click on File->Document_Info->General and
    you should see the PDF version.
    For Microsoft Word and Excel, click on File->Save As and review the
    "Save as type" to determine the version.
    2. Determine if the document is corrupted
    To verify if a document is corrupted, open the document and view it line
    by line checking for corrupted output. Please note, just holding down the
    "Page Down" button to view all the pages, it's possible that potential
    corruption on a particular page will go unnoticed.
    3. Determine if the document is a secure or copy protected document
    Password protected documents and documents with password protected contents
    are not supported by the INSO_FILTER.
    For PDF Acrobat (full version), click under file->document_info->security.
    If the open password or security password is set to true then it's password
    protected.
    For Microsoft Word, click under Tools->Options->Save. If the
    "Password to open" or "Password to modify" appears as asterisks (*****),
    then the document is secured.
    For Microsoft Excel, click under File->Save As->Tools->General options.
    If the "Password to open" or "Password to modify" appears as
    asterisks (*****), then the document is secured.
    4. Determine if the document is a encrypted
    INSO_FILTER does not currently support encrypted documents.
    For PDF Acrobat (full version), click under file->document_info->security.
    If security method is none, the document is not encrypted. In other cases,
    it is encrypted.
    For Microsoft Word, it is not possible to encrypt this type of document
    directly.
    For Microsoft Excel, if the document is workbook protected then this
    implies that the document is encrypted. To determine this click under
    tools->protection and if the Unprotect Workbook or Unprotect
    Sheet is shown, this implies that the workbook/worksheet is encrypted.
    5. Determine if the document has custom embedded fonts
    Stellent filters will succeed on the majority of PDF documents containing
    custom fonts. Until now, there have only been a few documented cases of
    custom embedded fonts causing filtering problems with PDF documents. If
    there is a filtering problem with custom fonts, it will only result in
    garbage tokens being produced as a result of the custom font, whereas the
    remainder of the PDF document using the standard/built-in font will be
    filtered properly.
    To determine if custom embedded fonts are used for PDF Acrobat (full version),
    click under file->document_info->fonts and review the encoding type.
    The best way to identify whether a particular custom font will filter successfully
    is to highlight the character, copy and paste into Notepad. If the output
    contains garbage text then it is not likely to be filtered properly.
    For Microsoft Word and Excel, regardless of what font is being used, the
    INSO_FILTER should be able to extract the characters.
    References
    Oracle Text Reference Releases 9.1 and 9.2
    [BUG:2473885] BETTER ERROR MESSAGES FOR WHEN CREATING INTERMEDIA INDEX
    USING INSO FILTER
    [NOTE:133691.1] Create context index fails with DRG-11207 or fatal:libsc_fa.so
    [NOTE:135333.1] CTX_DDL.SYNC_INDEX With DBMS_JOB Fails (DRG-11207) Using
    INSO Filter in V817
    [BUG:1795642] INTERMEDIA TEXT INDEX OF A CERTAIN EXCEL97 FILE IS NOT
    CREATED IN WEBDB SITE

    Gary,
    This is two questions:
    1. The INSO filter on 8.1.7 when converting MS Word or WordPrefect Docs to HTML would give you <I> and <B> used in
    the word processor. The 9.2.0.1 version is not converting <I> or <B> in the HTML. Is there any documentation
    from the Company on using the ctxhx and template files? If <I> and <B> tags are missing in 9.2.0.1 then it is a bug in the INSO code.
    2. I have received an error in the CTX_USER_INDEX_ERRORS from one of the docs store in a BLOB here is the error.
    DRG-11207: user filter command exited with status 1.
    Is there a way to debug the ctxhx or INSO load libraries? I know what a 137 error is (NO LD_LIBRARY_PATH for ctx/lib)
    but what a 1. Where is the FL_CMD_EXIT_ERR info? Status 1 is a generic error and you can't debug it. Could you please post your email address? I would like to contact you for a test case.
    Thanks.

  • DRG-11225: Third-party filter timed out

    Hello,
    I am facing the following problem when indexing a column:
    DRG-11207: user filter command exited with status 2
    DRG-11225: Third-party filter timed out.
    I am using Ubuntu 10.04.2 LTS and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    I have a column named URL in a table named DOCUMENTO_CONSULTA
    This column contains file URLs (2 rows involved in the test)
    I am confident that the paths that appear in the two rows of the URL column are correct (because if I change
    them to something different another error appear that says, as expected, that files could not be found). I am sure
    that access to the files is granted. FILE_ACCESS_ROLE is set to CTXAPP and role is granted to the user. File
    and path permission are set to 777.
    The two rows contains paths to simple DOC and PDF content, with just one paragraph each.
    I am using the following configuration:
    ctx_ddl.create_preference ('ajn_doc_cons_datastore', 'URL_DATASTORE');
    ctx_ddl.set_attribute ('ajn_doc_cons_datastore', 'urlsize', 1024);
    ctx_ddl.create_preference ('ajn_doc_cons_filter', 'AUTO_FILTER');
    ctx_ddl.set_attribute ('ajn_doc_cons_filter', 'timeout', 0);
    ctx_ddl.create_preference ('ajn_spanish_lexer', 'BASIC_LEXER');
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'base_letter', 'YES');
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'index_themes', 'NO');
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'index_stems', 7);
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'index_text', 'YES');
    ctx_ddl.create_preference ('ajn_spanish_wordlist', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute ('ajn_spanish_wordlist', 'stemmer', 'SPANISH');
    ctx_ddl.set_attribute ('ajn_spanish_wordlist', 'fuzzy_match', 'SPANISH');
    The sentence to create the index is:
    create index ajn_doc_cons_idx on documento_consulta(URL)
    indextype is ctxsys.context
    parameters ('LEXER ajn_spanish_lexer DATASTORE ajn_doc_cons_datastore FILTER ajn_doc_cons_filter WORDLIST ajn_spanish_wordlist ')
    I've tried changing URL_DATASTORE to FILE_DATASTORE (with no attributes) but the result is the same
    Here's the configuration I've set in /etv/environment:
    PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/bin"
    TMPDIR=/tmp
    ORACLE_HOSTNAME=--------- (my host name)
    ORACLE_BASE=/mnt/oracle/app/oracle
    ORACLE_HOME=/mnt/oracle/app/oracle/product/11.2.0/dbhome_1
    ORACLE_SID=orcl
    ORACLE_TERM=xterm
    LD_LIBRARY_PATH=/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib:/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/lib
    If I try to use ctxhx from the console everything works OK and twoHTML files corresponding to the two rows are generated with no errors at all.
    I haven't found any relevant information in forums and docs. I don't have any more ideas, so any answer would be appreciated.
    Thanks in advance
    Edited by: 988718 on 18-feb-2013 7:16

    Ubuntu is not a supported platform for Oracle, so it's hard to answer this.
    However, if you want to try to debug it, replace the "ctxhx" executable with a shell script which dumps its arguments and the current environment to a file.
    You can then use that output to create a shell with the same environment, and see if command line ctxhx still works. If not, you'll have to figure out what the differences are between the two environments.

  • Problems in indexing MS word document. Please help!

    Hi
    I'm using oracle 8.1.6 on solaris 5.7
    I stored a MS word document in a table as a internal blob.
    The word document contains one line:
    "This is test word document." Then I indexed it with inso_filter preference. I created a log file during indexing. The log file showed thatb there was no document indexed. Here was what I did:
    ===============================================================
    --Create preference
    exec CTX_DDL.drop_preference('MY_LEXER');
    exec CTX_DDL.create_preference('MY_LEXER','BASIC_LEXER');
    exec CTX_DDL.set_attribute('MY_LEXER','MIXED_CASE', 'NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_THEMES','NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_TEXT', 'YES');
    exec ctx_ddl.Drop_Preference ('MY_FILTER');
    exec ctx_ddl.Create_Preference ('MY_FILTER','INSO_FILTER');
    exec ctx_ddl.drop_section_group ('MY_SECTION');
    exec ctx_ddl.create_section_group ('MY_SECTION','NULL_SECTION_GROUP');
    --Create table
    drop table test;
    create table test
    (id number primary key,
    text blob
    --Initialize blob column with an empty blob
    insert into test (id,text) values (1,empty_blob());
    --Create an directory in which a word file (test.doc) exsits
    create directory filedir as '/home/mydir';
    --Insert the word file
    DECLARE
    lobd BLOB;
    fils BFILE;
    BEGIN
    fils := BFILENAME('FILEDIR','test.doc');
    SELECT text INTO lobd FROM test WHERE id = 1 FOR UPDATE;
    dbms_lob.fileopen(fils, dbms_lob.file_readonly);
    dbms_lob.loadfromfile(lobd, fils, dbms_lob.getlength(fils));
    COMMIT;
    dbms_lob.fileclose(fils);
    END;
    ---Start logging
    exec ctx_output.start_log('index.log');
    ---Create index with INSO_FILTER defined in preference
    create index test_index on TEST(text) indextype is ctxsys.context
    parameters ('lexer MY_LEXER filter MY_FILTER section group MY_SECTION memory 50M');
    ---Stop loggin
    exec ctx_output.end_log;
    =============================================================
    The indes was created. And I open the index.log file. It is:
    ==============================================================
    Oracle interMedia Text: Release 8.1.6.0.0 - Production on Tue Feb 19 16:22:50 2002
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    16:22:50 02/19/02 begin logging
    16:23:48 02/19/02 populate index: CALLOB.TEST_INDEX
    16:23:48 02/19/02 Begin document indexing
    16:23:49 02/19/02 End of document indexing. 0 documents indexed.
    16:24:06 02/19/02 log
    16:24:06 02/19/02 logging halted
    ===============================================================
    I did the query:
    select token_text from dr$test_index$i;
    no rows returned.
    Could anyone tell me why this happened? An advices are appreciated.
    Thansk,
    George

    Hi, Omar:
    I tried use SQL*Loader to load the word document. Part of the loader logging reads as following:
    Table TEST:
    1 Row successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 6720 bytes(64 rows)
    Space allocated for memory besides bind array: 0 bytes
    Total logical records skipped: 0
    Total logical records read: 1
    Total logical records rejected: 0
    Total logical records discarded: 0
    ================================================================
    It seems that the file was sucessfully loaded into the database. Then I created index using the procedure I posted on this thread. I checked the table ctx_user_index_errors.
    select * from ctx_user_index_errors;
    the returns are:
    ERR_INDEX_NAME ERR_TIMES
    TEST_INDEX 20-FEB-02
    ERR_TEXTKEY
    AAAGtpABLAAAAAXAAA
    ERR_TEXT
    ----------------------------------------------------------------DRG-11207: user filter command exited with status 137
    What does this return tell?
    Thanks.

  • BLOB Column with PDF docs

    I already read a different ways to extract the PDF docs from oracle table and open it through forms. All of them with java classes, webutil integration and dbms_lob.
    But, if I need an other way to show it (select the column and open it) through the forms module, I can do it. Like Developer 6i, we can defined a OLE container field in forms and query the table and show the BLOB data.
    This are my scenerio:
    Oracle DB: EE 9.2.0.6.0
    Developer: 6i Rel 2 & 10g v. 10.1.2.0.2 (for test and eventually for migrate to production environment, with iAS R 9i)
    I already read if I need to use java, dbms_lob or webutil, I need to use it through iAS and in some cases I need to create a DAD.
    But, If have 10g in developer enviroment just for test and I don't want to use a iAS, do I have any other way to select a BLOB column (with a PDF files store in there) from a oracle table and be able to open it with acorbat reader.
    thank you a lot guys and sorry about all this message (related with the same) but I am no a guru oracle developer.
    AM

    Rechecked and was not logged on to user, checked the error view and got
    TEXT_INDEX_FRI 03/30/2001 1: AAAIt+AAFAAAAmDAAJ DRG-11207: user filter command exited with status 137
    searched some of the articles here on this error, checked that listener was running correctly for extproc, added to the listener the ENVS=LD_LIBRARY_PATH line
    added roles, resource, connect, ctxapp
    added to PATH and LD_LIBRARY_PATHs,
    but still get the above error
    does work though for simple text insert case, so seems to be related to documents in a blob field. Any other suggestions or queries that I can do to troubleshoot this? Could it be the way it is loaded?
    ================
    my sql loader control file
    LOAD DATA
    INFILE '/chem20/stuff/Load_docs2.dat'
    INTO TABLE imed.cmgendoc
    APPEND
    FIELDS TERMINATED BY ','
    (Doc_id char,
    author char,
    doc_name FILLER CHAR(255),
    act_doc LOBFILE(doc_name) TERMINATED BY EOF,
    mimetype char(128))
    ==================
    my dat file
    2,ted the frog,/chem20/stuff/snmp.pdf,application/pdf
    3,ted the dog,/chem20/stuff/config.pdf,application/pdf
    4,ted the cat,/chem20/stuff/oemcn.pdf,application/pdf
    5,ted the rat,/chem20/stuff/oemer.pdf,application/pdf
    6,ted the cow,/chem20/stuff/oemug.pdf,application/pdf
    7,ted the bug,/chem20/stuff/servlets.pdf,application/pdf
    8,ted the bird,/chem20/stuff/pg.pdf,application/pdf
    9,ted the sheep,/chem20/stuff/install.pdf,application/pdf
    null

  • Strange occurences on Intermedia (8.1.6) on Solaris 7

    Hi!
    I made some strange occurences on Intermedia (8.1.6) on Solaris 7! I had no problems on my testing environment 8.1.6 & win2k!
    Table t_search with column body as a BLOB (can be Word, PDF, *.txt)
    <sqlplus>
    create index T_SEARCH_IDX on t_search ( body ) indextype is ctxsys.context
    parameters ('FILTER ctxsys.inso_filter LEXER german_lexer MEMORY 262144');
    COMMIT;
    Index created.
    </sqlplus>
    seemed ok!
    But any query-string returns nothing
    SELECT SCORE(1) brabbit from t_search WHERE CONTAINS(body, 'der', 1) > 0; ->no rows returned!!!
    Occurence 1:
    select * from ctx_user_index_errors;-> many entries in column ERR_TXT: "DRG-11207: user filter command exited with status 137"
    Occurence 2:
    -> I drop the index each time i run my pl/sql-script by putting this in front of all actions:
    <sqlplus>
    DROP INDEX T_SEARCH_IDX;
    </sqlplus>
    but DBMS_OUTPUT always complains:
    * ERROR at line 1: ORA-01418: specified index does not exist
    Curious, isn't it?
    Can somebody explain or help me out of this trouble?
    thx Stefan

    anyway You can put anything in the searchquery nothing returns, because the fresh "built" index has nothing in it, and there is an errormessages for each piece of document intermedia should analyze.

  • Strange occurences on Intermedia (8.1.6) on Solaris 7 vs win2k

    Hi!
    I have ome strange occurences on Intermedia (8.1.6) on Solaris 7! I had no problems on my testing environment 8.1.6 & win2k!
    Table t_search with column body as a BLOB (can be Word, PDF, *.txt)
    <sqlplus>
    create index T_SEARCH_IDX on t_search ( body ) indextype is ctxsys.context
    parameters ('FILTER ctxsys.inso_filter LEXER german_lexer MEMORY 262144');
    COMMIT;
    Index created.
    </sqlplus>
    seemed ok!
    But any query-string returns nothing
    SELECT SCORE(1) brabbit from t_search WHERE CONTAINS(body, 'der', 1) > 0; ->no rows returned!!!
    Occurence 1:
    select * from ctx_user_index_errors;-> many entries in column ERR_TXT: "DRG-11207: user filter command exited with status 137"
    Occurence 2:
    -> I drop the index each time i run my pl/sql-script by putting this in front of all actions:
    <sqlplus>
    DROP INDEX T_SEARCH_IDX;
    </sqlplus>
    but DBMS_OUTPUT always complains:
    * ERROR at line 1: ORA-01418: specified index does not exist
    Curious, isn't it?
    Can somebody explain or help me out of this trouble?
    thx Stefan

    Please post your question in the Oracle text forum for an expert answer. But, from what I seem to remember, the inso filters are only supported on windows (though there is a hack to have a call made to filter on a windows machine)...

  • Oracle text in 11g enterprise

    I built a text on the sql oracle 11g version as follows:
    SELECT ROWIDS, ID, NGAYTAO, NGAYXUATBAN, CHUYENMUC, fullpath, NGONNGU, content on
    , (SELECT CTX_DOC.SNIPPET ('SEARCH_DNICT_MOTA_IDX', ROWIDS, "Vietnam has a chance to catch large capital inflows from Japan ') FROM DUAL) ABC
    , (SELECT CTX_DOC.SNIPPET ('SEARCH_DNICT_NOIDUNG_IDX', ROWIDS, "Vietnam has a chance to catch large capital inflows from Japan ') FROM DUAL) CD
    FROM SEARCH_DNICT
    WHERE (CONTAINS (SEARCH_DNICT.TIEUDE, "Vietnam has a chance to catch large capital inflows from Japan ', 1)> 0
    OR CONTAINS (SEARCH_DNICT.MOTA, "Vietnam has a chance to catch large capital inflows from Japan ', 2)> 0
    OR CONTAINS (SEARCH_DNICT.NOIDUNG, "Vietnam has a chance to catch large capital inflows from Japan ', 3)> 0);
    When I execute the code after the error occurs:
    ORA-20000: Oracle Text error:
    DRG-11207: user filter command with status 2
    DRG-11225: Third-party filter timed out.
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DOC", line 2618
    ORA-06512: at line 1
    20000. 00000 - "% s"
    * Cause: The stored procedure 'RAISE_APPLICATION_ERROR'
    Causes this error was to be generated.
    * Action: Correct the problem as described in the error message or contact
    the application administrator or DBA for more information.
    - Please help me solve the above problem, thanks
    Edited by: 890028 on Oct 7, 2011 12:51 AM
    Edited by: 890028 on Oct 7, 2011 12:52 AM

    Can you provide a full script that shows us what you're trying to do? The select statement doesn't tell us enough to help you debug.

  • URL_DATASTORE .pdf's created with Adobe Distilller 4.0

    I am running Oracle 9i (9.2.0.1.0) on Solaris 8. I am using an Oracle text URL_DATASTORE to index pdf's, word docs, and html files. I am able to successfully index and query for all documents except for pdf's with interactive fields created by Adobe Distiller 4.0. All other PDF's work fine (including those created with distiller 5.0). Is their a known problem with this combination (Distiller 4 and Oracle Text 9.2 ?). When reindexing a Distiller 4.0 pdf I get the following error in ctxsys.DR$INDEX_ERROR:
    DRG-11207: "user filter command exited with status 1"
    I created index w/this statement:
    create index f_and_d_intermedia_index on forms_and_directives(intermedia_index)
    indextype is ctxsys.context
    parameters ('DATASTORE CTXSYS.URL_DATASTORE filter ctxsys.INSO_filter');
    Any help will be greatly appreciated.

    I know of no problems, but support might. I'd recommend logging a tar since they have the 'master' view of the bug database and their internal knowledge base.
    -Ron

  • AUTO_FILTER in 10g results in NO indexes

    I have a MULTI_COLUMN_DATASTORE associated with my index. One of the columns is a BLOB. I have tested with Word, XML and PPT documents and embedded text in those docs is searchable without me specifying any FILTER parameter during index creation.
    When I test with PDF docs I don't find anything on my searches. I have tried INSO_FILTER and AUTO_FILTER during index creation and every time I get NO hits on any searches anymore. I rebuild my datastore with the new FILTER clause, specify Y for my BLOB column and N for the others. Again, I get NO hits for any searches. Rebuild datastore specifying N for the BLOB column and all indexes (except PDFs) get generated fine again.
    I assume use of AUTO_FILTER requires something that I don't have configured.
    Any ideas appreciated.

    Hi,
    I am also planning to use Oracle text for our document and database searching (Oracle 10g (10.2.0)). I have saved 2 files (.DOC and .PDF) as blobs in the database. I used the following script for creating index on the blob type:
    create index testindex on doc_prototype1(text) indextype is ctxsys.context
    parameters ('filter ctxsys.inso_filter');
    I also tried using auto_filter as well but it didn’t work.
    I got the following error when I viewed the error log and the index tables were blank.
    DRG-11207: user filter command exited with status 1 - DRG-11222: Third-party filter does not support this known document format.
    Can anyone please help me out to resolve this problem and also to analyze the exact reason and the solution for the same.
    Regards
    Inderjeet

  • Non text filters in Oracle Text 9.2 (W2K)

    It appears that the INSO filters do not work very well - certainly not out of the box. Other than the plain text files I have not been able to index any other documents. Judging by the amount of traffic on this I don't hold up much hope, since I am getting the ubiquitous(undebuggable!!):
    ORA-20000: Oracle Text error:
    DRG-11207: user filter command exited with status 1
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.CTX_DOC", line 609
    ORA-06512: at line 3
    This is a show stopper for us since we have no control of the documents and really require close to 100% coverage of at least the supported types -- what are the experiences of folks here in general -- should we abandon this now?
    -- simon (mailto:[email protected])

    Simon -
    do you know what files are causing the errors?
    the INSO filter tends to give this error if it tries to process XML files. In the current version, you will need to identify XML files in some other manner (eg by file extension when loading) and use a FORMAT column to mark these rows as TEXT - which will cause the filter to ignore them and they will be indexed as plain text.
    In a future version the INSO filter will automatically recognize and skip XML files, which should solve the problem.
    - Roger

  • ODF support in Oracle Text 10g R2 version ??

    Currently, we are using Oracle Text 10g Release 2 version for HTML section searching in our application. we don't have any issues in Microsoft office 2003 documents.
    But, when we use Open office documents(ODF), it is not working. It is throwing the following exception:
    java.sql.SQLException: ORA-20000: Oracle Text error:
    DRG-11207: user filter command exited with status 1
    DRG-11222: Third-party filter does not support this known document format.
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DOC", line 825
    ORA-06512: at line 1
    We are using "AUT_FILTER" filter technology.
    Any ideas for solving this issue?

    You start to have to think outside the box at this point -- AUTO_LEXER isn't going to be able to support you natively.
    You could file an SR, and let Oracle tell you whether they'd be willing to integrate changes (like new Verity libraries as they are developed) to 10.2.
    That assumes that Autonomy (owner of Verity) has improved their support for ODF.
    The OpenOffice formats are all xml-based; you could write something custom to extract the text from your openoffice files and submit them to Oracle as straight XML. I've done something similar to support Office 2007 formats.
    You could write a custom USER_LEXER (which is essentially the same as custom extraction, but may be an easier place to hook in your custom code).
    That's the main reason I suggested moving up to 11g -- none of the other choices have any easy, short-term fix or workaround.

  • Oracle text installed but can't find anything through the text indexes

    Hello,
    i've got a Oracle 10G (10.2.0.4) database 64bit on a Windows 2003r2 64bit (sp2). I also installed the Oracle Text:
    Oracle Text
    VALID 10.2.0.4.0
    then I created some preferences and created the text indexes:
    create index afindex on docs(document) indextype is ctxsys.context parameters('storage gdoc_store SYNC (ON COMMIT)');
    so with the syn on commit, it should immediately be seen in the index.
    I have for example in 1 table 6 documents (word,pdf ...), the other has more then 64000 documents and the 3rd one more than 425000.
    In none of the 3 above, searching on text gives result after index is created. Not in the developer his program nor in sqlplus.
    searching sql for example:
    select id from docs where contains(doc,'hello')>0;
    under the c:\windows\temp, I see about 380files with drgibXXXXX, so it does index them?
    What could be the problem?
    note that I've got lots of other database where I also use Oracle text and there is no problem, only difference is the 32 <-> 64bit.
    error in ctx_index_error is :
    DRG-11207: user filter command exited with status 1
    Edited by: user12155961 on 15-apr-2010 5:33

    According to the [http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/afilsupt.htm#sthref2446|10.2 docs], Auto Filter is supported on the following platforms:
    Microsoft Windows
    o Server 2003 (x86 and IA-64)
    o XP (Service Packs 1 and 2)
    o 2000 x86 (Service Pack 2)
    o NT 4.0 x86 (Intel) (Service Pack 6a)
    Sun Solaris 8.0 and 9.0
    HP-UX 11.0 and 11i, PA-RISC
    HP-UX 11i v11.23, IA-64
    IBM AIX 5.1 and 5.2L
    Red Hat Linux 7.3 and 8.0
    Red Hat Enterprise Linux AS 2.1 and 3.0 (x86)
    Red Hat Enterprise Linux AS 3.0 (IA-64)
    SuSE Linux Standard Server 8 (x86)
    Note x84 and IA-64 (Itanium 64) but not x86-64. So I suspect that you don't get the filters at all.
    If this is the case, your options are either to install a 32 bit version of Oracle for Windows (which I believe should work fine on 64 bit Windows) or to attempt to cobble the 32 bit ctxhx into your 64 bit environment. I'm sure this should be possible, but it would be unsupported and I don't have any kind of "how to" on doing it.

  • Not able to index docx file

    I need to search within  a  doc file . So I am using Oracle Text to search within the file.
    But, when I am trying to index a Docx file through Oracle Text , it is giving me error for only docx files.
    Oracle Version is: Oracle Database 11g version 11.1.0.6.0
    I have a table resume_details where resumes are stored as blob field .DDL of table is : create table resume_details(resume blob,emp_id number);
    When I am trying to index this colmn it is working fine for doc files but not working for Docx files.
    Index query
    create index i on resume_details(resume) indextype is ctxsys.context parameters ('datastore ctxsys.default_datastore filter ctxsys.inso_filter') ;
    It is giving me an error for Docx files
    DRG-11207 :user filter command exited with status 1
    DRG-11222 : Third party filter does not support this known document format.
    Any suggestion will be most welcome.
    Thanks
    I even tried to fetch some characters of docx file
    select utl_raw.cast_to_varchar(dbms_lob.substr(resume_details , 1000,1  )  )
    from resume_details rd
    where  rd.emp_id = 1      --emp_id 1 contains resume of docx format
    but it showing some unrecognizable characters ( looks like in chinese language). Even if I will be able to extract texts from docx files I will be able to
    search with in the files.
    Kindly suggest a way..

    You need 11.1.0.7, 11.2 or 12.1.

Maybe you are looking for