ORA-13033 ORA-06512 at 11.1.0.7

I have a single shape that seems to cause ORA-13033 at 11.1.0.7 but not at 11.1.0.6. Wondering if I am missing something stupid, or if anyone else has seen this problem. I did a quick search of the posts, but didn't find anything. It could also be that spatial has a problem on the 11.1.0.7 server...
Thanks
--on 11.1.0.7
SQL> drop index foo_spatial_index;
Index dropped.
SQL> drop table foo;
Table dropped.
SQL> delete from user_sdo_geom_metadata where table_name = 'FOO';
1 row deleted.
SQL>
SQL> create table foo (shape sdo_geometry);
Table created.
SQL> insert into foo values (SDO_GEOMETRY(3002, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 4, 1, 1, 2, 2), SDO_ORDINATE_ARRAY(484893.192, 1845442.68
, 0, 484881.786, 1845444.7, .5, 484871.639, 1845450.28, 1)));
1 row created.
SQL> insert into user_sdo_geom_metadata values('FOO', 'SHAPE', SDO_DIM_ARRAY(SDO_DIM_ELEMENT(NULL, 484719.102, 484904.266, .0000005), SDO_DI
M_ELEMENT(NULL, 1845366.11, 1845513.86, .0000005), SDO_DIM_ELEMENT(NULL, 0, 5368.70912, .0000005)), null );
1 row created.
SQL> create index foo_spatial_index on foo(shape) indextype is mdsys.spatial_index;
create index foo_spatial_index on foo(shape) indextype is mdsys.spatial_index
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Error in Spatial index: index build failed
ORA-13249: Error in spatial index: [mdrcrtxfergm]
ORA-13249: Error in spatial index: [mdpridxtxfergm]
ORA-13200: internal error [ROWID:AAFV8VAAHAAAGUtAAA] in spatial indexing.
ORA-13206: internal error [] while creating the spatial index
ORA-13033: Invalid data in the SDO_ELEM_INFO_ARRAY in SDO_GEOMETRY object
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
--on a different 11.1.0.6
SQL> drop index foo_spatial_index;
drop index foo_spatial_index
ERROR at line 1:
ORA-01418: specified index does not exist
SQL> drop table foo;
drop table foo
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> delete from user_sdo_geom_metadata where table_name = 'FOO';
0 rows deleted.
SQL>
SQL> create table foo (shape sdo_geometry);
Table created.
SQL> insert into foo values (SDO_GEOMETRY(3002, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 4, 1, 1, 2, 2), SDO_ORDINATE_ARRAY(484893.192, 1845442.68
, 0, 484881.786, 1845444.7, .5, 484871.639, 1845450.28, 1)));
1 row created.
SQL> insert into user_sdo_geom_metadata values('FOO', 'SHAPE', SDO_DIM_ARRAY(SDO_DIM_ELEMENT(NULL, 484719.102, 484904.266, .0000005), SDO_DI
M_ELEMENT(NULL, 1845366.11, 1845513.86, .0000005), SDO_DIM_ELEMENT(NULL, 0, 5368.70912, .0000005)), null );
1 row created.
SQL> create index foo_spatial_index on foo(shape) indextype is mdsys.spatial_index;
Index created.

There are a couple of things wrong with your geometry.
The specs says that for compound geometries (sdo_etype = 4) the SDO_INTERPRETATION (in this case with sdo_etype = 4) gives the numeber of subelements. This must be bigger then 1:
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_objrelschema.htm#BGHDGCCE
4
n > 1
Compound line string with some vertices connected by straight line segments and some by circular arcs. The value n in the Interpretation column specifies the number of contiguous subelements that make up the line string.
The next n triplets in the SDO_ELEM_INFO array describe each of these subelements. The subelements can only be of SDO_ETYPE 2. The last point of a subelement is the first point of the next subelement, and must not be repeated.
In your case you either have single line string which makes the first triplet incorrect or even unnecessary in the SDO_ELEM_INFO, or you are missing a third triplet in the SDO_ELEM_INFO.
You should always validate your geometries first, if you do that also on your 11.1.0.6 version you will get:
SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT
54506 Point:0,Edge:2,
ORA-54506: compound curve not supported for 3-D geometries
Cause: The 3-D geometry contained one or more compound curves, which are not
supported for 3-D geometries.
Action: Remove all compound curves from the geometry.
As you will see additionally compound curveare not supported in 3D geometries.
IF it is not a compound (so with SDO_ELEM_INFO_ARRAY = (1,2,2), you will see that this geometry will validate.
Looks like the validation might be incorporated now in the index creation in 11.1.0.7.
Edited by: lucvanlinden on Mar 20, 2009 9:07 AM

Similar Messages

  • Ora-13033 Invalid data in the sdo_elem_info_array in sdo geometry object

    Hi,
    I am getting this error when I am creating spatial index on geometry.
    I suspect I have some problem with some rows of my geometry data. I have identified and fixed these problems so far. but I still getting error on spatial index creation.
    -emptry Gtype in some rows
    -wrong Gtype in some rows
    Complete Error.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: mdidxrbd
    ORA-13249: iError in Spatial Index: index build fialed
    ORA-13200: Internal error RowID:AAANZE/AAFAAALFaAAP..... in spatial indexing
    ORA-13206: internal error [] while creating the spatial index
    ORA-13033: Invalid data in the sdo_elem_info_array in sdo geometry object
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    I have line data for this table and below is the sample data.
    GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    598520.994, 4837106.63, 598462.359, 4837164.63))
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    599229.43, 4837127.13, 599089.675, 4837264.62))
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    599280.002, 4837024.46, 599295.689, 4837048.09, 599296.21, 4837055.13, 599294.64
    5, 4837062.43, 599229.43, 4837127.13))
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    599089.675, 4837264.62, 599028.567, 4837324.34))
    SDO_GEOMETRY(2002, 2958, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    595925.144, 4839146.42, 596002.765, 4839128.11, 596007.989, 4839126.85, 596013.5
    22, 4839123.09, 596056.926, 4839089.74, 596100.769, 4839065.62, 596106.694, 4839
    063.81, 596110.438, 4839064.27, 596115.548, 4839066.47, 596181.122, 4839135.22,
    596183.623, 4839140.59, 596183.706, 4839145.03, 596183.319, 4839148.15, 596181.1
    78, 4839152.64, 596174.794, 4839163.26, 596165.136, 4839174.75, 596143.191, 4839
    194.57))
    Please also note that I have correct dimension in "sdo user geom meta data" table and in my table.
    Any help is greatly appreciated.
    Rose

    Hi Rose
    If you take a look at the error message, you will find a line there that starts with ORA-13200
    ORA-13200: Internal error RowID:AAANZE/AAFAAALFaAAP
    This points to the ROW containing the geometry that triggers this error (described in the error message).
    So if you could post the geometry of that specific row that might help. Use the following sql statement:
    Select geometry from YOUR_TABLE_NAME WHERE ROWID = 'AAANZE/AAFAAALFaAAP';
    tx
    Luc

  • ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION"

    Hi,
    I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
    The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
    ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
    I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
    ==========================================================
    EXCEPTION
         WHEN OTHERS THEN
              WF_CORE.context (
              'WFCustCheck',
              'MisCustDataFromTableDoc',
              document_id,
              display_type,
              document,
              document_type,
              SQLERRM
    RAISE_APPLICATION_ERROR (-20006, SQLERRM);
    ==========================================================
    But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
    What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
    Please let me know.
    Thanks

    Hi,
    Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
    The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
    Are you using documents to send the notification, or are they purely defined in the .wft file?
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com
    NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com

  • KR TAX LOCALIZATION REPORT 실행시의 ORA-20000, ORA-06512 ERROR MESSAGE

    제품 : FIN_AP
    작성날짜 : 2002-12-02
    KR TAX LOCALIZATION REPORT 실행시의 ORA-20000, ORA-06512 ERROR MESSAGE
    ===================================================================
    PURPOSE
    Multi-Org 환경속에서 Kr Tax Localization Report 실행시의 ORA-20000, ORA-06512 Error Message 를 해결한다.
    Problem Description
    Kr Tax Localization의 Reports가 Error를 발생하고, View Log를 통해 확인한 Message가 다음과 같을 경우
    ORA-20000: APP-00001: Unable to find message:
    AR_NO_ROW_IN_SYSTEM_PARAMETERS
    ORA-06512: "APPS.ARP_STANDARD", 줄 999에서
    ORA-06512: "APPS.ARP_STANDARD", 줄 2246에서
    ORA-06512: "APPS.ARP_UTIL", 줄 29에서
    ORA-06512: "APPS.ARP_UTIL_TAX", 줄 111에서
    ORA-06512: "APPS.ARP_TAX_EXTRACT", 줄 6178에서
    ORA-06512: 줄 1에서
    Workaround
    Solution Description
    1) fnd_client_info.set_org_context(<org_id>);
    or
    2) v_org_id varchar2(10);
    v_org_id := fnd_profile.value('ORG_ID');
    fnd_client_info.set_org_context(v_org_id);
    .rdf 의 경우 : Before Report Trigger 에 추가
    .sql (Package Body, Procedure) 의 경우 : 각 Begin 절 이후
    Reference Documents
    -------------------

    제품 : FIN_AP
    작성날짜 : 2002-12-02
    KR TAX LOCALIZATION REPORT 실행시의 ORA-20000, ORA-06512 ERROR MESSAGE
    ===================================================================
    PURPOSE
    Multi-Org 환경속에서 Kr Tax Localization Report 실행시의 ORA-20000, ORA-06512 Error Message 를 해결한다.
    Problem Description
    Kr Tax Localization의 Reports가 Error를 발생하고, View Log를 통해 확인한 Message가 다음과 같을 경우
    ORA-20000: APP-00001: Unable to find message:
    AR_NO_ROW_IN_SYSTEM_PARAMETERS
    ORA-06512: "APPS.ARP_STANDARD", 줄 999에서
    ORA-06512: "APPS.ARP_STANDARD", 줄 2246에서
    ORA-06512: "APPS.ARP_UTIL", 줄 29에서
    ORA-06512: "APPS.ARP_UTIL_TAX", 줄 111에서
    ORA-06512: "APPS.ARP_TAX_EXTRACT", 줄 6178에서
    ORA-06512: 줄 1에서
    Workaround
    Solution Description
    1) fnd_client_info.set_org_context(<org_id>);
    or
    2) v_org_id varchar2(10);
    v_org_id := fnd_profile.value('ORG_ID');
    fnd_client_info.set_org_context(v_org_id);
    .rdf 의 경우 : Before Report Trigger 에 추가
    .sql (Package Body, Procedure) 의 경우 : 각 Begin 절 이후
    Reference Documents
    -------------------

  • Getting Error ORA-01422&ORA-06512 while clicking distributions of invoice

    Hi,
    I am Getting Error ORA-01422&ORA-06512 when i query the invoice and click on the All distributions.
    However i am getting this error only for some invoices and not for all.
    Any suggestion on this is highly appreciated.
    Regards,
    Shreyans

    Hi,
    What is the application release? If you are on R12, please refer to these documents.
    Note: 580014.1 - R12 Invoices FAQs - (16. Why do the Errors ORA-01422 and ORA-06512 Show when Clicking on the [All Distributions] Button?)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=580014.1
    Note: 559199.1 - Error ORA-01422 ORA-06512 Raises when Click On [All Distributions] Button
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=559199.1
    Regards,
    Hussein

  • USER UPDATE가 안되는 문제 ORA-20001 ORA-06512

    제품 : AOL
    작성날짜 : 2002-11-29
    USER UPDATE가 안되는 문제 ORA-20001 ORA-06512
    =======================================
    PURPOSE
    Problem Description
    SQL> exec fnd_user_pkg.UpdateUser('LGESSO','SEED', 'lgesso2');
    BEGIN fnd_user_pkg.UpdateUser('LGESSO','SEED', 'lgesso2'); END;
    ERROR at line 1:
    ORA-20001: Unabled to change password for user LGESSO for this following
    reason:
    Password was not changed.
    ORA-06512: at "APPS.APP_EXCEPTION", line 51
    ORA-06512: at "APPS.FND_USER_PKG", line 350
    ORA-06512: at line 1
    Workaround
    patch 2426407를 적용해야 한다.
    Solution Description
    FND_USER_PKG.UpdateUser가 유저의 패스워드를 바꿀때 fail이 나는 문제이다.다음과 같은 에러가 난다:
    ERROR at line 1:
    ORA-20001: Unabled to change password for user JFROST for this following
    reason:
    Password was not changed.
    ORA-06512: at "APPS.APP_EXCEPTION", line 51
    ORA-06512: at "APPS.FND_USER_PKG", line 348
    ORA-06512: at line 1
    This is due to a change in FND_WEB_SEC.change_password being defined with a
    pragma of autonomous transaction.
    FND_USER_PKG.UpdateUser calls FND_WEB_SEC.change_password to change a user's
    password.
    Reference Documents
    -------------------

    DBA2008 wrote:
    i disable the trigger messing up tivoli user,& i am able to login fine, wondering if i enable it back it will do the same?If you keep doing the same thing, you can expect the same results.
    Perhaps you should analyze the trigger to figure out
    1) what it was supposed to be doing that is not being done since you disabled it
    2) why it was throwing the error . . .

  • ORA-01114, ORA-29701, ORA-06512

    I have got this errors. Can any experts help me to resolve this issue?
    Due to this application users getting errors. Thanks.
    Ora errors:
    ORA-01114: IO error writing block to file 65 (block # 1956)
    ORA-29701: unable to connect to Cluster Manager
    ORA-06512: at "ERROR_PKG", line 151
    ORA-06512: at "SET_SP", line 108
    ORA-06512: at line 1

    Thanks for the suggestion. I did not think this errors related to db versions/os versions.
    It is Oracle 10.2.0.4 running in Sun OS 5.10 and its running in ASM/RAC environment.
    Since I have limited access(APP DBA) I have raised the ticket to SYSDBA to look in to this issue with my inputs.
    My Inputs:
    It seems like ORA-29701 error is related to ASM(css daemon)/RAC and all the remaining error is due to that.
    Case 1:
    Run the following batch files in the $ORACLE_HOME/bin directory as root
    localconfig delete
    localconfig add
    Case 2:
    The CSSD daemon uses /tmp/.oracle directory to establish a local socket for communication with local clients such as RDBMS instances. So you might want to ensure this was not removed by accident.
    Solution:
    Reboot the node.
    Unfortually, the location of /tmp/.oracle cannot be changed (at least for 10g RAC)

  • Error -- ORA-20101: ORA-06512: at "DEV_PORTAL.WWPOB_API_PA

    Hi!
    When I click on a tab in Oracle Portal page i got the following error:
    - ORA-01403: no data found ORA-20101: ORA-06512: at "DEV_PORTAL.WWPOB_API_PAGE", line 5247 ORA-01403: no data found ORA-01403: no data found.
    In WLS_PORTAL.log fileL do not appear any error message but in the WLS_PORTAL.out i get:
    - ERROR: Repository Gateway error: Database Error: ORA=20001 ORA-20001: Unable to obtain session information from the cookie.
    ORA-06512: at "DEV_PORTAL.WPG_SESSION", line 174
    ORA-06512: at line 32
    I Have installed the 11g version in a Windows Server 2008.
    Anybody knows how can i solve it?
    Regards.
    Carlos G.

    Hi Carlos
    Looks like you are using Oracle Portal and NOT Oracle Weblogic Portal (earlier bea weblogic portal 10.3). Since this is Weblogic Portal Forum, may be you can try posting your issue in the Oracle Portal Forums.
    Ravi Jegga

  • ACL connect privileges ORA-01422 ORA-06512

    Application Express Installation Guide
    3.3.6.1 Granting Connect Privileges
    The following example demonstrates how to grant connect privileges to any host for the APEX_030200 database user.
    DECLARE
    ACL_PATH VARCHAR2(4000);
    ACL_ID RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give APEX_030200
    -- the "connect" privilege if APEX_030200 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, ensure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    EXCEPTION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    'ACL that lets power users to connect to everywhere',
    'APEX_030200', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    COMMIT;return:
    ORA-01422:
    ORA-06512: line 8
    SELECT * FROM sys.DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    "HOST"     "LOWER_PORT"     "UPPER_PORT"     "ACL"     "ACLID"
    "*"     ""     ""     "/sys/acls/users.xml"     "(RAW)"
    "*"     ""     ""     "/sys/acls/power_users.xml"     "(RAW)"My Apex says login XDB Password
    Sqlplus.exe "SYS/oracle@orcl AS SYSDBA" @epgstat.sql
    All OK
    Help
    APEX 3.2
    11g Rel1

    Um , i have implemented the following pl/sql. It seem to kick the person out BUT (now this is a big BUT) within the grid control it mentions :
    Details          Failed to connect to database instance: ORA-00604: error occurred at recursive SQL level 1.
    create or replace trigger session_access
    DECLARE
    v_username sys.v_$session.username%type;
    v_osuser sys.v_$session.osuser%type;
    BEGIN
    select s.username ,s.osuser into v_username,v_osuser
    from v$session s where s.username='SUSANJO' and s.osuser='oracle';
    IF (v_username ='SUSANJO' AND V_OSUSER='oracle' )
    THEN
    RAISE_APPLICATION_ERROR(-20001, 'You are not allowed to login using the program');
    END IF;
    END session_access;
    Output :
    SQL*Plus: Release 10.2.0.3.0 - Production on Mon Mar 23 12:36:43 2009
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning and Data Mining options
    SQL> connect susanjo
    Enter password:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20001: You are not allowed to login using the program
    ORA-06512: at line 10
    Warning: You are no longer connected to ORACLE.
    SQL>
    I did conduct a research which was not all that helpful too. So i am back to square one again.
    regards
    Susan John

  • Error Messages : ORA - 37118, ORA - 06512

    When i'm starting the oracle workspace manager software and trying to create a new workspace related to a schema, after to be connected to a database instance,
    I get those error messages: ora - 37118, ora - 06512

    Hi,
    I have never encountered an ORA-37118 error during createWorkspace. The following is the description for the error.
    // Cause: In shared-server mode, the OLAP API library should be loaded
    // during process initialization to ensure that the C++ virtual table
    // addresses are identical in all shared-server processes. The
    // OLAP API session was executing in a process in which the library
    // had not been loaded.
    // Action: Set option XSOLAPILOAD_AT_PROCESS_START to SHARED_SERVER or
    // ALWAYS, restart the instance, and try again.
    You should try the suggested action, to see if it fixes the problem. You could also try another database to see if the error is specific to the database instance. If not, I would need additional information regarding your setup to be able to determine why the createworkspace procedure might not be working. What version of workspace manager are you using ?
    Regards,
    Ben

  • 10.2 to 11.2 upgrade ORA-20011/ORA-12702

    ORA-20011/ORA-12702 error received post upgrade (in 11g) when running full database stats,
       stats worked in 10g. upgrade appeared successful, no errors.
    database:
    freshly upgraded from 10.2.0.3.0 => 
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Solaris: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    server:
    SunOS xxxxxx 5.10 Generic_Virtual sun4v sparc sun4v
    64-bit sparcv9 kernel modules
    SQL> exec dbms_stats.gather_database_stats;
    BEGIN dbms_stats.gather_database_stats; END;
    ERROR at line 1:
    ORA-20011: Approximate NDV failed: ORA-12702: invalid NLS parameter string used in SQL function
    ORA-06512: at "SYS.DBMS_STATS", line 20508
    ORA-06512: at "SYS.DBMS_STATS", line 20993
    ORA-06512: at "SYS.DBMS_STATS", line 21150
    ORA-06512: at "SYS.DBMS_STATS", line 21109
    ORA-06512: at line 1
    SQL> exec dbms_stats.gather_database_stats_job_proc;
    PL/SQL procedure successfully completed.
    SQL> exec DBMS_STATS.GATHER_DATABASE_STATS (estimate_percent =>100, block_sample=>FALSE, method_opt=>'for all columns size auto', degree=>null, cascade=>true, no_invalidate=>false, options=>'GATHER STALE', gather_sys=>FALSE);
    PL/SQL procedure successfully completed.
    SQL> !env | grep NLS
    NLS_LANG=american
    NLS_DATE_FORMAT=YYYY/MM/DD HH24:MI:SS
    SQL> select userenv('LANGUAGE') from dual;
    USERENV('LANGUAGE')
    AMERICAN_AMERICA.AL32UTF8
    SQL> select * from v$nls_parameters where parameter like '%CHARACTERSET%';
    PARAMETER
    VALUE
    NLS_CHARACTERSET
    AL32UTF8
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    any ideas, please? I haven't seen this elsewhere..

    may be its due to version issue. you Source database is 10.2.0.3.0  and it should be 10.2.0.4.0
    Prerequisite
    1.  your source database must be atleast 10.2.0.4.0  or Patch set for 10.2.0.2.5 should be installed
    2.  Time version must be >= 4
    Regards
    Sanchit Gupta

  • ORA-20100: ORA-01116: error in opening database file

    Hi -
    I'm hitting this error for the first time. Anyone encountered this before? Any suggestions will be very appreciated. Thanks!
    141 EXCEPTION
    142
    143 when others then
    144 raise_application_error('-20100',SQLERRM);
    145 End;
    146 /
    20080207
    20080312
    Declare
    ERROR at line 1:
    ORA-20100: ORA-01116: error in opening database file
    ORA-06512: at line 144

    Thanks Satish for your reply.
    I let the DBA know and he was first suspecting a corrupted data file, but found no errors in the log. So, he was not sure why we got the error.
    We just re-ran and it went through fine the next time. strange though...

  • SQL   Loader and Error ORA-01847/ORA-01839

    Hi,
    While using the direct loading in SQL-LOADER when we get the ORA-01847/ORA-01839 all the other records are getting errorred out. It goes fine with the conventional loading.
    Should I use some parameters or anything to make sure that all the other records are not rejected when we get the ORA-01847/ORA-01839 error while going with the DIRECT loading.
    Thanks
    Jibin

    In internet I found this short message:
    “AL32UTF8 is a multi-byte characterset,that means some characters are stored in more than 1 character, that's true for these special characters.
    If you have same table definitions in both databases you likely face error ORA-12899.
    This metalink note discusses this problem, it's also applicable to sqlloader:
    Import reports "ORA-12899: Value too large for column" when using BYTE semantic
    Doc ID: Note:563893.1”
    By metalink, I can see the Note linked to a one Oracle Internal Bug for Oracle 11g.....
    I'm waiting you suggestion... thanks very much in advance.
    Regards.
    Giovanni

  • Difference between ORA-00018 & ORA-00020

    Hi experts,
    I am confused about ORA-00018 & ORA-00020, it easier to understand how number of session increased [ora-18],
    but what are the special causes that increase number of oracle processes [ora-20] ?
    Thanks in advance.

    There is a relationship between sessions on a database and the
    number of
    processes. What happens if we increase the number of sessions without
    increasing the number of processes???
    The parameters SESSIONS and PROCESSES determine the
    size of two arrays in the SGA.
    If you try to create more sessions on an instance than specified
    by the SESSIONS parameter, you will get an ORA-00018: maximum
    number of sessions exceeded.
    If you try to create more processes on an instances than specified
    by the PROCESSES prameter, you wil get an ORA-00020: maximum
    number of processes exceeded.
    The number of sessions and processes on your instance can been
    seen using a COUNT(*) against V$PROCESS and V$SESSION.
    Your job is to determine resonable values, so your users can continue
    to work without getting neither ORA-18 nor ORA-20 during normal
    conditions. (A run away job, that keeps starting new sessions is not
    a normal condition, and it should be stopped by ORA-18 or ORA-20
    whichever happens first).
    You can join the two V$-views using the columns V$SESSION.PADDR
    and V$PROCESS.ADDR.
    It is quite normal to see a 1:1 relationship between processes
    and sessions. However one OCI-program can create multiple
    sessions belonging to one process. Users of Oracle Portal
    will experience this behaviour.
    The default value for SESSIONS is 1.1*PROCESSES + 5.
    It is appropriate for some databases and inappropriate for
    others (e.g. Oracle Portal).
    Also, I remember a limit on the OS regarding the number of processes
    allowed per Oracle user - also I know there is a semaphore
    relationship.
    On HP-UX there is a kernel parameter called NPROC. Like
    PROCESSES and SESSIONS it should have a reasonable
    value.
    answered by
    Jesper Haure Norrevangsource:-http://ora-00020.ora-code.com/msg/40800.html

  • Errors - ORA-01034, ORA-27101 & Linux-x86_64 Error: 2: No such file or dir

    I have installed Oracle 10g database and AS 10g on SUSE linux EE 10 (SP2)
    When I try to log in as system/system using sqlplus locally on the server, it works fine. However, when I try the following I get error messages:
    SQL> conn system/system@botsdb
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    I tried the same from my laptop through sqlplus and the error message is the same.
    I checked if the database was up and to check this I executed follwing commands whicle still being logged as system/system:
    SQL>Select * from v$database;
    SQL>Select * from v$instance;
    SQL>Select * from tab;
    These do bring results. Also if I try to start up the database again, it gives error message that the database is already up. I have restarted the db number of times, checked if my listener was listening on the service BOTSDB and these all seem fine.
    It is very intriguing that when @BOTSDB is attached while connecting, the connection fails.
    Can someone please guide me to sort this error?
    Thanks and kind regards,
    Aparna

    Hi
    I am answering all the three questions here.
    1) No of instances on the machine, I understand it is 1.
    2) Results of lsnrctl status
    oracle@linuxserver:~> lsnrctl status
    LSNRCTL for Linux: Version 10.1.0.4.2 - Production on 28-JUL-2010 09:19:33
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linuxserv.dcdm.mu)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.4.2 - Production
    Start Date 27-JUL-2010 11:24:12
    Uptime 0 days 21 hr. 55 min. 20 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/ora10ginfra/network/admin/listener.ora
    Listener Log File /oracle/app/ora10ginfra/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linuxserver.dcdm.mu)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "metarep.dcdm.mu" has 1 instance(s).
    Instance "metarep", status READY, has 3 handler(s) for this service...
    The command completed successfully
    --Note that lsnrctl status command was issued after loading 10ginfra.env file.
    Please note that the listener for the database is set as DBLISTENER and lsnrctl status DBLISTENER was executed after loading 10gdb.env file. The results of lsnrctl status DBLISTENER are as follows:
    oracle@linuxserver:~> . ./10gdb.env
    oracle@linuxserver:~> lsnrctl status DBLISTENER
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 28-JUL-2010 09:24:44
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.107.123)(PORT=1650)))
    STATUS of the LISTENER
    Alias DBLISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 27-JUL-2010 15:11:28
    Uptime 0 days 18 hr. 13 min. 15 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/ora10gdb/network/admin/listener.ora
    Listener Log File /oracle/app/ora10gdb/network/log/dblistener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.107.123)(PORT=1650)))
    Services Summary...
    Service "BOTSDB" has 1 instance(s).
    Instance "BOTSDB", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    3) The output of ps -ef |grep pmon is
    oracle@linuxserver:~> ps -ef |grep pmon
    oracle 12524 12091 0 09:16 pts/1 00:00:00 grep pmon
    oracle 12525 1 0 Jul27 ? 00:00:00 ora_pmon_metarep
    oracle 25776 1 0 Jul27 ? 00:00:00 ora_pmon_BOTSDB
    The contents of listener.ora in two different Oracle Homes (one for AS infrastrcuture and another one for database) are as follows:
    oracle@linuxserver:/oracle/app/ora10ginfra/network/admin> vi listener.ora
    # listener.ora Network Configuration File: /oracle/app/ora10ginfra/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/app/ora10ginfra)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linuxserv.dcdm.mu)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    oracle@linuxserver:/oracle/app/ora10gdb/network/admin> vi listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_DBLISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/app/ora10gdb/)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = BOTSDB)
    (ORACLE_HOME = /oracle/app/ora10gdb/)
    DBLISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.107.123)(PORT = 1650))
    Kind regards,
    Aparna

Maybe you are looking for