SQL Loader (Oracle 8.1.5 on Suse 6.3) Internal Error

Hi all,
I try to insert data with SQL Loader on Linux (Suse 6.3) and get the following message:
SQL*Loader-704: Internal error: ulmtsyn: OCIStmtExecute (tabhp) [-1073747572]
ORA-00942: table or view does not exist
The control file and data file did work on another platform.
Please help me!
Thanks,
Thies Mauker

Lee Bennett (guest) wrote:
:Hi
:I have successfully installed Oracle 8.1.5 Enterprise edition
on
:Suse 6.2 and applied the 8.1.5.0.1 patch set,
NO!
SuSe 6.2 have a patch file for Oracle made from their developers.
Never use Oracle 8.1.5.0.1 patch file that doesn't work because
us bugged.
Use SuSe 6.2 Oracle patch set.
(don't remember the web page where you can download it but a
search with word "oracle" from SuSe homepage will lead you to
it)
-Stefano
null

Similar Messages

  • How to convert epoch time to datetime in sql*loader Oracle

    Hello,
    I wan't to question how to convert epoch time to datetime in sql*loader Oracle. I try this script for convert epoch time to datetime in sql*loader, but error:
    Record 1: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    This is my loader:
    LOAD DATA INFILE 'C:\Documents and Settings\Administrator\My Documents\XL_EXTRACT_211\load.csv'
    into table TEMP_TEST_LANGY append
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    DATADATA CHAR "TO_DATE('01-JAN-1970','DD-MON-YYYY')+:datadata/86400"
    This is my csv file:
    79314313.7066667
    79314336.2933333
    79314214.3466667
    This is my table:
    CREATE TABLE TEMP_TEST_LANGY
    DATADATA DATE
    Thanks
    Edited by: xoops on Sep 21, 2011 8:56 AM
    Edited by: xoops on Sep 21, 2011 8:58 AM

    thanks for your answer, but I asked to use sql loader instead of the external table, which so my question is why can not the epochtime converted to datetime, if there is no way to convert a datetime epochtime using sql loader, so I'm required to use the external table. thank you.
    This is my error log:
    Column Name Position Len Term Encl Datatype
    DATADATA FIRST * , CHARACTER
    SQL string for column : "TO_DATE('1-Jan-1970 00:00:00','dd-MM-YYYY hh24:mi:ss') + (:DATADATA/60/60/24)"
    Record 1: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Edited by: xoops on Sep 21, 2011 12:33 PM

  • SQL Loader Oracle 10g problem in upload date with time data -- Very urgent.

    Hi
    I am trying to upload data using SQL loader. There are three columns in the table
    defined as DATE. When I tried upload a data like this '2007-02-15 15:10:20', it is not loading time part. The date stored as 02/15/2008' only. There is not time on that. I tried with many different format nothing work. Can please help me ?
    I have also tried with to_date --> to_timestamp it did not work.
    The application is going to be in production, I cannot change DATE to TIME STAMP. This is very urgent.
    LASTWRITTEN "decode(:LASTWRITTEN,'null',Null, to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:Mi:SS'))",
    CREATEDON "decode(:CREATEDON,'null',Null, to_date(:CREATEDON,'YYYY-MM-DD HH24:Mi:SS'))",
    LASTUPDATEDON(21) "decode(:LASTUPDATEDON,'null',Null, to_date(:LASTUPDATEDON(21),'DD/MM/YYYY HH24:MI:SS'))"

    Your problem is most likely in decode - the return type in your expression will be character based on first search value ('null'), so it will be implicitly converted to character and then again implicitly converted to date by loading into date column. At some of this conversions you probably are loosing your time part. You can try instead use cast:
    SQL> desc t
    Name                                      Null?    Type
    LASTWRITTEN                                        DATE
    CREATEDON                                          DATE
    LASTUPDATEDON                                      DATE
    SQL> select * from t;
    no rows selected
    SQL> !cat t.ctl
    LOAD DATA
    INFILE *
    INTO TABLE T
    TRUNCATE
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
    LASTWRITTEN
    "decode(:LASTWRITTEN,'null',cast(Null as date),
      to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:MI:SS'))",
    CREATEDON
    "decode(:CREATEDON,'null',cast(Null as date),
      to_date(:CREATEDON,'YYYY-MM-DD HH24:MI:SS'))",
    LASTUPDATEDON
    "decode(:LASTUPDATEDON,'null',cast(Null as date),
      to_date(:LASTUPDATEDON,'DD/MM/YYYY HH24:MI:SS'))"
    BEGINDATA
    2007-02-15 15:10:20,null,null
    null,2007-02-15 15:10:20,null
    null,null,15/02/2007 15:10:20
    SQL> !sqlldr userid=scott/tiger control=t.ctl log=t.log
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Feb 29 00:20:07 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 3
    SQL> select * from t;
    LASTWRITTEN         CREATEDON           LASTUPDATEDON
    15.02.2007 15:10:20
                        15.02.2007 15:10:20
                                            15.02.2007 15:10:20Best regards
    Maxim

  • Sql loader and Runtime Excec

    Hi!
    I am writing a Java application running on windows. the primary thing that the program does is to parse data and write it in a text file , connect to the database and insert the text file to the table by means of an sql loader...
    the database that i am connecting on is running on a solaris =)
    anybody know how to do this by using the Runtime.exec()? many thanks!! any help is greatly appreciated!! =)
    Sample Values:
    CASA.CTL -> my sql loader
    oracle.jdbc.driver.OracleDriver -> my driver
    jdbc:oracle:thin:@172.16.15.240:1521:ABCDE my url
    bdoabcd -> my username
    password -> my password

    Hi Carol!
    thanks for the help!...
    uhmmm... what is the usual command for running the sql loader?.
    Process p = Runtime.getRuntime().exec("Command for sql loader");
    Can you give me an example? =) many thanks!

  • LRM-00112: multiple values not allowed for parameter 'control' - SQL Loader

    Hi,
    Please can someone help me identify why the below SQL* Loader test doesn't work and i get the error in the subject header?
    ctl file (load.ctl)
    load data
    infile 'C:\Documents and Settings\My Documents\loader\TEST.csv'
    into table XXCPP.SQL_LOADER_TEST
    fields terminated by "," optionally enclosed by '"'
    ( PERSON_ID, EMP_NAME, EMP_NUMBER )
    command line prompt
    sqlldr thompsos/generate control='C:\Documents and Settings\My Documents\loader\load.ctl' log='C:\Documents and Settings\My Documents\loader\load.log'
    I'm obviously missing a key piece of code, but can't locate it?
    Many Thanks

    Thanks, unforunately it's still the same. What i have done is move the file to the c drive rather than using a location which has spaces on it.
    I no longer have the same issue as before, but Now i get a different message that would imply my directory isn't correct. I've double checked and everthing seems in order and files are where i've selected.
    Error:
    sqlldr thompsos/generate control='C:\loader\load.ctl' log='C:\loader\load.log'
    SQL*Loader: Release 8.0.6.3.0 - Production on Wed Jan 12 13:31:50 2011
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    SQL*Loader-500: Unable to open file (C:loaderload.ctl)
    Linux Error: 2: No such file or directory
    ctl file (load.ctl)
    load data
    infile 'C:\loader\TEST.csv'
    into table XXCPP.SQL_LOADER_TEST
    fields terminated by "," optionally enclosed by '"'
    ( PERSON_ID, EMP_NAME, EMP_NUMBER )
    Command Line
    sqlldr thompsos/generate control='C:\loader\load.ctl' log='C:\loader\load.log'

  • Seeking help on SQL loader

    I am trying to load the flat-file to the oracle database by using SQL LOADER utility but i am getting the error.
    i am putting the .ctl file and the error message along with.
    kindly help me at earliest as I am stuck with that.
    Thank you.
    ------------ctl file----------------------
    LOAD DATA
    INFILE *
    INTO TABLE dept
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    (deptno, dname, loc)
    BEGINDATA
    12,RESEARCH,"SARATOGA"
    10,"ACCOUNTING",CLEVELAND
    11,"ART",SALEM
    13,FINANCE,"BOSTON"
    21,"SALES",PHILA.
    22,"SALES",ROCHESTER
    42,"INT'L","SAN FRAN"
    ----------------error message--------------
    SQL*Loader: Release 8.1.6.0.0 - Production on Thu Feb 8 15:40:48 2001
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Control File: dept.ctl
    Data File: dept.ctl
    Bad File: dept.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 65536 bytes
    Continuation: none specified
    Path used: Conventional
    Table DEPT, loaded from every logical record.
    Insert option in effect for this table: INSERT
    Column Name Position Len Term Encl Datatype
    DEPTNO FIRST * , O(") CHARACTER
    DNAME NEXT * , O(") CHARACTER
    LOC NEXT * , O(") CHARACTER
    SQL*Loader-601: For INSERT option, table must be empty. Error on table DEPT
    null

    Try using following script : -
    LOAD DATA
    INFILE *
    APPEND
    INTO TABLE dept
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    (deptno, dname, loc)
    BEGINDATA
    12,RESEARCH,"SARATOGA"
    10,"ACCOUNTING",CLEVELAND
    11,"ART",SALEM
    13,FINANCE,"BOSTON"
    21,"SALES",PHILA.
    22,"SALES",ROCHESTER
    42,"INT'L","SAN FRAN"
    null

  • ORA-12899 error from function invoked from SQL*Loader

    I am getting the above error when I call a function from my SQL*Loader script, and I am not seeing what the problem is. As far as I can see, there should be no problem with the field lengths, unless the length of the automatic variable within my function is somehow being set at 30? Here are the details (in the SQL*Loader script, the field of interest is the last one):
    ====
    Error:
    ====
    Record 1: Rejected - Error on table TESTM8.LET_DRIVE_IN_FCLTY, column DIF_CSA_ID.
    ORA-12899: value too large for column "TESTM8"."LET_DRIVE_IN_FCLTY"."DIF_CSA_ID" (actual: 30, maximum: 16)
    =======
    Function:
    =======
    CREATE OR REPLACE FUNCTION find_MCO_id (di_oid_in DECIMAL)
    RETURN CHAR IS mco_id CHAR;
    BEGIN
    SELECT AOL_MCO_LOC_CD INTO mco_id
    FROM CONV_DI_FLCTY
    WHERE DIF_INST_ELMNT_OID = di_oid_in;
    RETURN TRIM(mco_id);
    END;
    ==============
    SQL*Loader Script:
    ==============
    LOAD DATA
    INFILE 'LET_DRIVE_IN_FCLTY.TXT'
    BADFILE 'LOGS\LET_DRIVE_IN_FCLTY_BADDATA.TXT'
    DISCARDFILE 'LOGS\LET_DRIVE_IN_FCLTY_DISCARDDATA.TXT'
    REPLACE
    INTO TABLE TESTM8.LET_DRIVE_IN_FCLTY
    FIELDS TERMINATED BY '~' OPTIONALLY ENCLOSED BY '"'
    DIF_DRIVE_IN_OID DECIMAL EXTERNAL,
    DIF_FCLTY_TYPE_OID DECIMAL EXTERNAL NULLIF DIF_FCLTY_TYPE_OID = 'NULL',
    DIF_INST_ELMNT_OID DECIMAL EXTERNAL,
    DIF_PRI_PERSON_OID DECIMAL EXTERNAL NULLIF DIF_PRI_PERSON_OID = 'NULL',
    DIF_SEC_PERSON_OID DECIMAL EXTERNAL NULLIF DIF_SEC_PERSON_OID = 'NULL',
    DIF_CREATE_TS TIMESTAMP "yyyy-mm-dd-hh24.mi.ss.ff6",
    DIF_LAST_UPDATE_TS TIMESTAMP "yyyy-mm-dd-hh24.mi.ss.ff6",
    DIF_ADP_ID CHAR NULLIF DIF_ADP_ID = 'NULL',
    DIF_CAT_CLAIMS_IND CHAR,
    DIF_CAT_DIF_IND CHAR,
    DIF_DAYLT_SAVE_IND CHAR,
    DIF_OPEN_PT_TM_IND CHAR,
    DIF_CSA_ID CONSTANT "find_MCO_id(:DIF_DRIVE_IN_OID)"
    ============
    Table Definitions:
    ============
    SQL> describe CONV_DI_FLCTY;
    Name Null? Type
    DIF_INST_ELMNT_OID NOT NULL NUMBER(18)
    AOL_MCO_LOC_CD NOT NULL VARCHAR2(3)
    SQL> describe LET_DRIVE_IN_FCLTY;
    Name Null? Type
    DIF_DRIVE_IN_OID NOT NULL NUMBER(18)
    DIF_INST_ELMNT_OID NOT NULL NUMBER(18)
    DIF_FCLTY_TYPE_OID NUMBER(18)
    DIF_ADP_ID VARCHAR2(10)
    DIF_CAT_DIF_IND NOT NULL VARCHAR2(1)
    DIF_CAT_CLAIMS_IND NOT NULL VARCHAR2(1)
    DIF_CSA_ID VARCHAR2(16)
    DIF_DAYLT_SAVE_IND NOT NULL VARCHAR2(1)
    DIF_ORG_ENTY_ID VARCHAR2(16)
    DIF_OPEN_PT_TM_IND NOT NULL VARCHAR2(1)
    DIF_CREATE_TS NOT NULL DATE
    DIF_LAST_UPDATE_TS NOT NULL DATE
    DIF_ITM_FCL_MKT_ID NUMBER(18)
    DIF_PRI_PERSON_OID NUMBER(18)
    DIF_SEC_PERSON_OID NUMBER(18)
    =========================
    Thanks for any help with this one!

    I changed one line of the function to:
    RETURN CHAR IS mco_id VARCHAR2(16);
    But I still get the same error:
    ORA-12899: value too large for column "TESTM8"."LET_DRIVE_IN_FCLTY"."DIF_CSA_ID" (actual: 30, maximum: 16)
    I just am not seeing what is being defined as 30 characters. Any ideas much appreciated!

  • Executing sqlldr (sql loader) from java and returning the error code

    I'm wandering do sqlldr return any error code whenever it hit error while running in java.
    For example, if i run in command prompt using the command below,
    C:\ >sqlldr uid/pwd data=abc.dat control=abc.txt
    It might give me some indicator that error occurs such as
    SQL*Loader-601: For INSERT option, table must be empty. Error on table CURRENCY
    or
    SQL*Loader-500: Unable to open file (abc.txt)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    But when i run in java using the code below,
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec("sqlldr uid/pwd data=abc.dat control=abc.txt");
    int exitVal = proc.waitFor();
    System.out.println("Process exitValue: " + exitVal);
    it will only give me the same exitValue of 1(i presume its error) / 0 (i presume no error) instead of the details of the error.
    How can i get the exact error code/message if i were to execute it using java?
    Any solution?

    mg,
    I don't think user576271 wants the exit code, I think [s]he wants the error message.
    But wouldn't error messages from SQL*Loader be sent to the stderr stream, and not the stdout stream?
    In which case user576271 would need method "getErrorStream()" of class java.lang.Process, no?
    Good Luck,
    Avi.

  • Oracle ORA-03113: end-of-file on communication channel error

    Hi,
    I am new to oracle. I need your help.
    I got oracle error on client site while running SQL.
    Oracle ORA-03113: end-of-file on communication channel error
    Process ID: 18805
    Session ID : 1610 Serial number: 15367I looked alert.log which is given below
    Fri Apr 02 14:36:27 2010
    Thread 1 advanced to log sequence 34069
      Current log# 1 seq# 34069 mem# 0: +DATA/store/onlinelog/group_1.272.648383369
    Fri Apr 02 15:10:11 2010
    Trace dumping is performing id=[cdmp_20100402151011]
    Fri Apr 02 15:10:41 2010
    Reconfiguration started (old inc 40, new inc 42)
    List of nodes:
    0
    Global Resource Directory frozen
    * dead instance detected - domain 0 invalid = TRUE
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Fri Apr 02 15:10:41 2010
    LMS 0: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
    Fri Apr 02 15:10:41 2010
    LMS 1: 2 GCS shadows cancelled, 0 closed, 0 Xw survived
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Post SMON to start 1st pass IR
    LMS 1: 13458 GCS shadows traversed, 0 replayed
    LMS 0: 13700 GCS shadows traversed, 0 replayed
    Submitted all GCS remote-cache requests
    Fix write in gcs resources
    Fri Apr 02 15:10:42 2010
    Instance recovery: looking for dead threads
    Beginning instance recovery of 1 threads
    Reconfiguration complete
    parallel recovery started with 3 processes
    Started redo scan
    Completed redo scan
    1148 redo blocks read, 100 data blocks need recovery
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc:
    Started redo application at
    Thread 2: logseq 16481, block 37508
    Recovery of Online Redo Log: Thread 2 Group 3 Seq 16481 Reading mem 0
      Mem# 0: +DATA/store/onlinelog/group_3.280.648386385
    Completed redo application
    Completed instance recovery at
    Thread 2: logseq 16481, block 38656, scn 44063421381
    87 data blocks read, 101 data blocks written, 1148 redo blocks read
    Switch log for thread 2 to sequence 16482
    Fri Apr 02 15:10:50 2010
    ARC3: Archiving disabled thread 2 sequence 16482
    Fri Apr 02 15:13:50 2010
    Reconfiguration started (old inc 42, new inc 44)
    List of nodes:
    0 1
    Global Resource Directory frozen
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Fri Apr 02 15:13:50 2010
    Fri Apr 02 15:13:50 2010
    LMS 0: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
    LMS 1: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    LMS 0: 7881 GCS shadows traversed, 4001 replayed
    LMS 1: 8015 GCS shadows traversed, 4001 replayed
    LMS 1: 5437 GCS shadows traversed, 2737 replayed
    LMS 0: 5797 GCS shadows traversed, 2941 replayed
    Submitted all GCS remote-cache requests
    Post SMON to start 1st pass IR
    Fix write in gcs resources
    Reconfiguration completeHere is trace files
    cat *STORE1_p001_31604.trc*
    Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    ORACLE_HOME = /opt/oracle/product/11.1/db_1
    System name:    Linux
    Node name:      datastore1.bakcell.com
    Release:        2.6.18-53.el5PAE
    Version:        #1 SMP Sat Nov 10 18:33:42 EST 2007
    Machine:        i686
    Instance name: STORE1
    Redo thread mounted by this instance: 1
    Oracle process number: 83
    Unix process pid: 31604, image: [email protected] (P001)
    *** 2010-04-02 15:10:43.094
    *** SESSION ID:(1576.36581) 2010-04-02 15:10:43.094
    *** CLIENT ID:() 2010-04-02 15:10:43.094
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.094
    *** MODULE NAME:() 2010-04-02 15:10:43.094
    *** ACTION NAME:() 2010-04-02 15:10:43.094
    2010-04-02 15:10:43.093954 : Start recovery for domain=0, valid=0, flags=0x1
    *** 2010-04-02 15:10:44.868
    KCRP: blocks claimed = 34, eliminated = 6
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 40/40 = 1.0
    Max compares per lookup = 0
    Avg compares per lookup = 0/40 = 0.0
    *** 2010-04-02 15:10:50.249
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 40/40 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 604/604 = 1.0
    cat *STORE1_p000_31602.trc*
    Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    ORACLE_HOME = /opt/oracle/product/11.1/db_1
    System name:    Linux
    Node name:      datastore1.bakcell.com
    Release:        2.6.18-53.el5PAE
    Version:        #1 SMP Sat Nov 10 18:33:42 EST 2007
    Machine:        i686
    Instance name: STORE1
    Redo thread mounted by this instance: 1
    Oracle process number: 71
    Unix process pid: 31602, image: [email protected] (P000)
    *** 2010-04-02 15:10:43.094
    *** SESSION ID:(1565.49022) 2010-04-02 15:10:43.094
    *** CLIENT ID:() 2010-04-02 15:10:43.094
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.094
    *** MODULE NAME:() 2010-04-02 15:10:43.094
    *** ACTION NAME:() 2010-04-02 15:10:43.094
    2010-04-02 15:10:43.093855 : Start recovery for domain=0, valid=0, flags=0x1
    *** 2010-04-02 15:10:44.433
    KCRP: blocks claimed = 30, eliminated = 4
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 34/34 = 1.0
    Max compares per lookup = 0
    Avg compares per lookup = 0/34 = 0.0
    *** 2010-04-02 15:10:50.246
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 34/34 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 666/666 = 1.0
    cat *STORE1_p002_31619.trc*
    Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    ORACLE_HOME = /opt/oracle/product/11.1/db_1
    System name:    Linux
    Node name:      datastore1.bakcell.com
    Release:        2.6.18-53.el5PAE
    Version:        #1 SMP Sat Nov 10 18:33:42 EST 2007
    Machine:        i686
    Instance name: STORE1
    Redo thread mounted by this instance: 1
    Oracle process number: 84
    Unix process pid: 31619, image: [email protected] (P002)
    *** 2010-04-02 15:10:43.095
    *** SESSION ID:(1578.22258) 2010-04-02 15:10:43.095
    *** CLIENT ID:() 2010-04-02 15:10:43.095
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.095
    *** MODULE NAME:() 2010-04-02 15:10:43.095
    *** ACTION NAME:() 2010-04-02 15:10:43.095
    2010-04-02 15:10:43.095010 : Start recovery for domain=0, valid=0, flags=0x1
    *** 2010-04-02 15:10:44.551
    KCRP: blocks claimed = 25, eliminated = 1
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 26/26 = 1.0
    Max compares per lookup = 0
    Avg compares per lookup = 0/26 = 0.0
    *** 2010-04-02 15:10:50.250
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 26/26 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 246/246 = 1.0
    ----------------------------------------------I don't understand what does it mean which is written in alert.log.
    Yhanks in advance.

    please check below files:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc:
    Edited by: Prathmesh on Apr 2, 2010 5:01 PM

  • Unable to load Oracle XML SQL utility

    The following error appears for each java
    class, when we attempt to load Oracle XML sql
    utility into Oracle using the oraclexmlsqlload
    script:
    E.g.
    Error while resolving class OracleXMLStore
    ORA-00904: invalid column name
    Does anyone know why we would receive this error?
    Platform: Hp-UX 11.0
    Oracle Version: 8.1.5.0
    Background information:
    The database was original created with the
    compatible=8.0.5 set in the init.ora file, and
    the creatation of java classes failed due to this,
    so switched compatible to 8.1.0. Now after we
    we adjusted the compatible setting and restarted
    database, we started to receive the errors as
    described above.
    null

    Murali,
    Thank you, after I initialized Oracle's javavm
    the errors disappeared.
    The scripts were located under the javavm/install
    directory.
    Thanks again.
    Murali K (guest) wrote:
    : Hi Steven,
    : Is the JavaVM loaded. i.e. are all the classes necessary for
    : running Java in the server are loaded into the server? The
    most
    : common answer to your problem is that the javavm has not been
    : initialized correctly or the database does not have all the
    java
    : library files necessary to load java programs.
    : Please read chapter 4 in the Oracle8i java developers guide
    : which talks about initializing a java-enabled database by
    : running the initjvm script.
    : If this still occurs then maybe it is a bug and we will have
    to
    : look at it.
    : Thx
    : Murali
    : Steven Wegner (guest) wrote:
    : : The following error appears for each java
    : : class, when we attempt to load Oracle XML sql
    : : utility into Oracle using the oraclexmlsqlload
    : : script:
    : : E.g.
    : : Error while resolving class OracleXMLStore
    : : ORA-00904: invalid column name
    : : Does anyone know why we would receive this error?
    : : Platform: Hp-UX 11.0
    : : Oracle Version: 8.1.5.0
    : : Background information:
    : : The database was original created with the
    : : compatible=8.0.5 set in the init.ora file, and
    : : the creatation of java classes failed due to this,
    : : so switched compatible to 8.1.0. Now after we
    : : we adjusted the compatible setting and restarted
    : : database, we started to receive the errors as
    : : described above.
    null

  • How to load an Excel sheet into Oracle via SQL* Loader

    Hallo!I am trying to load an Excel spreadsheet into an Oracle 10g database via SQL*Loader.
    How do I achieve this via Oracle Enterprise Manager?
    Please give a detailed explanation especially covering the locations of the control file,infile,bad file etc for Oracle 10g running in both Windows and Linux platforms.
    Thanks.

    This has nothing to do with Oracle Enterprise Manager
    SQL Loader is command line and it needs to be installed with SQL PLUS (The wrong install type will not have it)
    Consider reviewing this:
    http://www.orafaq.com/wiki/SQL*Loader_FAQ

  • Importing to a Oracle Table from SQL Loader Fails

    Hi ,
    When I try to upload one xml file from my server to my table in oracle server using sql loader it fails at times.Some times it works perfectly.
    This is a daily process which automatically dumps data to my oracle.
    Please find the error log :
    SQL*Loader: Release 10.2.0.4.0 - Production on Thu Dec 5 04:07:32 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Control File:   xmlFeedDelta.ctl
    Data File:      xmlFileNames_Delta.txt
      Bad File:     xmlFileNames_Delta.bad
      Discard File:  none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 1000
    Bind array:     50000 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table XMLFEEDDELTA, loaded from every logical record.
    Insert option in effect for this table: APPEND
       Column Name                  Position   Len  Term Encl Datatype
    FILENAME                            FIRST  4000   ,       CHARACTER           
    FILECONTENT                       DERIVED     *  EOF      CHARACTER           
        Dynamic LOBFILE.  Filename in field FILENAME
    value used for ROWS parameter changed from 50000 to 63
    SQL*Loader-643: error executing INSERT statement for table XMLFEEDDELTA
    ORA-03113: end-of-file on communication channel
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
    Table XMLFEEDDELTA:
      0 Rows 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:                 252378 bytes(63 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:             1
    Total logical records rejected:         0
    Total logical records discarded:        0
    Run began on Thu Dec 05 04:07:32 2013
    Run ended on Thu Dec 05 04:08:42 2013
    Elapsed time was:     00:01:10.05
    CPU time was:         00:00:00.28
    My Control File Looks like this :
    LOAD DATA
    INFILE xmlFileNames_Delta.txt
    INTO TABLE xmlFeedDelta APPEND
    fields terminated by ','
    filename CHAR(4000),
    filecontent LOBFILE(filename) terminated by eof
    My Database version :
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I am not sure why this is happening at times . Any help would be appreciated.

    Hi,
    have you tried with the FILLER  command like
    LOAD DATA
    INFILE xmlFileNames_Delta.txt
    INTO TABLE xmlFeedDelta APPEND
    fields terminated by ','
    filename  FILLER CHAR(4000),
    filecontent LOBFILE(filename) terminated by eof

  • Using oracle sequence in SQL Loader

    I'm using oracle sequence in control file of sql loader to load data from .csv file.
    Controlfile:
    LOAD DATA APPEND
    INTO TABLE PHONE_LIST
    FIELDS TERMINATED BY "," TRAILING NULLCOLS
    PHONE_LIST_ID "seqId.NEXTVAL",
    COUNTRY_CODE CHAR,
    CITY_CODE CHAR,
    BEGIN_RANGE CHAR,
    END_RANGE CHAR ,
    BLOCKED_FREE_FLAG CHAR
    Datafile:
    1516,8,9,9,B
    1517,1,1,2,B
    1518,8,9,9,B
    1519,8,9,9,B
    1520,8,9,9,B
    1521,8,9,9,B
    1) As first column uses oracle sequence, we have not defined that in datafile.
    This gives me error "Can not insert NULL value for last column"
    Is it mandatory to specify first column in datafile, even though we are using sequence?
    2) Another table is referencing PHONE_LIST_ID column (the one for which we using sequence) of this table as a foreign key.
    So is it possible to insert this column values in other table simultaneously? Sequence no. should be same as it is in first table...
    Kindly reply this on urgent basis....

    use BEFORE INSERT trigger
    with
    select your_seq.nextval into :new.id from dual;

  • Loading data by sql loader in oracle 10g on linux

    I am trying to load data in Oracle 10g on linux by using sql loader, but getting error
    Problem in log showing that field length of SURNAME field is more than table field size.
    Following is the error in log file of sql loader
    Record 21: Rejected - Error on table TABLE1, column
    SURNAME.
    ORA-12899: value too large for column SURNAME (actual: 65, maximum: 64)
    and it is evident from following controlfile that i am using trim to discard any space then why it is giving an error.
    LOAD DATA
    TRUNCATE
    INTO TABLE TABLE1
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    ID INTEGER EXTERNAL,
    OPTION1 CHAR,
    REF1 CHAR,
    OTHER_REF CHAR,
    TITLE "TRIM(:TITLE)",
    FORENAME "TRIM(:FORENAME)",
    SURNAME "TRIM(:SURNAME)",
    JOINT_TITLE "TRIM(:JOINT_TITLE)",
    JOINT_FORENAME "TRIM(:JOINT_FORENAME)",
    JOINT_SURNAME "TRIM(:JOINT_SURNAME)",
    I checked the bad file and count number of characters, they are 64 characters.
    When i am inserting individual record from bad file by sql loader, it is loading

    Probably your database character set is multi-byte. That is %UTF8 or AL16UTF16%
    Post your NLS Database Parameters value
    select * from nls_database_parameters;
    In General varchar2(65) by default means 65 BYTES unless
    you have changed your Defalut NLS_LENGTH_SEMANTICS parameter from BYTE to CHAR.
    With best regards
    Shan

  • SQL*LOADER IN Oracle 10g Release 2

    Hi,
    Recently i installed oracle 10g release 2 on windows vista.I want to use sqlloader utility.Where can i found it.I checked for sqlldr.exe in oracle home folder,but i didn't find it.Any one plz help me regarding this..

    You would better to look here
    Using:
    http://download.oracle.com/docs/cd/B19306_01/win.102/b14304/tools.htm#i1006973
    It will be also good to look at:
    Concepts
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_concepts.htm#SUTIL003
    SQL*Loader Control File Reference
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_control_file.htm#SUTIL005

Maybe you are looking for

  • Vector class can't be resolved

    hi , plz i got the following error while running a J2ME program cannot resolve symbol symbol : method add (java.lang.String) location: class java.util.Vector any ideas????

  • Error 513, no message was created in Support Desk System

    After implementing QAS in sp's 15, when the user wants to create a message from QAS solution manager, get the following error "Because of error 513, no message was created in Support Desk System" has been revised rfc connections and have no problem b

  • W500 resolution problem

    Hi! I have w500 laptop with firegl v5700 card on it. I am really getting nervous on this issue right here. Have been looking for a solution for quite a while, but none to be found, even though there are people who have the same problem. What I am try

  • Banner size video - how can I set the canvas to an odd size?

    I'm interested in creating web page ad banners that include some looping video. Is there a way to set the canvas size to 350x250 or some other odd size? If not, do you know if any other video editing software can allow this? Thanks, DAN PowerBook G4

  • Convert video DAT file so I can burn it to a DVD?

    I have a CD with a .DAT video file on it. What Apple applications are available for m to convert that .DAT file to something I can burn on a DVD? Freeware, Shareware, purchase suggestions?