ORA-06512: at "DBSNMP.BSLN_INTERNAL::Does it Impact something on DB

Hi All,
I got an error in alert log as follows, Looks like table given contains inconsistent information, existing records in table “DBSNMP.BSLN_BASELINES” conflict with new baseline information inserted in the cloned database. I guess the DBSNMP user needs to be dropped and re-created
I just want to know , Does it impact something if so then i will recreate if not then I wont touch it.
*** 2012-04-08 00:00:03.804
*** SESSION ID:(915.61483) 2012-04-08 00:00:03.804
*** CLIENT ID:() 2012-04-08 00:00:03.804
*** SERVICE NAME:(SYS$USERS) 2012-04-08 00:00:03.804
*** MODULE NAME:(DBMS_SCHEDULER) 2012-04-08 00:00:03.804
*** ACTION NAME:(BSLN_MAINTAIN_STATS_JOB) 2012-04-08 00:00:03.804
ORA-12012: error on auto execute of job 11762
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "DBSNMP.BSLN_INTERNAL", line 2073
ORA-06512: at line 1
======================================
Please suggest:
Thanks

I had similar issue after upgrade. According to this Metalink Note you should execute these scripts
SQL> @?/rdbms/admin/catnsnmp.sql -- drop user
SQL> @?/rdbms/admin/catsnmp.sql -- create user
In my case it failed to create DBSNMP User due to password related errors. We had PASSWORD_VERIFY_FUNCTION in Default profile and script uses default password which is not strong. I had to modify script to use different strong password.
Not sure if this your case.

Similar Messages

  • ORA-06512: at "DBSNMP.BSLN_INTERNAL" -- After 11g Upgrade

    Hi All,
    We are getting the following error in alert.log after migration to 11g. We have Oracle 11.2.0 right now. Migration was done from 10.2.0 to 11.2.0
    ORA-12012: error on auto execute of job 2473584
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "DBSNMP.BSLN_INTERNAL", line 2073
    ORA-06512: at line 1
    I followed the solution provided on metalink[ID 736627.1], then also I am getting the above error.
    SQL> @?/rdbms/admin/catnsnmp.sql -- drop user
    SQL> @?/rdbms/admin/catsnmp.sql -- create user
    Please let me know, if anyone of you know any other solution to resolve this.

    That is correct but if any one have faced same issue, I can do it in easy and quick way.
    Thanks,
    Api

  • ORA-06512: at "DBSNMP.BSLN_INTERNAL" -- After 11g migration

    Hi All,
    We are getting the following error after migration to 11g. We have Oracle 11.2.0 right now. Migration was done from 10.2.0 to 11.2.0
    ORA-12012: error on auto execute of job 2473584
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "DBSNMP.BSLN_INTERNAL", line 2073
    ORA-06512: at line 1
    I followed the solution provided on metalink[ID 736627.1]. Then also I am getting the above error.
    Please let me know, if anyone of you know any other trick to resolve this.

    I had similar issue after upgrade. According to this Metalink Note you should execute these scripts
    SQL> @?/rdbms/admin/catnsnmp.sql -- drop user
    SQL> @?/rdbms/admin/catsnmp.sql -- create user
    In my case it failed to create DBSNMP User due to password related errors. We had PASSWORD_VERIFY_FUNCTION in Default profile and script uses default password which is not strong. I had to modify script to use different strong password.
    Not sure if this your case.

  • ERROR at line 1: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10700: preference does not exist: global_lexer ORA-06512: at "CTXSYS.DRUE", line 160 ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

    database version 11.2.0.4
    rac two node
    CREATE INDEX MAXIMO.ACTCI_NDX3 ON MAXIMO.ACTCI
    (DESCRIPTION)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('lexer global_lexer language column LANGCODE')
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: global_lexer
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

    Like the error message says, you don't have a global_lexer.  So, you need to create a global_lexer and that lexer must have at least a default sub_lexer, then you can use that global_lexer in your index parameters.  Please see the demonstration below, including reproduction of the error and solution.
    SCOTT@orcl12c> -- reproduction of problem:
    SCOTT@orcl12c> CREATE TABLE actci
      2    (description  VARCHAR2(60),
      3      langcode     VARCHAR2(30))
      4  /
    Table created.
    SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS('lexer global_lexer language column LANGCODE')
      4  /
    CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: global_lexer
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    SCOTT@orcl12c> -- solution:
    SCOTT@orcl12c> DROP INDEX actci_ndx3
      2  /
    Index dropped.
    SCOTT@orcl12c> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE ('global_lexer', 'multi_lexer');
      3    CTX_DDL.CREATE_PREFERENCE ('english_lexer', 'basic_lexer');
      4    CTX_DDL.ADD_SUB_LEXER ('global_lexer', 'default', 'english_lexer');
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS('lexer global_lexer language column LANGCODE')
      4  /
    Index created.

  • ORA-06512: at "SYS.DBMS_XMLGEN", (ORA-00942: table or view does not exist)

    Hey Guys, it's Xev.
    I decide to  use SQL and XML and it works in one scenario, but in another scenario, it doesn't.
    Here is the Code, I am passing in two variables, First, I pass in the table_name and then i pass in the schema.
    If I am doing this with the "user" connected and it's looking in it's own schema, it's find the results, like so, but if i try to execute this code while not
    connected to the same user i am searching on i get this error.
    ORA-19202: Error occurred in XML processing
    ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_XMLGEN", line 288
    ORA-06512: at line 1
    19202. 00000 -  "Error occurred in XML processing%s"
    *Cause:    An error occurred when processing the XML function
    *Action:   Check the given error message and fix the appropriate problem
    This code works only of you are connected to the user that you are searching on.
    But if you search for another user tables, it's blows up and gives the XML error above...
    SET SERVEROUTPUT ON
    exec DBMS_OUTPUT.ENABLE(1000000);
    VAR search_string VARCHAR2(28)
    EXEC :search_string := '^[0-9]{3}-[0-9]{2}-[0-9]{4}$'
    COLUMN "Searchword"     FORMAT A28
    COLUMN "Table"     FORMAT A9
    COLUMN "Column/Value" FORMAT A50
    SELECT DISTINCT SUBSTR (:search_string, 1, 28) "Searchword",
                     SUBSTR (table_name, 1, 14) "Table",
                     SUBSTR (t.column_value.getstringval (), 1, 50) "Column/Value"
        FROM   dba_tab_cols,
        --where owner = ('&SCHEMA_NAME')
                TABLE
                  (XMLSEQUENCE
                 (DBMS_XMLGEN.GETXMLTYPE
                    ( 'SELECT ' || column_name ||
                     ' FROM ' || table_name ||
                   ' WHERE REGEXP_LIKE
                         (' || column_name || ','''
                        || :search_string || ''')'
                  ).extract ('ROWSET/ROW/*'))) t
      --WHERE  table_name IN ('FIND_TEST')
      WHERE table_name = upper('&TABLE_NAME')
      AND OWNER = upper('&SCHEMA_NAME')
      ORDER  BY "Table"
    Can someone please explain how (DBMS_XMLGEN) works, and why it's throwing that error??
    thanks,
    Xev.

    It has nothing to do with DBMS_XMLGEN.GETXMLTYPE. It simply means user executing your SQL has no select privilege on table &SCHEMA_NAME.&TABLE_NAME.
    SY.

  • XE 11.2.0.2.0  DBSNMP.BSLN_INTERNAL,  TABLESPACE "SYSAUX" (ORA-02236 )

    hi,
    i have installed XE 11.2.0.2 on Linux 3.1.10-1.9-desktop (Suse) with:
    rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm.
    without errors in logfiles, but anyway i have two small problems:
    1. Erros in file /u01/app/oracle/diag/rdbms/xe/XE/trace/alert_XE.log:
    ORA-12012: error on auto execute of job "SYS"."BSLN_MAINTAIN_STATS_JOB"
    ORA-06550: line 1, column 807:
    PLS-00201: identifier 'DBSNMP.BSLN_INTERNAL' must be declared*
    After installation, I have not found in the table dba_users the user dbsnmp and started for this reason from
    $ORACLE_HOME/rdbms/admin two scripts (sqlplus sys / as sysdba ..) :
    catnsnmp.sql and catsnmp.sql
    Question: have i done it right?
    2. I tested expdp und impdp with full=Y und impdp-logifile shows this error:
    ORA-39083: Object type TABLESPACE failed to create with error:
    ORA-02236: invalid file name
    Failing sql is:
    +CREATE TABLESPACE "SYSAUX" DATAFILE SIZE 10485760 AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M,'/u01/app/oracle/oradata/XE/sysaux.dbf'+
    SIZE 10485760 AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M LOGGING ONLINE PERMANENT BLOCKSIZE 8192 EXTENT MANAGEMENT
    LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS  SEGMENT SPACE MANAGEMENT AUTO
    The CREATE TABLESPACE statement contains a syntax error, because the word "DATAFILE" contains the following string
    SIZE 10485760 AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M,
    I asked Metadata with:
    select dbms_metadata.get_ddl('TABLESPACE','SYSAUX') from dual
    and DD has the same syntax error:
    DBMS_METADATA.GET_DDL('TABLESPACE','SYSAUX')
    CREATE TABLESPACE "SYSAUX" DATAFILE
    SIZE 10485760  AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M,
    '/u01/app/oracle/oradata/XE/sysaux.dbf' SIZE 10485760
    AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M
    LOGGING ONLINE PERMANENT BLOCKSIZE 8192
    EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT AUTO
    Has someone the same effect with 11g XE? How can I fix it?
    Best regards
    Jan

    hi clcarter,
    thank you for help.
    1. catnsnmp.sql and catsnmp: after shutdown und startup the XE ist working correctly, jobs too, no errors in alert_XE.log.
    2. expdp/impdp, only to clarify:
         The first reason that I tested "expdp" and "impdp" with the option "full=Y",
         was to verify whether it is possible, and if after "impdp" the XE-database works properly.
         The second reason was, to test the following restore strategy after XE total crash (hardware crash):
         - before the crash: daily (crontab) expdp full=y
         - after the crash: take a new computer with Linux
         - install new XE instance with rpm
         - data pump import with "impdp FULL = Y REUSE_DATAFILES" incl. databaselinks, DBSNMP schema and my private schemas
         This restore strategy, i hope, is working properly (i tested it), if i ignore "impdp" already exists errors ORA-31684 and ORA-39111.
         Only following errors are not OK:
         ORA-39083: Object type TABLESPACE failed to create with error:
    +     ORA-02236: invalid file name+
    +     Failing sql is:+
    +     CREATE TABLESPACE "SYSAUX" DATAFILE SIZE 10485760 AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M,'/u01/app/oracle/oradata/XE/sysaux.dbf' SIZE 10485760 REUSE AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M LOGGING ONLINE PERMANENT BLOCKSIZE 8192 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT AUTO+
         But errors that arise by creation of others tablespaces, are normal and as ORA-31684 i can ignore them:
    +     ORA-31684: Object type TABLESPACE:"UNDOTBS1" already exists+
    +     ORA-31684: Object type TABLESPACE:"TEMP" already exists+
    +     ORA-31684: Object type TABLESPACE:"USERS" already exists+
    I have only one question more:
    why CREATE TABLESPACE statement has syntax error, and how can i fix it.
    This syntax error shows following select:
    SQL>     select dbms_metadata.get_ddl('TABLESPACE','SYSAUX') from dual;
         CREATE TABLESPACE "SYSAUX" DATAFILE
         SIZE 10485760 AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M,
         '/u01/app/oracle/oradata/XE/sysaux.dbf'
         SIZE 10485760 AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M
         LOGGING ONLINE PERMANENT BLOCKSIZE 8192
         EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT AUTO
    and is visible directly after the installation of XE-database.
    Best regards
    Jan

  • ERROR ORA-00942: table or view does not exist

    Hi:
    I created a .sql file and a loader file. Running the .sql file with sql * plus Worksheet:
    declare
    gr sdo_georaster;
    begin
    select image into gr from gis.RasterImages where geoid=1 for update;
    sdo_geor.generatePyramid(gr,'resampling=NN');
    update gis.RasterImages set image=gr where geoid=1;
    commit;
    end;
    I trying to create a pyramid,but the error appeared:
    ERROR at line 1:
    ORA-29400: DATA CONTROL ERROR ORA-00942: table or view does not exist
    ORA-06512: 在 "MDSYS.SDO_GEOR_INT", line 162
    ORA-06512: 在 "MDSYS.SDO_GEOR", line 826
    ORA-06512: 在 line 5
    I don't know why?
    Anyone can help me?
    Thanks.

    Hi,
    I think you are executing the select statement for schema X and the table is in the schema srnr.
    And schema X is not having select privilege on the table 'students' present in schema srnr.
    Goto schema srnr.
    Execute the following statement:
    grant select on students to X;
    This will give schema X the privilege to query the table students present in srnr.
    Regards,
    Anupama

  • Not able to create EM repository - ORA-00942: table or view does not exist

    -bash-3.00$ emca -config dbcontrol db -repos recreate
    STARTED EMCA at 2010-06-02 12:12:29
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database SID: eric1
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /oracle/product/10.2.0/db_1
    Database hostname ................ solx
    Listener port number ................ 1521
    Database SID ................ eric1
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    2010-06-02 12:12:52 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log.
    2010-06-02 12:13:02 oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/product/10.2.0/db_1/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=solx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=eric1))) -repos_user SYSMAN -action drop -verbose -output_file /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_2010-06-02_12-13-02-PM.log
    2010-06-02 12:13:05 oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    2010-06-02 12:13:05 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_<date>.log for more details.
    2010-06-02 12:13:05 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log for more details.So I looked into a log file: /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log
    Here is an end of it ( I can paste all log file if necessary but it is very long):
    CONFIG: Starting execution: /oracle/product/10.2.0/db_1/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=solx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=eric1))) -repos_user SYSMAN -action drop -verbose -output_file /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_2010-06-02_12-13-02-PM.log
    2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 51
    2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Enter SYS user's password :
    Enter repository user password :
    Getting temporary tablespace from database...
    prepare(SELECT tablespace_name FROM dba_tablespaces WHERE contents='TEMPORARY'  AND status='ONLINE'): ORA-00942: table or view does not exist (DBD ERROR: error possibly near <*> indicator at char 28 in 'SELECT tablespace_name FROM <*>dba_tablespaces WHERE contents='TEMPORARY'  AND status='ONLINE'')
    2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: stty: : No such device or address
    stty: : No such device or address
    stty: : No such device or address
    stty: : No such device or address
    2010-06-02 12:13:05 oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/product/10.2.0/db_1/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=solx)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=eric1))) -repos_user SYSMAN -action drop -verbose -output_file /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_2010-06-02_12-13-02-PM.log
    2010-06-02 12:13:05 oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    2010-06-02 12:13:05 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_repos_drop_<date>.log for more details.
    2010-06-02 12:13:05 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /oracle/product/10.2.0/db_1/cfgtoollogs/emca/eric1/emca_2010-06-02_12-12-29-PM.log for more details.
    2010-06-02 12:13:05 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error dropping the repository
            at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:176)
            at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:127)
            at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
            at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
            at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
            at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
            at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)...and here I can easly see that error: ORA-00942: table or view does not exist.
    But what does it mean to me ? I mean what should I ro to create/recreate missing table or view ?

    Hi, so here are my tries:
    1. admin:
    Below Dirs dont not exist:
    <ORACLE_HOME>/<hostname_sid>
    <ORACLE_HOME>/oc4j/j2ee/OC4J_DBConsole_<hostname>_<sid>
    ...also it was unable to drop user - does not exist
    -bash-3.00$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Jun 2 12:55:44 2010
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.2.0 - Production
    SQL> sqlplus "/as sysdba"
    drop user sysman cascade;
    drop role MGMT_USER;
    drop user MGMT_VIEW cascade;
    drop public synonym MGMT_TARGET_BLACKOUTS;
    drop public synonym SETEMVIEWUSERCONTEXT;
    SP2-0734: unknown command beginning "sqlplus "/..." - rest of line ignored.
    SQL> drop user sysman cascade
    ERROR at line 1:
    ORA-01918: user 'SYSMAN' does not exist
    SQL> drop role MGMT_USER
    ERROR at line 1:
    ORA-01919: role 'MGMT_USER' does not exist
    SQL> drop user MGMT_VIEW cascade
    ERROR at line 1:
    ORA-01918: user 'MGMT_VIEW' does not exist
    SQL> drop public synonym MGMT_TARGET_BLACKOUTS
    ERROR at line 1:
    ORA-01432: public synonym to be dropped does not exist
    SQL> drop public synonym SETEMVIEWUSERCONTEXT
    ERROR at line 1:
    ORA-01432: public synonym to be dropped does not exist
    {code}
    I also tried this:
    2. coskan         
    {code}
    -bash-3.00$ sqlplus sys/qaz123@eric1 as sysdba
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Jun 2 12:51:34 2010
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.2.0 - Production
    SQL> SELECT tablespace_name FROM dba_tablespaces WHERE contents='TEMPORARY' AND status='ONLINE';
    SELECT tablespace_name FROM dba_tablespaces WHERE contents='TEMPORARY' AND status='ONLINE'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Exception occured during invocation of JCA binding ORA-01403: no data found ORA-06512: at line 1

    Dear Legends,
    My requirement is to call store procedure from BPEL. So for I created a BPEL with 2 assign activity and 1 Invoke activity to Invoke the DB adapter. After Deploying I tested the process but it shows the following error:
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DB_SBL_SPROCS1' failed due to: Interaction processing error.
    Error while processing the execution of the SIEBEL.PORTAL_SPROCS.ACP_CONREGISTRATIONLOOKUP_WRAP API interaction.
    An error occurred while processing the interaction for invoking the SIEBEL.PORTAL_SPROCS.ACP_CONREGISTRATIONLOOKUP_WRAP API. Cause: java.sql.SQLException: ORA-01403: no data found
    ORA-06512: at line 1
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD.  This exception is considered not retriable, likely due to a modelling mistake.  To classify it as retriable instead add property nonRetriableErrorCodes with value "-1403" to your deployment descriptor (i.e. weblogic-ra.xml).  To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff.  All properties are integers.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary></part><part name="detail"><detail>ORA-01403: no data found
    ORA-06512: at line 1
    </detail></part><part name="code"><code>1403</code></part></bindingFault></bpelFault></fault><faultType>
    <message>0</message></faultType></messages></details></event><event sid="BpPrc0.1" cat="2" n="16" date="2013-08-08T05:39:39.121-04:00" type="4"><message>"BPELFault" has not been caught by a catch block.</message></event><event sid="BpPrc0.1" cat="2" n="17" date="2013-08-08T05:39:39.270-04:00" type="3"><message>The transaction was rolled back. The work performed for bpel instance "960968" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message.</message></event></audit-trail>
    What does the above error says?
    1. Whether concern Grant or Execute Privileges is not properly provided to the user?
    2. Is there any Dangling Privileges are prevailing?
    3. Is that the Store Procedure to be Handled with an Error Handling by means of Exception?
    4. Is that I have been giving wrong test data?
    5. Is that No data being existing in the Procedure?
    6. Is that anything related to XA and NON-XA Data Source?
    Any kind of help would be much appreciated. Thanks in Advance.
    Thanks,
    Karthik

    Can you check the following ?
    a. Hopefully the when you execute the procedure using sql tool it works fine and returns data.
    b. Is there any input parameter available for procedure ?
    c. IF yes, is the parameter is mapped with the procedure parameter and populated with value before calling the procedure ?
    d. In the audit trial, you can see from the invoke activity to see whether the parameter is populated with value or not ?
    e. Check the input parameter by executing the procedure with sql tool to see whether this request is receiving any data in return or not ?
    Thanks,
    Vijay

  • Oracle error 1403:java.sql.SQLException: ORA-01403: no data found ORA-06512

    My customer has an issue, and error message as below:
    <PRE>Oracle error 1403: java.sql.SQLException: ORA-01403: no data found ORA-06512:
    at line 1 has been detected in FND_SESSION_MANAGEMENT.CHECK_SESSION. Your
    session is no longer valid.</PRE>
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.
    Following is the data collection from customer:
    1. Run UNIX command to check .class file version:
    strings $JAVA_TOP/oracle/apps/bne/utilities/BneViewerUtils.class | grep Header--> S$Header: BneViewerUtils.java 120.33.12010000.17 2010/11/21 22:19:58 amgonzal s$
    2. Run SQL to check you patch level:
    SELECT * FROM fnd_product_installations WHERE patch_level LIKE '%BNE%';--> R12.BNE.B.3
    3. Run SQL to check patch '9940148' applied or not:
    SELECT * FROM ad_bugs ad WHERE ad.bug_number = '9940148';--> No Rows returned
    4. Run SQL to check patch '9785477' applied or not:
    SELECT * FROM ad_bugs WHERE bug_number in ('9785477');-->
    BUG_ID APPLICATION_SHORT_NAME BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME CREATED_BY LAST_UPDATE_DATE LAST_UPDATED_BY TRACKABLE_ENTITY_ABBR BASELINE_NAME GENERIC_PATCH LANGUAGE
    576982 11839583 2011/8/7 上午 08:20:36 R12 5 2011/8/7 上午 08:20:36 5 pjt B n US
    516492 9785477 2011/6/12 上午 11:42:45 R12 5 2011/6/12 上午 11:42:45 5 bne B n US
    546109 9785477 2011/6/12 下午 01:17:41 R12 5 2011/6/12 下午 01:17:41 5 bne B n ZHT
    5. Run SQL to check the status of object ‘FND_SESSION_MANAGEMENT’
    SELECT * FROM dba_objects do WHERE do.object_name = 'FND_SESSION_MANAGEMENT';-->
    OWNER OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME
    APPS FND_SESSION_MANAGEMENT 219425 PACKAGE 2004/10/30 下午 01:52:35 2011/8/7 上午 08:18:39 2011-08-07:08:18:26 VALID N N N 1
    APPS FND_SESSION_MANAGEMENT 226815 PACKAGE BODY 2004/10/31 上午 01:05:40 2011/8/7 上午 08:18:54 2011-08-07:08:18:27 VALID N N N 2
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? Does customer still need to apply patch '9940148' based on action plan of
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.
    Thanks,
    Jackie

    And customer’s statement is: Upgrade from EBS 11.5.10 to 12.1.3. Login the EBS, open any forms and put it in idle. Then refresh the form, error happens
    Idle for how long? Is the issue with all sessions?
    Please see these docs/links
    User Sessions Get Timed Out Before Idle Time Parameter Values Are Reached [ID 1306678.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Timeout+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Then, I checked ISP, and found two notes:
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid (Doc ID 1284094.1)
    Note 1319380.1: Webadi Gl Journal Posting Errors After Atg R12.1.3 (Doc ID 1319380.1)
    But these two notes are both WebADI.Can you find any details about the error in Apache log files and in the application.log file?
    Any errors in the database log file?
    So, my question is: Customer’s BneViewerUtils.java version is already 120.33.12010000.17, which greater than 120.33.12010000.14. Is there any others solutions for this issue? No.
    Does customer still need to apply patch '9940148' based on action plan ofIf the issue not with Web ADI, then ignore this patch. However, if you use Web ADI you could query AD_BUGS table and verify if you have the patch applied.
    Note 1284094.1: Web ADI Journal Upload Errors With ORA-01403 No Data Found ORA-06512 At Line Has Been Detected In FND_SESSION_MANAGEMENT.CHECK_SESSION.Your Session Is No Longer Valid?
    Customer's EBS version is 12.1.3; OS is HP-UX PA-RISC (64-bit); DB is 11.2.0.2.If you could not find any details in the logs, please enable debug as per (R12, 12.1 - How To Enable and Collect Debug for HTTP, OC4J and OPMN [ID 422419.1]).
    Thanks,
    Hussein

  • ORA-06512: at "DEV3_SOAINFRA.EDN_DEQUEUE_OAOO_DELIVERY"

    RUNNING XE and Weblogic Server with SOA.
    When starting Weblogic server with SOA components, getting the following error:
    <Jun 26, 2012 10:00:32 AM MDT> <Warning> <oracle.integration.platform.blocks.eve
    nt.saq> <SOA-31013> <Error handling message (rolling back).
    java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_AQ", line 335
    ORA-06512: at "DEV3_SOAINFRA.EDN_DEQUEUE_OAOO_DELIVERY", line 14
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
    java:213)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableSta
    tement.java:1111)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1488)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
    ement.java:3954)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStat
    ement.java:9353)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePrepa
    redStatementWrapper.java:1539)
    at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.jav
    a:99)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.read
    OAOODelivery(SAQBusinessEventBus.java:1585)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.hand
    leSingleOAOODelivery(SAQBusinessEventBus.java:858)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.hand
    leQueueEvents(SAQBusinessEventBus.java:731)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.acce
    ss$000(SAQBusinessEventBus.java:90)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus$1.ru
    n(SAQBusinessEventBus.java:372)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run
    (WorkManagerExecutor.java:120)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManag
    er.java:184)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    When trying to debug and compile invalid objects I get the following:
    SQL> ED
    Wrote file afiedt.buf
    1* ALTER PACKAGE DBMS_AQADM_SYS COMPILE
    SQL> ALTER PACKAGE DBMS_AQADM_SYS COMPILE
    2 /
    Warning: Package altered with compilation errors.
    SQL> SHOW ERRORS
    No errors.
    SQL> show errors DBMS_AQADM_SYS
    Usage: SHOW ERRORS [{ FUNCTION | PROCEDURE | PACKAGE |
    PACKAGE BODY | TRIGGER | VIEW
    | TYPE | TYPE BODY | DIMENSION
    | JAVA SOURCE | JAVA CLASS } [schema.]name]
    SQL> SHOW ERRORS PACKAGE BODY DBMS_AQADM_SYS
    Errors for PACKAGE BODY DBMS_AQADM_SYS:
    LINE/COL ERROR
    495/5 PL/SQL: SQL Statement ignored
    496/17 PL/SQL: ORA-00942: table or view does not exist
    1316/6 PL/SQL: SQL Statement ignored
    1317/39 PL/SQL: ORA-00942: table or view does not exist
    1389/7 PL/SQL: SQL Statement ignored
    1391/42 PL/SQL: ORA-00942: table or view does not exist
    1468/20 PL/SQL: Item ignored
    1468/20 PLS-00201: identifier 'SYSTEM.AQ$_QUEUES' must be declared
    1471/5 PL/SQL: SQL Statement ignored
    1471/27 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    LINE/COL ERROR
    1471/33 PL/SQL: ORA-00904: : invalid identifier
    1480/5 PL/SQL: SQL Statement ignored
    1480/24 PL/SQL: ORA-00942: table or view does not exist
    1490/6 PL/SQL: SQL Statement ignored
    1492/15 PL/SQL: ORA-00904: "OBJNO": invalid identifier
    1492/15 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    1502/9 PL/SQL: Statement ignored
    1503/13 PLS-00320: the declaration of the type of this expression is

    RUNNING XE and Weblogic Server with SOA.
    When starting Weblogic server with SOA components, getting the following error:
    <Jun 26, 2012 10:00:32 AM MDT> <Warning> <oracle.integration.platform.blocks.eve
    nt.saq> <SOA-31013> <Error handling message (rolling back).
    java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_AQ", line 335
    ORA-06512: at "DEV3_SOAINFRA.EDN_DEQUEUE_OAOO_DELIVERY", line 14
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
    java:213)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableSta
    tement.java:1111)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1488)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
    ement.java:3954)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStat
    ement.java:9353)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePrepa
    redStatementWrapper.java:1539)
    at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.jav
    a:99)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.read
    OAOODelivery(SAQBusinessEventBus.java:1585)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.hand
    leSingleOAOODelivery(SAQBusinessEventBus.java:858)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.hand
    leQueueEvents(SAQBusinessEventBus.java:731)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.acce
    ss$000(SAQBusinessEventBus.java:90)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus$1.ru
    n(SAQBusinessEventBus.java:372)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run
    (WorkManagerExecutor.java:120)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManag
    er.java:184)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    When trying to debug and compile invalid objects I get the following:
    SQL> ED
    Wrote file afiedt.buf
    1* ALTER PACKAGE DBMS_AQADM_SYS COMPILE
    SQL> ALTER PACKAGE DBMS_AQADM_SYS COMPILE
    2 /
    Warning: Package altered with compilation errors.
    SQL> SHOW ERRORS
    No errors.
    SQL> show errors DBMS_AQADM_SYS
    Usage: SHOW ERRORS [{ FUNCTION | PROCEDURE | PACKAGE |
    PACKAGE BODY | TRIGGER | VIEW
    | TYPE | TYPE BODY | DIMENSION
    | JAVA SOURCE | JAVA CLASS } [schema.]name]
    SQL> SHOW ERRORS PACKAGE BODY DBMS_AQADM_SYS
    Errors for PACKAGE BODY DBMS_AQADM_SYS:
    LINE/COL ERROR
    495/5 PL/SQL: SQL Statement ignored
    496/17 PL/SQL: ORA-00942: table or view does not exist
    1316/6 PL/SQL: SQL Statement ignored
    1317/39 PL/SQL: ORA-00942: table or view does not exist
    1389/7 PL/SQL: SQL Statement ignored
    1391/42 PL/SQL: ORA-00942: table or view does not exist
    1468/20 PL/SQL: Item ignored
    1468/20 PLS-00201: identifier 'SYSTEM.AQ$_QUEUES' must be declared
    1471/5 PL/SQL: SQL Statement ignored
    1471/27 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    LINE/COL ERROR
    1471/33 PL/SQL: ORA-00904: : invalid identifier
    1480/5 PL/SQL: SQL Statement ignored
    1480/24 PL/SQL: ORA-00942: table or view does not exist
    1490/6 PL/SQL: SQL Statement ignored
    1492/15 PL/SQL: ORA-00904: "OBJNO": invalid identifier
    1492/15 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    1502/9 PL/SQL: Statement ignored
    1503/13 PLS-00320: the declaration of the type of this expression is

  • ORA-06512 when using DBMS_DATAPUMP.OPEN

    Hi,
    we're using 10.2.0.3 SE1 on 32 Bit XP Prof. with SP2 and are trying to use dbms_datapump over the network.
    When we call the OPEN procedure within a Package we get a
    ORA-31626: job does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.KUPV$FT_INT", line 430
    ORA-31638: cannot attach to job SNAPSHOT_JOB for user PHX_SYNC_DZ
    ORA-31632: master table "PHX_SYNC_DZ.SNAPSHOT_JOB" not found, invalid, or inaccessible;
    ORA-00942: table or view not foundWhen we use an anonymous pl/sql block the open works.
    The User phx_sync_dz has been granted imp_full_database and exp_full_database.
    Does anyone know a solution for that?
    Dim

    I found the solution. DDL rights have been granted by roles. So the user had simply not the rights to create the create the Mastertable.
    A grant create table was enough and it worked.
    Dim

  • 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

  • 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

  • ORA-01403: no data found ORA-06512: in SYSMAN.MGMT_CREDENTIAL

    Hi all,
    I'm trying to configure grid agent 10.2.0.5 on Windows server 2008 (x64).
    One step is to configure host credentials in GRID enterprise manager.
    When I put those credentials (user and password) I recive the following error:
    ORA-01403: no data found ORA-06512: in "SYSMAN.MGMT_CREDENTIAL"
    File emoms.trc shows the following:
    2010-09-15 12:21:10,152 [EMUI_12_21_10_/console/pref/setCredentials$targetType=oracle*_emd] ERROR creds.SetPrefCreds saveCreds.1478 - SetPrefCreds.saveCreds(): SQLException: ORA-01403: no data found
    ORA-06512: in "SYSMAN.MGMT_CREDENTIAL", line 1491
    ORA-06512: in "SYSMAN.MGMT_CREDENTIAL", line 1588
    ORA-06512: in line 1
    In order to perform the deploy of the Agent for MS SQL Server it is mandatory to set host/agent credentials
    I could not find anything in MetaLink.
    Any suggestion?
    Thanks in advance.

    If you search in MOS for: ORA-06512: in "SYSMAN.MGMT_CREDENTIAL"
    you will find 9 hits.
    Could be a number of things.
    1- target server does not have a FQDN but only short name. Check your targets.xml file on de target server if the server has a short or long name.
    Can you ping the OMS server by ip-address, short name, FQDN from the target server. From the OMS server can you ping the target server by ip,short name and FQDN?. If not check your hosts file or DNS.
    2- Is the host user giving the problem or is it the SYDBA user? Is the SYSDBA user granted sysdba rights?
    3- Is the DBConsole agent running also on the target?
    4- Other?
    If 1:
    Drop all targets from the target server in OMS (drop the agent as the last one)
    Stop the agent
    set oma_home= <path to agent_home>
    / should be \
    del %OMA_HOME%/sysman/emd/state/*
    del %OMA_HOME%/sysman/emd/collection/*
    del %OMA_HOME%/sysman/emd/upload/*.xml
    del %OMA_HOME%/sysman/emd/lastupld.xml
    del %OMA_HOME%/sysman/emd/agntstmp.txt
    del %OMA_HOME%/sysman/emd/blackouts.xml
    On the target server run: agentca -f
    Eric

Maybe you are looking for

  • SQL LDR Control file date format

    Hi All I need to Insert date with time using sqlldr. In my data file am getting date value as 20110103 10:27:44. In control file am doing like this creation_date "decode(:creation_date, 'null', null, 0,null,to_date(:creation_date, 'YYYYMMDD HH24:MI:S

  • Perspective grid: some grids invisible - how to bring them back?

    I was drawing an image using 2-vanishing-point perspective grid when, at some point, for a reason unknown to me, 2 out of 3 grids dissapeared. Currently I have the left (blue) grid, but they right (orange) and bottom (green) grids are not there. My q

  • Serving PDF using IE

    NOTE: This is not a question but rather a thread for solutions to this problem. I hope that someone who is having this same problem in the future can find this information useful. If you have a solution you would like to share then post it here. I ha

  • Chiamare una midlet dentro un altra midlet---calling a midlet into a midlet

    i'm new to j2me... i created a midlet and i need to call another midlet by pressing (select) a button or sth like that how can i do it???? thanks in advance...

  • Signal quality question

    So, this morning when I came into work, the flourescent lights were off (I always like that), and my iPhone had 4 bars of signal quality sitting in a spot on my desk and was on the edge network... An hour later, I came back, and my phone had 1 bar of