Create Index error on all jobs of import abap installation phase

Hello,
I'm facing an issue on import abap phase on IDES SAP ERP 2004 installation over SLES 11/MaxDB 7.6.03 build 9.
Logs below are focused on table REPOSRC because it is the first error over installation, the same error appear again and again for the next tables.
We ran the installation again changing the number of parallel processes to 1 job at time but finally nothing change.
sapdb log size : -rw-rw---- 1 sdb  sdba 8808038400 Mar 30 23:01 DISKL001
cache_size = 159488
Thanks in advance, Deiby 
import_monitor.log
TRACE: 2010-03-29 16:53:00 com.sap.inst.migmon.LoadTask run
Loading of 'REPOSRC' import package is started.
TRACE: 2010-03-29 16:53:00 com.sap.inst.migmon.LoadTask processPackage
Task file generation for 'REPOSRC' import package:
/usr/sap/IDS/SYS/exe/run/R3load -ctf I /software/51034985/51034985_2/EXP2/DATA/REPOSRC.STR /tmp/sapinst_instdir/ERP/SYSTEM/ADA/CENTRAL/AS/DDLADA.TPL REPOSRC.TSK ADA -l REPOSRC.log
TRACE: 2010-03-29 16:53:00 com.sap.inst.migmon.LoadTask processPackage
Loading of 'REPOSRC' import package into database:
/usr/sap/IDS/SYS/exe/run/R3load -i REPOSRC.cmd -dbcodepage 4103 -l REPOSRC.log -nolog -c 10000
ERROR: 2010-03-29 16:53:04 com.sap.inst.migmon.LoadTask run
Loading of 'REPOSRC' import package is interrupted with R3load error.
Process '/usr/sap/IDS/SYS/exe/run/R3load -i REPOSRC.cmd -dbcodepage 4103 -l REPOSRC.log -nolog -c 10000' exited with return code 2.
For mode details see 'REPOSRC.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
REPOSRC.log
/usr/sap/IDS/SYS/exe/run/R3load: START OF LOG: 20100329165300
/usr/sap/IDS/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
/usr/sap/IDS/SYS/exe/run/R3load: version R7.00/V1.4
Compiled Jan 23 2008 17:32:58
/usr/sap/IDS/SYS/exe/run/R3load -ctf I /software/51034985/51034985_2/EXP2/DATA/REPOSRC.STR /tmp/sapinst_instdir/ERP/SYSTEM/ADA/CENTRAL/AS/DDLADA.TPL REPOSRC.TSK ADA -l REPOSRC.log
/usr/sap/IDS/SYS/exe/run/R3load: job completed
/usr/sap/IDS/SYS/exe/run/R3load: END OF LOG: 20100329165300
/usr/sap/IDS/SYS/exe/run/R3load: START OF LOG: 20100329165300
/usr/sap/IDS/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
/usr/sap/IDS/SYS/exe/run/R3load: version R7.00/V1.4
Compiled Jan 23 2008 17:32:58
/usr/sap/IDS/SYS/exe/run/R3load -i REPOSRC.cmd -dbcodepage 4103 -l REPOSRC.log -nolog -c 10000
DbSl Trace:   prepare() of C_0000, rc=1, rcSQL=-942 (POS(28) Unknown table name:SVERS)
DbSl Trace: SQL PREPARE on connection 0, rc=-942 (POS(28) Unknown table name:SVERS)
(DB) INFO: connected to DB
(DB) INFO: The MaxDB logwriter is switched off#20100329165300
(DB) INFO: Savepoint on database executed#20100329165300
(DB) INFO: REPOSRC created#20100329165300
(DB) INFO: Savepoint on database executed#20100329165301
(DB) INFO: REPOSRC~0 created#20100329165301
DbSl Trace:   writeLob() of C_0003, rc=1, rcSQL=-10201 (Function sequence error (no data for execution expected))
DbSl Trace: LOB_WRITE on connection 0, rc=-10201 (Function sequence error (no data for execution expected))
(IMP) ERROR: DbSlExeModify/DbSlLobPutPiece failed
  rc = 99, table "REPOSRC"
  (SQL error -10201)
  error message returned by DbSl:
Function sequence error (no data for execution expected)
(DB) INFO: disconnected from DB
/usr/sap/IDS/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/IDS/SYS/exe/run/R3load: END OF LOG: 20100329165304
/usr/sap/IDS/SYS/exe/run/R3load: START OF LOG: 20100330120734
/usr/sap/IDS/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
/usr/sap/IDS/SYS/exe/run/R3load: version R7.00/V1.4
Compiled Jan 23 2008 17:32:58
/usr/sap/IDS/SYS/exe/run/R3load -i REPOSRC.cmd -dbcodepage 4103 -l REPOSRC.log -nolog -c 10000
(DB) INFO: connected to DB
(DB) INFO: The MaxDB logwriter is switched off#20100330120734
(DB) INFO: Savepoint on database executed#20100330120735
(DB) INFO: REPOSRC deleted/truncated#20100330120735
DbSl Trace:   writeLob() of C_0004, rc=1, rcSQL=-10201 (Function sequence error (no data for execution expected))
DbSl Trace: LOB_WRITE on connection 0, rc=-10201 (Function sequence error (no data for execution expected))
(IMP) ERROR: DbSlExeModify/DbSlLobPutPiece failed
  rc = 99, table "REPOSRC"
  (SQL error -10201)
  error message returned by DbSl:
Function sequence error (no data for execution expected)
DbSl Trace: EXECUTE on connection 0, rc=-1452 (POS(1) Duplicate secondary key)
ERROR : Execute for create index BNK_BATCH_HEADERBA on BNK_BATCH_HEADER failed (dbrc=99).
  (SQL error -1452)
  error message returned by DbSl:
SQL-Statement: CREATE UNIQUE  INDEX "BNK_BATCH_HEADERBA" ON "BNK_BATCH_HEADER" ( "MANDT" , "BATCH_NO"  )
/usr/sap/IDS/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/IDS/SYS/exe/run/R3load: END OF LOG: 20100330120739
REPOSRC.TSK
T REPOSRC C ok
P REPOSRC~0 C ok
D REPOSRC I err
Edited by: Deiby Alvez on Mar 31, 2010 10:39 PM

hello friends,
i have a similar error in context of an unicode conversion in phase import with r3load. in logs in file D010TAB.log i see the following output:
DbSl Trace: EXECUTE on connection 0, rc=-7055 (POS(55) Column(s) already indexed:/BI0/E0D_DECU~P)
ERROR : Execute for create index /BI0/E0D_DECU~P on /BI0/E0D_DECU failed (dbrc=99).
  (SQL error -7055)
  error message returned by DbSl:
SQL-Statement: CREATE  INDEX "/BI0/E0D_DECU~P" ON "/BI0/E0D_DECU" ( "KEY_0D_DECUP" , "KEY_0D_DECUT" , "KEY_0D_DECUU" , "KEY_0D_DECU1" , "KEY_0D_DECU2" , "KEY_0D_DECU3" , "KEY_0D_DECU4" , "KEY_0D_DECU5"  ) 
POS(55) Column(s) already indexed:/BI0/E0D_DECU~P
/usr/sap/SPV/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/SPV/SYS/exe/run/R3load: END OF LOG: 20100414185908
45 / 47 are complete in phase import.
For a TEST Case , i have deleted all indices on tables in selection of /BI0/*. I will rerun this procedure. the largest part of indices on tables come from a bw-installation in a seperate client.
best regards,
christoph

Similar Messages

  • We are running 3 batches parallel(a.ksh,b.ksh,c.ksh parallel ) .if a.ksh will complete then d.ksh will start('d' start when 'a' will terminate successfully) and we have to handle error for all jobs ( if some job got aborted during runtime) ?

    we are running 3 batches parallel(a.ksh,b.ksh,c.ksh parallel ) .if a.ksh will complete then d.ksh will start('d' start when 'a' will terminate successfully) and we have to handle error for all jobs ( if some job got aborted during runtime) ?

    Moderator Action:
    You already asked this question, two days earlier.
    https://forums.oracle.com/thread/2585158
    Stay with your original post.   Deliberate multiple posting is the same as spamming the forums.
    This new post is locked.

  • How to reprocess failed monitor jobs in Import ABAP phase of system copy

    Hi Experts,
    Can you please let me know how to reprocess the failed monitor jobs during Import ABAP phase as i am performing the import of data as part of system copy of ABAP stack.
    But i have not got any errors so far as the import process is running fine but there are few jobs which are showing as failed.Hence how can i reprocess these failed jobs again.
    Regards,
    Dheeraj

    Hi Juan,
    Here you go.And i have not selected the option" Start migration monitor manually "and where as on Source system the guy has used migration monitor option in order to split the tables and ftp for transferring the export data on target system.
    Is this error anything to do with that?
    Import Monitor.java.log
    Import Monitor jobs: running 1, waiting 1, completed 223, failed 13, total 238.
    Loading of 'RSERRORHEAD' import package: OK
    Import Monitor jobs: running 0, waiting 1, completed 224, failed 13, total 238.
    Import.monitor.log
    WARNING: 2011-04-30 02:57:31
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2011-04-30 02:57:31
    13 error(s) during processing of packages.
    INFO: 2011-04-30 02:57:31
    Import Monitor is stopped.
    SAPINST_dev.log
    TRACE      2011-04-30 02:57:37.578 [iaxxgenimp.cpp:699]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing option <i>SAP NetWeaver 7.0 including Enhancement Package 1 Support Release 1 > Software Life-Cycle Options > System Copy > Oracle > Target System Installation > Central System > Based on AS ABAP > Central System( Last error reported by the step: Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.)</i>. You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>Log Files</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to <code>C:\Program Files/sapinst_instdir/NW701/LM/COPY/ORA/SYSTEM/CENTRAL/AS-ABAP/</code>. </p> </body></html>
    TRACE      2011-04-30 02:57:37.578 [iaxxgenimp.cpp:1248]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    Regards,
    Dheeraj

  • Error in SAPinst (problem in import abap)

    Hi All,
    I'm trying to install SAP ECC6.It run smoothly up to unpack Import ABAP.Then installation stopped showing Error
    ERROR 2010-08-08 15:32:27
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2010-08-08 15:32:27
    FCO-00011  The step runMigrationMonitor with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR .
    The last line in SAPCLUST.log,SAPSSEXC.log,SAPAPPL2.log is
    C:\usr\sap\IDS\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
    C:\usr\sap\IDS\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20100808153003
    Looking forward for a solution to this.
    Any Help would be appreciated.
    Thanks & regards,
    Tejinder Paul

    Hi Paul,
    Could you paste the out put of logfile
    import_monitor.java.log
    Regards
    Ashok

  • (DB) ERROR: db_connect rc = 256 in Import ABAP

    I am installing ECC 6.0 SR1 EHP4 Ready in AIX 6.1 db2 9.1.7.
    Got following error in step 27 (IMPORT ABAP)
    ARNING    2011-03-03 16:42:02.173
               CJSlibModule::writeWarning_impl()
    Execution of the command "/usr/sap/WD1/SYS/exe/run/R3load -testconnect" finished with return code 2. Output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    /usr/sap/WD1/SYS/exe/run/R3load: START OF LOG: 20110303164202
    /usr/sap/WD1/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    /usr/sap/WD1/SYS/exe/run/R3load: version R7.01/V1.4 [UNICODE]
    Compiled Feb 24 2009 21:54:08
    /usr/sap/WD1/SYS/exe/run/R3load -testconnect
    DbSl Trace: DbSlConnect to 'WD1' as 'sapwd1' failed
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: DbSlConnect to 'WD1' as 'sapwd1' failed
    (DB) ERROR: DbSlErrorMsg rc = 29
    /usr/sap/WD1/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/WD1/SYS/exe/run/R3load: END OF LOG: 20110303164202
    WARNING[E] 2011-03-03 16:42:02.176
               CJSlibModule::writeError_impl()
    Thanks
    Amit Barnawal

    Hello,
    dbms_type
    Must be always set to "mss" for SQL Server.
    MSSQL_SERVER
    Name of the SQL Server instance. E.g. "SQLSERVER" (default
    instance on server "SQLSERVER") or "SAPSQL\PRD" (named instance
    "PRD" on server "SAPSQL")
    MSSQL_DBNAME
    Name of the database, usually <SID> in uppercase letters.
    MSSQL_SCHEMA
    Name of the database schema, usually "dbo" in lowercase letters.
    With an MCOD system, the database schema is <sid> in lowercase
    letters.
    regards,
    John Feely

  • Help: create index error

    When I create a CONTEXT Index using default preferences, I meet an exception:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drixtab.create_index_tables
    ORA-01031 insufficient privileges
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 186
    But I login Oracle as SYSDBA.

    Wait, no, that was wrong. My problem was I was creating an index in another user's schema and that user didn't have the connect role. Granting it made the above error go away.

  • Create index error after upgrade to 8.1.7.1

    I recently applied the 8.1.7.1 patch to
    my database. Now, when I try to create a
    text index, I get the following:
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    DRG-10516: failed to perform DDL operation due to an Oracle error
    DRG-50857: oracle error in driddl.PolicyCreate
    ORA-00001: unique constraint (CTXSYS.DRC$IDX_COLSPEC) violated
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 78
    ORA-06512: at line 1
    I have done a drop force on the index in question, and it dropped without error. What
    can I do about this>

    Please look at some of the technical notes on http://webiv.oraclecorp.com about migration/patches.

  • Creating a Step for Background Job from within ABAP Program

    Step-1: I have a Report in ECC, which is scheduled as Background Job, which writes the file to the Application Server(UNIX)
    Step-2:  Trigger a Unix Command to ftp the file to other server.
    Both Step-1 & Step-2 can be done from SM36. 
    Another Scenario:
    Users can run the report in background from SE38 or using the transaction code for the report, In this case we want to call the external command.
    Instead of calling the External Command as below in the report, I want to create a Step from within the program when it is scheduled in background mode.
    CALL 'SYSTEM' ID 'COMMAND' FIELD lc_unixcom.    [ Here lc_unixcom has the External Command ].
    Any ideas??? Appreciate help.

    Hi,
    For submitting a report step, you may use either SUBMIT ... VIA JOB ... or JOB_SUBMIT function module.
    For external commands, this should be done only by calling JOB_SUBMIT function module.
    Sandra

  • Generate create index script

    Kindly some one tell me how to get a script which contains CREATE INDEX COMMAND for all the indexes avillable for different schema in a database as I have to
    create it in other location. kindly help me.

    hi, for example
    declare
    s varchar2(4000);
    begin
    for cur in (select dbms_metadata.get_ddl(object_type=>'INDEX',name=>cur.index_name) from dba_indexes where owner='TEST') loop
    s := dbms_metadata.get_ddl(object_type=>'INDEX',name=>cur.index_name);
    end loop;
    dbms_output.put_line('S= '||s);
    end;
    or
    select dbms_metadata.get_ddl('INDEX',index_name) from dba_indexes where owner='test'

  • IDES system copy ..error during IMPORT_ABAP..unable to create indexes

    Hi all,
    I am doing a IDES system copy. I ran the report SMIGR_CREATE_DLL , the export activities have been completed successfully as well on the source system. Now on the target system, during the import, I am getting the following error in the log file SAPDFACT.log.
    (DB) ERROR: DDL statement failed
    (CREATE  INDEX "/BI0/E0RSTT_C06~P" ON "/BI0/E0RSTT_C06" ( "KEY_0RSTT_C06P" , "KEY_0RSTT_C06T" , "KEY_0RSTT_C06U" , "KEY_0RSTT_C061" , "KEY_0RSTT_C062" , "KEY_0RSTT_C063" , "KEY_0RSTT_C064" , "KEY_0RSTT_C065" , "KEY_0RSTT_C066" , "KEY_0RSTT_C067" , "KEY_0RSTT_C068"  ) TABLESPACE PSAPSR3 STORAGE (INITIAL 65536 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
    DbSlExecute: rc = 99
      (SQL error 1408)
      error message returned by DbSl:
    ORA-01408: such column list already indexed
    (DB) INFO: disconnected from DB
    The owner for this table is SAPSR3. Some oracle forums suggested to drop the index before recreating it. But when i do "drop index SAPSR3."/BI0/E0RSTT_C06~P..it says.."the specified index does not exist". But when I go to recreate this index, it doesn get created successfully. After that when I re-run the import, it again fails. Suprisingly..now if i go to check if this index is present thru a sql querry:
    select owner, object_name, object_type from dba_objects where object_name='SAPSR3."/BI0/E0RSTT_C06~P"', it tells "no rows selected". This is happening everytime, I create an index, where it gets created successfully, and the import again fails with the same error in SAPDFACT.log.
    I found an SAP note 885441 named..common errors during migration..although mine isnt a migration..my both source and destination are Red hat 64 bit platform.
    The note 1st asks to download the latest R3load..which I did and extracted in the kernel directory of the source..then it also asked to edit the .TSK file..in my case..SAPDFACT.TSK..where the lines:
    I /BIC/E<Cubename>~<index> C err
    to  I /BIC/E<Cubename>~<index> C ign..
    I did that..this time..the import again fails..but in the SAPDFACT.log..it complains about some other index..n the same gets generated in the .TSK file as well..the earlier index error is not again generated.
    I am not sure..what is going wrong..my export went through successfully.i have done the prep steps for export as well..before that i ran the SMIGR_CREATE_DLL report as well..
    Any inputs are highly appreciated..
    Thanks,
    Akshay

    Hi,
    Check SAP  Note 1166589 - Table converter: DB error when creating secondary indexes
    Thanks
    Sunny

  • Error Creating Materialized View With a Job

    Oracle 9ir2
    I've created a job like this in a java class:
    ...Java Code ...
    cs = conn.prepareCall ("DECLARE v_job NUMBER; BEGIN DBMS_JOB.SUBMIT(v_job,'begin CTH_REGENERA_VM; end;', TRUNC(SYSDATE+1) + (3/24)); END;");
    ...Java Code ...
    The Procedure called in the Job:
    CREATE OR REPLACE PROCEDURE CTH_REGENERA_VM
         AUTHID CURRENT_USER IS
         existe NUMBER(1);
         cur BINARY_INTEGER := DBMS_SQL.OPEN_CURSOR;
         fdbk BINARY_INTEGER;
    BEGIN
         SELECT count(*) INTO existe FROM user_mviews WHERE mview_name = 'CTH_PRESENTA_A_VM';
         IF existe > 0 THEN
              DBMS_SQL.PARSE(cur, 'DROP MATERIALIZED VIEW CTH_PRESENTA_A_VM', DBMS_SQL.NATIVE);
         fdbk := DBMS_SQL.EXECUTE(cur);
              INSERT INTO CTH_HISTORIAL VALUES('ELIMINADA VM CTH_PRESENTA_A_VM', SYSDATE);
              COMMIT;
         END IF;
         DBMS_SQL.PARSE(cur, 'CREATE MATERIALIZED VIEW CTH_PRESENTA_A_VM
         TABLESPACE DAT1_CTH
         STORAGE(INITIAL 16M NEXT 8M MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0)
                   XMLTYPE XML STORE AS CLOB (           TABLESPACE DAT1_CTH
                   STORAGE(INITIAL 16M NEXT 8M MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0))
         AS select FICHA, XML,
         extractvalue(xml, ''/FICHE/Encab_de_nombre_geogr�fico_a'') as MUNICIPIO,
         extractvalue(xml, ''/FICHE/Encab_de_nombre_geogr�fico_c'') as CALIFICACION,
         extractvalue(xml, ''/FICHE/Encab_de_nombre_geogr�fico_b'') as PROVINCIA,
         extractvalue(xml, ''/FICHE/Encab_tem�tico_de_materia_a[1]'') as MATERIA,
         extractvalue(xml, ''/FICHE/Fecha_cronol�gica_b[1]'') as FECHA,
         extractvalue(xml, ''/FICHE/Datos_matem�ticos_a[1]'') as ESCALA
         from cth_xmltable', DBMS_SQL.NATIVE);
         INSERT INTO CTH_HISTORIAL VALUES('ASIGNO EL PARSE DE MATERIALIZED', SYSDATE);
         fdbk := DBMS_SQL.EXECUTE(cur);
         INSERT INTO CTH_HISTORIAL VALUES('EJECUTO EL PARSE DE MATERIALIZED', SYSDATE);
         INSERT INTO CTH_HISTORIAL VALUES('CREADA VM CTH_PRESENTA_A_VM', SYSDATE);
         DBMS_SQL.PARSE(cur, 'CREATE INDEX CTH_INDEX1
         ON CTH_PRESENTA_A_VM(XML)
         INDEXTYPE IS CTXSYS.CONTEXT
         PARAMETERS (''storage cth section group ctxsys.auto_section_group'')', DBMS_SQL.NATIVE);
         fdbk := DBMS_SQL.EXECUTE(cur);
         INSERT INTO CTH_HISTORIAL VALUES('CREADO INDICE ORACLE TEXT CTH_INDEX1', SYSDATE);
         DBMS_SQL.PARSE(cur, 'CREATE INDEX CTH_IDX_MUNICIPIO3
              ON CTH_PRESENTA_A_VM(UPPER(MUNICIPIO))
              TABLESPACE IDX1_CTH
              STORAGE (INITIAL 1M NEXT 512K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0)', DBMS_SQL.NATIVE);
         fdbk := DBMS_SQL.EXECUTE(cur);
         INSERT INTO CTH_HISTORIAL VALUES('CREADO INDICE CTH_IDX_MUNICIPIO2', SYSDATE);
         DBMS_SQL.PARSE(cur, 'CREATE INDEX CTH_IDX_FICHA2
         ON CTH_PRESENTA_A_VM
         (FICHA)
         TABLESPACE IDX1_CTH
         STORAGE(INITIAL 1M NEXT 512K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0)', DBMS_SQL.NATIVE);
         fdbk := DBMS_SQL.EXECUTE(cur);
         INSERT INTO CTH_HISTORIAL VALUES('CREADO INDICE CTH_IDX_FICHA2', SYSDATE);
         DBMS_SQL.CLOSE_CURSOR(cur);
    COMMIT;
    END;
    I got always an error in the created materialized view. If I call the procedure with SQL Plus, it run ok. The user
    has CTXAPP, DBA roles, so I supouse it is not a privileges problem. I also tried to create a simple materialized view or a table, and always got an error ora-12011
    Thanks in advance.

    If I call the procedure with SQL Plus, it run ok. Are you using the same user to run it in SQL*Plus as runs it from Java.
    The normal reason for procedures to fail like this is privileges. Particularly, we cannot run procedures using privileges we have been granted through roles.
    The user has CTXAPP, DBA roles, so I supouse it is not a privileges problem. Try granting the system privilege CREATE MATERIALIZED VIEW to the user and see what happens.
    I drop the materialized and create again, cause it's the fastest way I've found. With a DBMS_MVIEW.REFRESH is too slow.I find that surprising as drop & create has to do all the work that a refresh has to do plus some more - maybe it's something to do with XML. Did you try adding a snapshot log and going for FAST? I don't know whwther the XML procesing would render the view complex - have you explained it?
    Cheers, APC

  • Creating intermedia text index error

    Hello. I tried creating an index using the below command
    create index mydocs_text_index on
    mydocs(thefile) indextype is ctxsys.context;
    However, I received some error message as follows:
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: file not found
    DRG-50704: file not found
    ORA-28575: unable to open RPC connection to external procedure agent
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1
    What do you think is wrong?
    Thank you

    Is the listener up and running?
    Installation
    1.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.
    2.What are the steps to install interMedia Text manually, with a Net8 Configuration?
    A. Configure an IPC listener address.
    For example, change:
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=
    (PROTOCOL=tcp) (HOST=ap118sun.us.oracle.com) (PORT=1521)
    to:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = ap118sun) (PORT
    =1521))
    This shows the full LISTENER definition in your listener.ora. Note: EXTPROC0 ends in a
    zero.
    B. Add a system identifier (SID) name of PLSExtProc and a program name of EXTPROC in the server's LISTENER.ORA file.
    For example, in the SID_LIST_LISTENER definition, insert:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC = ...
    (SID_DESC =
    (SID_NAME=PLSExtProc)(ORACLE_HOME=/oracle/db/dev118)
    (PROGRAM=extproc)
    C. Add a net service name description entry for EXTPROC0 in the server's tnsnames.ora
    file, using SID rather than SERVICE_NAME in the CONNECT_DATA section.
    For example, add this to the end of tnsnames.ora:
    extproc_connection_data =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0))
    (CONNECT_DATA=
    (SID=PLSExtProc)
    (PRESENTATION = RO)
    This entry should be added exactly as you see it here (do NOT substitute your SID
    anywhere, do NOT change the case of any text). Note: EXTPROC0 ends in a zero, RO
    ends in an Oh
    1.How do I check my interMedia Text installation and setup?
    A.
    lsnrct1status
    should give you the following:
    LSNRCTL for Solaris: Version
    8.1.5.0.0 - Production on 31-MAR-99 18:57:49
    (c) Copyright 1998 Oracle Corporation. All rights reserved.
    Connecting to
    (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 8.1.5.0.0 - Production
    Start Date 30-MAR-99 15:53:06
    Uptime 1 days 3 hr. 4 min. 42 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File
    /private7/oracle/oracle_home/network/admin/listener.ora
    Listener Log File
    /private7/oracle/oracle_home/network/log/listener.log
    Services Summary...
    PLSExtProc has 1 service handler(s)
    oco815 has 3 service handler(s)
    The command completed successfully
    The important information to understand here is the service handler for PLSExtProc.
    B. Create a user/table/index/query thus:
    As SYS or SYSTEM:
    create user ctxtest identified by ctxtest ;
    grant connect, resource, ctxapp to ctxtest ;
    Do any other grants, quotas, tablespace etc. for the new user. As CTXTEST:
    create table quick
    quick_id number primary key,
    text varchar(80)
    insert into quick ( quick_id, text )
    values ( 1, 'The cat sat on the mat' );
    insert into quick ( quick_id, text )
    values ( 2, 'The quick brown fox jumped over the lazy dog' );
    commit;
    create index quick_text on quick ( text )
    indextype is ctxsys.context;
    At this point, if your Net8 setup is NOT correct you will get:
    create index quick_text on quick ( text )
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: ConText error:
    DRG-50704: Net8 listener is not running or cannot start external procedures
    ORA-28575: unable to open RPC connection to external procedure agent
    ORA-06512: at "CTXSYS.DRUE", line 122
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
    ORA-06512: at line 1
    If everything is OK, you will get:
    Index created.
    Now try some queries:
    SQL> select quick_id from quick where contains(text, 'cat')>0;
    QUICK_ID
    1
    SQL> select quick_id from quick where contains(text, 'fox')>0;
    QUICK_ID
    2
    Congratulations !! You now have a successful interMedia Text V8.1 installation.
    null

  • Error in creating IO file handles for job (number 3152513)

    Hi All -
    I am using Tidal 5.3.1.307. And the Windows agent that is running these jobs is at 3.0.2.05.
    Basically the error in the subject was received when starting a particular job once it was cancelled and a couple of other different jobs a few days before. These jobs have run successfully in the past.
    This particular job was running for 500+ minutes when it should run at an estimated 40 minutes. At that time it would not allow for a re-start of the job, it just stayed in a launched status.
    Trying to figure out what causes this error.
    Error in creating IO file handles for job 3152513
    Note - from that being said we were to see 2 instances of this process running at the same time, we noticed some blocking on the DB side of things.
    Trying to figure out if this is a known tidal issue or a coding issue or both.
    Another side note, after cancelling the 2nd rerun attempt the following error was encountered: Error activating job, Duplicate.
    When we did receive the Error creating IO file, the job did actually restart, but Tidal actually lost hooks into it and the query was still running as an orphan on the db server.
    Thanks All!

    The server to reboot is the agent server.  You can try stopping the agent and then manually deleting the file.  That may work.  When the agent is running the agent process may keep the file locked, so rebooting may not be sufficient.
    The numerical folders are found as sub-directories off of the services directory I mentioned.  I think the numbers correspond to the job type, so one number corresponds to standard jobs, another to FTP jobs.  I'd just look in the numbered directories until you find a filename matching the job number.
    The extensions don't really matter since you will want to delete all files that match your job number.  There should only be one or two files that you need to delete and they should all be in the same numbered sub-directory.
    As to the root cause of the problem, I can't really say since it doesn't happen very often.  My recollection is that it is either caused by a job blowing up spectacularly (e.g. a memory leak in the program being launched by Tidal) or someone doing something atypical with the client.

  • Error in creating the payment document; read job log

    Hi All,
    Recently we are upgraded to EHP4 pack. While running the payment proposal for the vendor I am getting the error 007 "Error in creating the payment document;read job log" Details of job log is as follows
    >            Due date determination additional log
    > Document 1100001518 line item 001 via ILS          694.00-
    > Terms of payment: 05/23/2011   60  0.000 %    0  0.000 %    0
    >  01 days grace period is being considered
    >  Maximum cash discount should always be taken
    >   Payment must take place before 07/23/2011; next payment on 07/27/2011
    > Item is due with 0.000 % cash discount
    Internal error: doc.balance not zero / comp.code SNXL vendor 1009530510 customer
    Balances:        2,052.00- ILS /        2,052.00- ILS
    >
    >            Posting documents additional log
    >  Currencies in line 1: ILS / ILS  Currencies in line 2: USD / ___
    > Document  company code SNXL currency ILS payment method T
    >  LIt PK Acct         RA            Amount            Tax
    >
    >  001 38 2001520500               3,420.00              0.00
    >                                  1,002.02              0.00
    >  002 50 0032118400               1,026.00              0.00
    >                                    297.21              0.00
    >  003 25 2001520500              72,645.00              0.00
    >                                 20,879.23              0.00
    >  004 50 0032118400              21,793.50              0.00
    >                                  6,312.93              0.00
    >  005 50 0010009101              48,457.50              0.00
    >                                 14,036.70              0.00
    >  006 40 0096100000                   0.00              0.00
    >                                    769.63              0.00
    >
    Information re. vendor 1009530510 / paying company code SNXL ...
    I have checked the configuration of FBZP The configuration settings is correct. Can you please help to solve this problem
    Regards
    Girish

    Hi Girish,
    You should be having error FZ326.
    Please kindly refer to the following link in order to solve the issue:
    http://wiki.sdn.sap.com/wiki/display/ERPFI/PaymentProgram-ErrorMessageFZ326
    or
    http://wiki.sdn.sap.com/wiki/x/jY3YCw
    Apply all notes that are relevant to your support packaged.
    Kind Regards,
    Fernando Evangelista

  • Error while creating index on  ep 6.0 9 sr1   (trex 6.1).

    Hell o all,
        I am getting following error while creating index on  ep 6.0 9 sr1   (trex 6.1).
    Index could not be created; creating index failed: general configuration error (Errorcode 2030)
    can any on ehelp.
    thanks and regards
    Rajendra

    Hi,
    We are running TREX 6.1.09.00 on EP6.0.9.0.0 and KMC6.0.9.0.0.
    We are experiencing the same problems, even after changing the value in the .ini file as specified in NOTE 766197.
    After doing changes, I restarted the server after doing the changes.
    Alessandro, have you got any ideas for fixing this?
    Message was edited by: Bjorn Bjornstad

Maybe you are looking for

  • Help on Query - A/p Invoice Tax Breakup

    Hi Xperts, declare @todate as datetime declare @enddate as datetime SELECT @todate= /*min(T0.DocDate) FROM OINM T0 WHERE T0.DocDate=*/ '[%0]' SELECT @enddate= /*max(T0.DocDate) FROM OINM T0 WHERE T0.DocDate=*/'[%1]' select DISTINCT a.Docnum as "Invoi

  • Variable values in the Webgui Service of an ITS

    Hello, I can define fixed values in the webgui service parameters (GUI configuration in the ITS webgui service in SICF transaction), does someone know if I can define variable values? Instead of a literal... I know I could do it passing this value wh

  • Trying to add files to combined files

    Hi, I needed to combine a bunch of files into one file. It would only let me do 10 at a time, so I did the 10 and now I cannot figure out how to add more files to the already 10 combined ones. HELP ASAP!

  • Building pages to use dbms_scheduler like in OEM, is it a good idea?

    In OEM, there's already full featured web pages to administrate scheduler objects, sometimes, OEM is very heavy in load, during my first testing, it even make my db server hang, run out of swap. But I try to build a simple page to submit jobs using d

  • Capacity categories in work center

    Dear PP gurus, I have a work center where i have maintained 2 capacity categories in capacity tab screen. One m/c and other labour. Now when i assign this work center to a routing.....in the routing operation details screen, i see only the formula fr