Ora-04092 and PL/SQL

Hi,
I've a table and an attached trigger calling a PL/SQL procedure.
The procedure creates a table, a trigger on that table and some VPD policies using the EXECUTE IMMEDIATE function.
Each time I enter a new row in the table I get the ORA-04092 error.
I've check all my codes and there is no commit writen somewhere. I strongly suspect that the EXECUTE IMMEDIATE is the problem.
How can I bypass the problem?
Cheers,
Sebastien

you need another way to implement this.
A trigger fires when you do DML on a table (dependent on the type of trigger), not at COMMIT-time.
What about this scenario:
1) users adds record to table
2) causing the trigger to fire
3) table, trigger and VPD are created
4) user rollback the action
result: a table, trigger and VPD without a record in the table. And I assume this is not what you want.
What you could do, is create a job which creates the table, trigger and VPD. Submit the job from the trigger.
Jobs will only run when the user commits, when the user rolls back the transaction, the job automatically rolls back as well.
Here is a blog on "transaction dependent webservice invocation", the basic idea is as I described above.
http://technology.amis.nl/blog/1604/transaction-dependent-webservice-invocationor-how-to-call-a-webservice-from-a-database-trigger-and-make-the-call-part-of-the-transaction

Similar Messages

  • SQL Error: ORA-04092: cannot COMMIT in a trigger

    Trying to drop the table inside the trigger but i'm unable to do it.
    SQL Error: ORA-04092: cannot COMMIT in a trigger
    I need to drop the table based on the some condition say condition is the archive table with more than millions of records which is of no use so i plan to drop the table.
    I will be inserting the the unwanted table to mytable ,mytable which is having the trigger will fire to drop the table.
    I need this to be done on automatic basis so i have chosen trigger.
    is there anyway of automatic other than trigger in this case.

    933663 wrote:
    Trying to drop the table inside the trigger but i'm unable to do it.
    SQL Error: ORA-04092: cannot COMMIT in a trigger
    I need to drop the table based on the some condition say condition is the archive table with more than millions of records which is of no use so i plan to drop the table.
    I will be inserting the the unwanted table to mytable ,mytable which is having the trigger will fire to drop the table.
    I need this to be done on automatic basis so i have chosen trigger.
    is there anyway of automatic other than trigger in this case.You can't COMMIT inside a trigger. Oracle issue an auto COMMIT before and after the execution of DDL. So you can't use DDL in trigger. You may get suggestion to use AUTONOMOUS_TRANSACTION to perform COMMIT within tirgger. But dont do that. Its wrong idea.
    I will suggest you look back into your requirement and see what exactly you want. You could schedule a job that runs on a daily basis that will pick up the object details from your table and drop them accordingly.

  • ORA-04092 trying to analyze table

    Hi,
    I was trying to analyze some tables issuing:
    analyze table owner.table_name compute statistics;
    Immediately raises the ora-04092, as far as I seen, read, and googled, this ORA error occurs only when someone try to commit inside a trigger, but clearly this is not the case.
    And even in some web applications this error appears.
    This error started to occur after session limit exceeded, doesn't sound related to me, but maybe it can be interesting information.
    Any suggestions please, I'm comfused.
    Regards

    Here more information:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SO: RHELAS 5
    And according recomendation, I tryed to use DBMS_STAT, with same results:
    SQL> conn system/*******@siin
    Connected.
    SQL> conn mailedu/*******@siin
    ERROR:
    ORA-04092: cannot COMMIT in a trigger
    ERROR:
    ORA-24315: illegal attribute type
    Warning: You are no longer connected to ORACLE.
    SQL> conn mailedu/********@siin
    ERROR:
    ORA-24315: illegal attribute type
    SQL> conn system/********@siin
    ERROR:
    ORA-24315: illegal attribute type
    Once I restart sqlplusw, and I could connect (just the first connect is successfull) I tryed with dbms_stats:
    SQL> exec dbms_stats.gather_schema_stats ( -
    ownname => 'MAILEDU', -
    options => 'GATHER' );BEGIN dbms_stats.gather_schema_stats ( ownname => 'MAILEDU', options => 'GATHER' ); END;
    ERROR at line 1:
    ORA-04092: cannot COMMIT in a trigger
    ORA-06512: at "SYS.DBMS_STATS", line 14002
    ORA-06512: at "SYS.DBMS_STATS", line 13974
    ORA-06512: at line 1
    Looking further inside the forum I found this thread:
    stupid ora-04092 error message
    In the conversation it is mentioned that according document Link:[7886990|https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(bmDocDsrc=Bug&bmDocTitle=AFTER%20OCCURRING%20ORA-18,%20ORACLE%20THROWS%20ORA-4092%20CONTINOUSLY&bmDocID=7886990&viewingMode=1143&from=BOOKMARK&bmDocType=BUG))]
    it can occur after ORA-00018 maximum number of sessions exceeded
    this one is my scenario,
    And...
    Bug No: 6977167
    Filed 16-APR-2008 Updated 19-AUG-2009
    Product Oracle Server - Enterprise Edition Product Version 10.2.0.2
    Platform Linux x86-64 Platform Version rel4
    Database Version 10.2.0.2 Affects Platforms Generic
    Severity Severe Loss of Service Status Development to Q/A
    Base Bug N/A Fixed in Product Version 11.2
    So I would like to mark this as a known bug, but I don't know how to proeced.
    Regards

  • Scheduled Web Intelligence report fails with ORA-01013 and WIS 10901

    Hi,
            the environment I'm working in is BOXI R2 SP4 on a Solaris 10 server using WebLogic running against Oracle 9i database.
    I have a report written by one of the users. In SQL Viewer the SQL detailed is two joined Select statements. Each time this report is either scheduled or refreshed is fails with an ORA-01012 and WIS 10901 error.
    I am of the understanding that this failure relates to the fact that the 'Limit Execution Time To;'  value is being exceeded.
    I also understand that this value is infact divided by the number of Select statements present, and that each Select statment is them allocated an equal portion of this value.
    If any of this is incorrect please correct me.
    I therefore have two questions
    1. As such would I be correct in assuming that in my scenario where 2 Select statments are present and where the execution limit is set to 30 minutes, that each Select has 15 minutes to complete, and that if either fails the ORA-01012 and WIS 10901 error is generated.
    2. Also would this error message get generated as soon as the first failure occurred, or would BO initiate a cancellation of the SQL by Oracle, ORA-01012, only when the final request has either succeeded or failed.

    The queries are not executed in parallel but in serial. So the total execution time configured will be for all the Select statements in the report combined.
    As for your second question, since the execution is not parallel hence BO will not initiate any error message until the total execution time exceeds the defined limit. This could be during the execution of first select statement or the second.
    Try executing the queries directly in database one by one and see how much time they are taking.
    - Noman Jaffery

  • Dbms_ldap  ORA-31203: DBMS_LDAP: PL/SQL - Init Failed  ( 9i rel. 9.2.0.1.0)

    Hi,
    I have a strange behaviour with the package dbms_ldap. I work with Oracle 9i, rel. 9.2.0.1.0 .
    I have the hostname xxxx.yy .
    The ping gives me this IP number:
    H:\sql>ping xxxx.yy
    Ping xxxx.yy [10.159.29.41] mit 32 Bytes Daten:
    Antwort von 10.159.29.41: Bytes=32 Zeit=5ms TTL=125
    When I use the softerra ldap browser 2.6, I can specify as host: xxxx.yy and I receive the answer with no problem.
    But when I use the dbms_ldap package, this hostname fails.
    SQL> @search;
    DBMS_LDAP Search Example to directory ..
    LDAP Host : xxxx.yy
    LDAP Port : 389
    Error code : -31203
    Error Message : ORA-31203: DBMS_LDAP: PL/SQL - Init Failed.
    Exception encountered .. exiting
    But when I use the IP adress instead of the hostname, all works fine.
    SQL> @search;
    DBMS_LDAP Search Example to directory ..
    LDAP Host : 10.159.29.41
    LDAP Port : 389
    Ldap session : A88E6340(returned from init)
    simple_bind_s Returns : 0
    search_s Returns : 0
    LDAP message : 08866340(returned from search_s)
    Number of Entries : 1
    dn: CN=aaaaaa,OU=9.4,OU=9,OU=Central Administration,OU=xxxx.yy,DC=xxxx,DC=yy
    cn : aaaaaa
    displayName : ....., .....
    givenName : .....
    sn : .....
    ===================================================
    unbind_res Returns : 0
    Directory operation Successful .. exiting
    NB. when I use another hostname: zzzzz.xxxx.yy having the same IP address, also all works fine.
    H:\sql>ping zzzzz.xxxx.yy
    Ping zzzzz.xxxx.yy [10.159.29.41] mit 32 Bytes Daten:
    Antwort von 10.159.29.41: Bytes=32 Zeit=5ms TTL=125
    SQL> @search;
    DBMS_LDAP Search Example to directory ..
    LDAP Host : zzzzz.xxxx.yy
    LDAP Port : 389
    Ldap session : A88E6340(returned from init)
    simple_bind_s Returns : 0
    search_s Returns : 0
    LDAP message : 08866340(returned from search_s)
    Number of Entries : 1
    dn: CN=aaaaaa,OU=9.4,OU=9,OU=Central Administration,OU=xxxx.yy,DC=xxxx,DC=yy
    cn : aaaaaa
    displayName : ....., .....
    givenName : .....
    sn : ......
    ===================================================
    unbind_res Returns : 0
    Directory operation Successful .. exiting
    Is there a possibility to overcome this problem?
    Thanks

    Problem solved - (Problem gelöst :)
    using 9i rel.9.2.0.7 all works fine
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.7.0 - Production
    DBMS_LDAP Search Example to directory ..
    LDAP Host : xxxx.yy
    LDAP Port : 389
    Ldap session : 00000001(returned from init)
    simple_bind_s Returns : 0
    search_s Returns : 0
    LDAP message : 00000001(returned from search_s)
    Number of Entries : 1
    dn: CN=aaaaaa,OU=9.4,OU=9,OU=Central Administration,OU=xxxx.yy,DC=xxxx,DC=yy
    ......

  • Can't figure out why: ORA-00911 on dynamic SQL

    Hi everyone,
    I have a report that is generated with the HTMLDB_ITEM toolkit. The report generates a checkbox, a hidden field, a text field, two select lists, and a select field.
    There is a button in the region that activates a process to update two tables with the values in the fields. I have simplified the generated code by putting in variables that allow me to print a meaningful debug statement. The generated statement causes an ORA-00911; invalid character error. However, running the generated statement in the SQL Workshop works fine.
    Here is the code (only slightly sanitized):
    DECLARE
    v_update_string varchar2(2000);
    v_project_name  varchar2(2000);
    v_IT_dependant varchar2(1);
    v_gxp_relevant  varchar2(1);
    v_project_id    varchar2(10);
    v_pm_id         varchar2(10);
    BEGIN
    for i in 1..HTMLDB_APPLICATION.G_F01.COUNT
    loop
    v_update_string := null;
    v_project_name  := HTMLDB_APPLICATION.G_F03(HTMLDB_APPLICATION.G_F01(i));
    v_IT_dependant := HTMLDB_APPLICATION.G_F04(HTMLDB_APPLICATION.G_F01(i));
    v_gxp_relevant   := HTMLDB_APPLICATION.G_F05(HTMLDB_APPLICATION.G_F01(i));
    v_project_id    := HTMLDB_APPLICATION.G_F02(HTMLDB_APPLICATION.G_F01(i));
    v_pm_id         := HTMLDB_APPLICATION.G_F06(HTMLDB_APPLICATION.G_F01(i));
    v_update_string := 'update abc_project set ';
    v_update_string := v_update_string || 'project_name = '''   || v_project_name || ''',';
    v_update_string := v_update_string || ' it_dependant = '''  || v_IT_dependant|| ''',';
    v_update_string := v_update_string || ' gxp_relevant = '''  || v_gxp_relevant|| '''';
    v_update_string := v_update_string || ' where id = '      || v_project_id || ';' ;
    -- This statement is debug output.
    wwv_flow.debug('UPDATE_PROJECT_DATA v_update_string for ABC_PROJECT:' || v_update_string);
    execute immediate v_update_string;
    v_update_string := null;
    v_update_string := 'update abc_project_monthly set ';
    v_update_string := v_update_string || 'project_manager = ' || v_pm_id;
    v_update_string := v_update_string || ' where project_id = ' || v_project_id || ' and ';
    v_update_string := v_update_string || 'trunc(record_date, ''MON'') = trunc(SYSDATE, ''MON'');';
    -- This statement is debug output.
    wwv_flow.debug('UPDATE_PROJECT_DATA v_update_string contents for
    ABC_PROJECT_MONTHLY:' || v_update_string);
    execute immediate v_update_string;
    end loop;
    END;Here is the generated statement from the wwv_flow.debug statement:
    0.05: UPDATE_PROJECT_DATA v_update_string for ABC_PROJECT:update abc_project set project_name = 'Test Project 4', it_dependant = 'N', gxp_relevant = 'N' where id = 425;
    The next statement is "SHOW ERROR page..."
    I have the feeling that I'm barking up the wrong tree. I've not been able to find anything helpful regarding the ORA-00911 error and wonder if I've been mislead and am looking in the wrong place.
    As mentioned, running the generated SQL works fine in the SQL Worksop and in SQL Developer, just cut and paste. Could this have something to do with the "execute immedate"? You might have noticed that two statements should be generated, but we never get past the first one.
    I would greatly appreciate any thoughts.
    Thanks,
    Petie
    Message was edited by:
    Petie

    Hi Vikas and Vishal,
    Thanks so much for your time in responding to my question.
    Removing the extraneous semicolon indeed solved the problem. It was clear, with only a little thought, that with the semicolon in the generated statement the result was something like:
    execute immediate update this set that = the_other;;which clearly is a problem.
    I will look at the bind variables, Vikas, and start migrating the code in that direction. Thanks for your suggestion.
    Yours,
    Petie

  • How to resolve ORA-00001 Error in SQL Insert?

    Hi all, I need your appreciated help.
    I make a plsql procedure that is inserting a row according cursor value, I'm having oracle error ORA-00001: unique constraint (constraint_name) violated.
    You may see this message if a duplicate entry exists at a different level: in RDBMS MySQL I have the syntax IGNORE to resolve this duplication error... and in Oracle ?
    Thanks for your time and hints.
    Miguelito

    user6317803 wrote:
    How to resolve ORA-00001 Error in SQL Insert?ORA-00001 means table has unique/primary key/index and you are trying to insert a row with key value that already exists in the table. I'll assume table COUNTRIES has primary key on COUNTRY_ID. Then change SQL to:
    SQL = "INSERT INTO COUNTRIES(COUNTRY_ID,COUNTRY_NAME,REGION_ID) SELECT 'BZ','BLZ',3 FROM DUAL WHERE NOT EXISTS(SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ')"There is a good chance table COUNTRIES also has unique key/index on COUNTRY_NAME. If so use:
    SQL = "INSERT INTO COUNTRIES(COUNTRY_ID,COUNTRY_NAME,REGION_ID) SELECT 'BZ','BLZ',3 FROM DUAL WHERE NOT EXISTS(SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ' OR COUNTRY_NAME = 'BLZ')"SY.

  • Instance terminted with ORA-00445 and ORA-00494

    Hi Folks,
    Oracle 11g Instance terminated after ORA-00445 and ORA-00494. Not sure what is the problem didnot have this problem before. Can any body pls help?
    Oracle Database 11g Enterprise Edition 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 Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Below is the message found in alertlog.
    Archived Log entry 17939 added for thread 1 sequence 17973 ID 0xee1270c6 dest 1:
    Thu Apr 19 02:32:15 2012
    WARNING:io_getevents timed out 600 sec
    Thu Apr 19 02:32:17 2012
    WARNING:io_getevents timed out 600 sec
    Thu Apr 19 02:33:32 2012
    WARNING:io_getevents timed out 600 sec
    Thu Apr 19 02:35:56 2012
    Process 0x0xdfb80810 appears to be hung while dumping
    Current time = 1203097316, process death time = 1203032607 interval = 60000
    Attempting to kill process 0x0xdfb80810 with OS pid = 7563
    OSD kill succeeded for process 0xdfb80810
    Thu Apr 19 02:36:32 2012
    WARNING:io_getevents timed out 600 sec
    Thu Apr 19 02:38:11 2012
    Errors in file /apps/opt/oracle/admin/diag/rdbms/vchsit2/vchsit2/trace/vchsit2_smco_8548.trc (incident=76297):
    ORA-00445: background process "W000" did not start after 120 seconds
    Incident details in: /apps/opt/oracle/admin/diag/rdbms/vchsit2/vchsit2/incident/incdir_76297/vchsit2_smco_8548_i76297.trc
    Thu Apr 19 02:38:11 2012
    Errors in file /apps/opt/oracle/admin/diag/rdbms/vchsit2/vchsit2/trace/vchsit2_arc2_7523.trc (incident=76329):
    ORA-00494: enqueue [CF] held for too long (more than 900 seconds) by 'inst 1, osid 7315'
    Incident details in: /apps/opt/oracle/admin/diag/rdbms/vchsit2/vchsit2/incident/incdir_76329/vchsit2_arc2_7523_i76329.trc
    Thu Apr 19 02:38:11 2012
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 19-APR-2012 02:38:11
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    opiodr aborting process unknown ospid (2743) as a result of ORA-609
    Thu Apr 19 02:38:12 2012
    Trace dumping is performing id=[cdmp_20120419023812]
    Killing enqueue blocker (pid=7315) on resource CF-00000000-00000000 by (pid=7523)
    by killing session 6.1
    Killing enqueue blocker (pid=7315) on resource CF-00000000-00000000 by (pid=7523)
    by terminating the process
    ARC2 (ospid: 7523): terminating the instance due to error 2103
    Instance terminated by ARC2, pid = 7523
    Thu Apr 19 10:43:07 2012

    Hi;
    Please see:
    ORA-00445: Background Process "xxxx" Did Not Start After 120 Seconds [ID 1345364.1]
    Regard
    Helios

  • ORA-12500 and Memory limited

    This is list of environment
    - Oracle 8.1.7
    - OS is AIX
    - RAM = 2GB
    - 3 instances
    when user try to connect too much that will show ORA-12500 and I select this statement in a problem instance
    "select count(1) from v$session" the result estimate is 502.
    "select count(1) from v$process" the result estimate is 504
    and another instance 10 sessions and 20 sessions.
    This's folloing a part of parameters.
    bitmap_merge_area_size integer 1048576
    create_bitmap_area_size integer 8388608
    db_block_buffers integer 10000
    db_block_lru_latches integer 2
    db_block_max_dirty_target integer 10000
    db_block_size integer 8192
    distributed_transactions integer 243
    hash_area_size integer 16777216
    hash_multiblock_io_count integer 32
    java_pool_size string 20000K
    large_pool_size string 0
    processes integer 800
    sessions integer 885
    shared_pool_reserved_size string 15000000
    shared_pool_size string 300000000
    sort_area_retained_size integer 1048576
    sort_area_size integer 4194304
    sort_multiblock_read_count integer 32
    transactions integer 973
    transactions_per_rollback_segment integer 5
    How to modify or change some parameter for fix this problem?

    I think you need to give more description about problem.
    You might review the following Oracle Metalink Document:
    SQL*Net (oracle Networking) Common Errors & Diagnostic Worksheet: Doc ID: Note:45878.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5712140308577577466::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,45878.1,1,0,1,helvetica
    If possible also upgrade your database.
    Adith

  • ORA-32162: Read/Write SQL method not registered-for OTT

    I am trying this--
    env = Environment::createEnvironment (Environment::OBJECT);
    RegisterClasses(env);
    conn = env->createConnection (user, passwd, db);
    RegisterClasses is my mapping function; But still I am getting this error at--
    stmt->registerOutParam( 2,OCCIPOBJECT);
    I am trying to make a stored procedure call here...
    Can anyone tell me what is that I am missing?

    Hi,
    I am using OTT generated objects to pass them to my PL/SQL procedures as OUT parameters. When I call the registerOutParam() function, I get this error ORA-32162: Read/Write SQL method not registered.
    I am calling my mapping function after creating environment and before creating my stateless connection pool. But still I am getting this exception at runtime while calling registerOutParam().
    Environment* env;
    env = Environment::createEnvironment(Environment::OBJECT);
    MessageTOMapping(env); // Calling the mapping function here.
    // Creating the stateless connection pool.
    StatelessConnectionPool* scp;
    scp = env->createStatelessConnectionPool("naveen",
    "naveen",
    "//10.105.153.11:1521/pls",
    10,
    5,
    2,
    StatelessConnectionPool::HOMOGENEOUS);
    // Fetch a connection from the stateless connection pool
    conn = scp->getConnection();
    // After this, I create my Statement and call the registerOutParam() which
    // causes ORA-32162 exception.
    Please note that I do not get this error when I don't use any connection-pooling mechanism. That is, if I create an environment in OBJECT mode, call the mapping function with its pointer and create a normal Connection object (without any pooling etc), my application runs perfectly fine. E.g. if I replace the above piece of code with the code below, my application runs fine.
    Environment* env;
    env = Environment::createEnvironment(Environment::OBJECT);
    MessageTOMapping(env); // Calling the mapping function here.
    conn = env->createConnection("naveen", "naveen", "//10.105.153.11:1521/pls");
    // After this, I create my Statement and call the registerOutParam() which
    // does not give problem now and my application runs pefectly fine.
    Can anyone let me know what I am doing wrong while using the stateless connection pooling mechanism? I definitely need to use Stateless Connection Pooling and must not get connections directly from env->createConnection().
    Any help will be greatly appreciated.
    Thanks and Regards,
    Naveen

  • Oracle 10g ora 12560 and ora 12514 errors

    i am a new oracle user. and i have some problems
    i installed 10g then,
    when i was creating a database,
    i received an error messagge "ora-12560",
    therefore i cancelled creating database.
    i run sqlplus, i received error messagge again
    but this messagge differ from first one. it is "ora-12514"
    and i tested net manager my oranokta in tnsnames,
    same problem is continuesly
    and last thing i have a toshiba notebook with intel centrino 1.6
    and windows xp with sp2.
    i attached below my tnsnames, listener and sqlnet.ora files.
    listener.ora
    # listener.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = muttim)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    sqlnet.ora
    # sqlnet.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORA10 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = muttim)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = Ora10)
    ORANOKTA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = muttim)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OraNokta)
    thank you for help

    hi oradba
    i opened
    start=>run=>services.msc
    i didn't find "oracleservice<sid>"
    and
    i found dbca logfiles,
    i attached them
    cloneDBCreation.log
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0641: "EXECUTE" sunucu ba&#287;lant&#305;s&#305; gerektirir
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    CloneRmanRestore.log
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    lockAccount.log
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    postDBCreation.log
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0641: "EXECUTE" sunucu ba&#287;lant&#305;s&#305; gerektirir
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    postScripts.log
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    dropping default lexer preference...
    SP2-0640: Ba&#287;l&#305; de&#287;il
    dropping default wordlist preference...
    SP2-0640: Ba&#287;l&#305; de&#287;il
    dropping default stoplist preference...
    SP2-0640: Ba&#287;l&#305; de&#287;il
    dropping default policy...
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    lang_abbr de&#287;erini girin: SP2-0310: "D:\oracle\product\10.1.0\db_1\ctx\admin\defaults\drdefset.sql" dosyas&#305; aç&#305;lam&#305;yor
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0641: "EXECUTE" sunucu ba&#287;lant&#305;s&#305; gerektirir
    SP2-0640: Ba&#287;l&#305; de&#287;il
    rmanRestoreDatafiles.sql
    set echo off;
    set serveroutput on;
    select systimestamp from dual;
    variable devicename varchar2(255);
    declare
    omfname varchar2(512) := NULL;
    done boolean;
    begin
    dbms_output.put_line(' ');
    dbms_output.put_line(' Allocating device.... ');
    dbms_output.put_line(' Specifying datafiles... ');
    :devicename := dbms_backup_restore.deviceAllocate;
    dbms_output.put_line(' Specifing datafiles... ');
    dbms_backup_restore.restoreSetDataFile;
    dbms_backup_restore.restoreDataFileTo(4, 'D:\oracle\product\10.1.0\oradata\OraNoktaDB\USERS01.DBF', 0, 'USERS');
    dbms_backup_restore.restoreDataFileTo(3, 'D:\oracle\product\10.1.0\oradata\OraNoktaDB\SYSAUX01.DBF', 0, 'SYSAUX');
    dbms_backup_restore.restoreDataFileTo(2, 'D:\oracle\product\10.1.0\oradata\OraNoktaDB\UNDOTBS01.DBF', 0, 'UNDOTBS1');
    dbms_backup_restore.restoreDataFileTo(1, 'D:\oracle\product\10.1.0\oradata\OraNoktaDB\SYSTEM01.DBF', 0, 'SYSTEM');
    dbms_output.put_line(' Restoring ... ');
    dbms_backup_restore.restoreBackupPiece('D:\oracle\product\10.1.0\db_1\assistants\dbca\templates\Seed_Database.dfb', done);
    if done then
    dbms_output.put_line(' Restore done.');
    else
    dbms_output.put_line(' ORA-XXXX: Restore failed ');
    end if;
    dbms_backup_restore.deviceDeallocate;
    end;
    select systimestamp from dual;
    ultraSearchCfg.log
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ==============     Ultra Search Configuration ==============
    ============== argument list
    WKSYSPW=XXXXXXXX
    JDBC_CONNSTR=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=muttim)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=OraNokta)))
    LAUNCH_ANYWHERE=false
    CONN_STRING=
    OH=D:\oracle\product\10.1.0\db_1
    JDBCDRIVER_PATH=D:\oracle\product\10.1.0\db_1\jdbc\lib\classes12.zip
    JDBCNLS_PATH=D:\oracle\product\10.1.0\db_1\jdbc\lib\nls_charset12.zip
    JRE_HOME=D:\oracle\product\10.1.0\db_1\jdk\jre\
    JAVA_EXE_PATH=D:\oracle\product\10.1.0\db_1\jdk\bin\java.exe
    PSEP=;
    CTXHX=D:\oracle\product\10.1.0\db_1\bin\ctxhx.exe
    ==================
    ERROR:
    ORA-12560: TNS: Protokol ba&#287;da&#351;t&#305;r&#305;c&#305;s&#305; hatas&#305;
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ============== populating the WK$CRAWLER_CONFIG_DEFAULT table
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ============== load crawler classpath
    ...... setting the crawler classpath
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ============== updating crawler configuration
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0641: "EXECUTE" sunucu ba&#287;lant&#305;s&#305; gerektirir
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating lexer preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating wordlist preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating storage preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating stoplist
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating section group
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating zone sections
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating field sections
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating filter preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ...... creating datastore preference
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ... checking for invalid objects... see list below
    ================== list start
    SP2-0640: Ba&#287;l&#305; de&#287;il
    ================== list end
    ==============     End of Configuration ==============
    note : my operating system's language is turkish.

  • ORA-28500 and ORA-02063 while connecting MySQL from Oracle-

    Dear All,
    My Database is Oracle 11gR2 Rac of 2 nodes and on Linux 64-Bit operating system.
    Version of my MySQL database is 5.5.17 it is on Linux 32-Bit operating system.
    I am trying to connect MySQL database from Oracle database using a database link.
    These are the step by step process that I am following to achieve my target. All my processes are on one node of Oracle RAC.
    1)
    Yum install mysql-connector-odbc
    Yum install unixODBC
    2)
    Edit file /etc/odbc.ini
    [test]
    Driver = /usr/lib64/libmyodbc3.so
    Description = MySQL ODBC 3.51 Driver DSN
    SERVER = 10.0.0.1
    PORT = 3306
    USER = test
    Password = test
    Database = test
    OPTION = 3
    SOCKET =
    3)
    Edit file /etc/odbcinst.ini
    [MySQL]
    Description = ODBC for MySQL
    Driver = /usr/lib64/libmyodbc3.so
    Setup = /usr/lib64/libodbcmyS.so
    FileUsage = 1
    4) test connection
    isql –v test test test
    Returns:
    | Connected! |
    | |
    | sql-statement |
    | help [tablename] |
    | quit |
    | |
    SQL>
    5) Now I edit listener.ora file and add the entry. After entry my listener.ora file is like this:
    LISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = LISTENER))
    (ADDRESS = (PROTOCOL = TCP)(HOST=testnode1)(PORT = 1521))
    # line added by Agent
    LISTENER_SCAN1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = LISTENER_SCAN1))
    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (PROGRAM = dg4odbc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = test)
    (ENVS=LD_LIBRARY_PATH = /usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    6) After these entries the listener status after RESTART is as following:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 27-DEC-2011 01:19:32
    Uptime 0 days 9 hr. 31 min. 12 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/grid/diag/tnslsnr/racnode1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testnode1)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "test" has 1 instance(s).
    Instance "test", status UNKNOWN, has 1 handler(s) for this service...
    Service "testdb" has 1 instance(s).
    Instance "testdb1", status READY, has 1 handler(s) for this service...
    Service "racdbXDB" has 1 instance(s).
    Instance "testdb1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    7) Then in the tnsnames.ora file I added the following entry:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC1521)
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    test =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SID = test)
    (HS = OK)
    When i tnsping test, it works.
    8) I edit the .bash_profile file for Oracle
    ORACLE_HOME, ORACLE_BASE were already pointing to the correct destination, I added:
    LD_LIBRARY_PATH=/usr/local/lib:/u01/app/oracle/product/11.1.0/db_1/lib:/u01/app/oracle/product/11.2.0/dbhome_1/hs/lib:/usr/lib64:/usr/lib
    export LD_LIBRARY_PATH
    ODBCINI=/etc/odbc.ini
    export ODBCINI
    ODBCINSTINI=/etc/odbc.ini
    export ODBCINSTINI
    ODBCSYSINI=/etc
    export ODBCSYSINI
    9) Then i configured $ORACLE_HOME/hs/admin/inithsodbc.ora
    And Modified these lines:
    HS_FDS_CONNECT_INFO = test
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = odbc_test.log
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_FDS_SUPPORT_STATISCTICS = FALSE
    HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
    set ODBCINI = /etc/odbc.ini
    10) Then i created a database link with the following command:
    Create public database link test connect to test identified by test using ‘test’;
    I tried username and password in database link with double quotes also.
    11) Now Finally when I try to select records from mysql table:
    select count(*) from "table"@"test"; -- I have tried with and without double quotes
    I get the following error:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from TEST
    How to get through this error, and how to check logs for HS?
    Your help is required.
    Regards, Imran
    Edited by: misterimran on Dec 27, 2011 1:21 PM

    Hi,
    In your listener.ora for the DG4ODBC entry you had -
    (ENVS=LD_LIBRARY_PATH = /usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    but this should also include the path for the driver manager directory which in your case is /usr/lib64 so could you add this ?
    The error -
    Failed to load ODBC library symbol: /usr/lib64/libmyodbc3.so(SQLSetDescRec)
    indicates the /usr/lib64 directory cannot be accessed.
    The entry should then look like -
    (SID_DESC =
    <space>(PROGRAM = dg4odbc)
    <space>(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    <space>(SID_NAME = test)
    <space>(ENVS=LD_LIBRARY_PATH = /usr/local/lib:/usr/lib64:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    <space>)
    The spaces may have bene lost when posting but there should be at least one space in the file as indicated by the <space>.
    After making the change then stop and start the listener.
    If you still have problems then please post again the current versions of the configuration files, the full errors shown in SQLPLUS for a select and the output from a debug trace showing the errors.
    The information shows you are using the 3.51 MySQL ODBC driver so could you also try with the latest version of the 5.1 driver and see if you have the same problem ?
    Regards,
    Mike

  • ORA-04044 Error in SQL statement

    Hi All,
    I faced ORA-04044 in a SQL statement being written inside a shell script. I really don't know what is wrong with the script. Without shell variables is working ...
    Here is the excerpt:
    line=`sar -u 2 5 |tail -1`
    var_io=`echo "$line" | awk '{print $6}'`
    var_sys=`echo "$line" | awk '{print $5}'`
    var_user=`echo "$line" | awk '{print $3}'`
    var_idle=`echo "$line" | awk '{print $7}'`
    sqlplus $ora_access <<EOF
    select sysdate, a.hostid, a.inst_num, b.count1, c.count2, $var_user,$var_sys,$var_idle,$var_io
    from dual ,
    (select HOST_NAME hostid, INSTANCE_NUMBER inst_num from v$instance ) a,
    (select count(sid) count1 from v$session where username is not null) b,
    (select count(*) count2 from apps.fnd_concurrent_requests where phase_code ='R') c;
    EOF
    [b]Error Message:
    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Apr 10 02:20:53 2008
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> 2 3 4 5 (select count(sid) count1 from v where username is not null) b,
    ERROR at line 4:
    ORA-04044: procedure, function, package, or type is not allowed here

    Thanks a lot for instant reply. It worked!!
    I forgot to use the escape character, but the error
    message was not revealing anything :-(If you look carefully you could have spotted it:
    SQL> 2 3 4 5 (select count(sid) count1 from[b] v where username is not null) b,

  • ORA-06502 error on SQL tab

    I have just installed the latest version of SQL Developer (1.2.1.3213) and am running an Oracle 9i database (version 9.2.0.7).
    When I click on the SQL tab when looking at a table I get an ORA-06502 error and the DDL generated has "-- Unable to Render DDL with DBMS_METADATA using internal generator." at the top.
    I then get a whole host of other errors when using other parts of the program until I disconnect and reconnect.
    This error also occurs when I run the following query:
    select dbms_metadata.get_ddl('TABLE',table_name , user ) from user_tables;
    Any ideas?
    Incidentally prior to this release I had an early version 1 release of SQL Developer and the SQL tab here showed nothing at all.
    Any comments would be most appreciated.

    I am currently using v2.1.1.64, Build MAIN-64.45 and have the same or a similar problem. SQL developer will not generate the SQL code, but fails with the following error:
    ORA-06502: PL/SQL: numeric or value error
    LPX-00210: expected '<' instead of 'n'
    ORA-06512: at "SYS.UTL_XML", line 0
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3688
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4544
    ORA-06512: at "SYS.DBMS_METADATA", line 466
    ORA-06512: at "SYS.DBMS_METADATA", line 640
    ORA-06512: at "SYS.DBMS_METADATA", line 1260
    ORA-06512: at line 1
    This installation doesn't have the same directory structure as in the previous reply, so I can't run the catmeta.sql script which doesn't exist in this release.
    Mike

  • ORA-07445 and xdb

    hi all
    Following errors occured in alert.log on a linux system running oracle 10.2.0.1.0:
    "Sat Jun 14 22:42:42 2008
    Errors in file /opt/app/oracle/admin/wilson/udump/wilson_ora_11559.trc
    ORA-07445: exception encountered: core dump [kgghstfel()+15] [SIGSEGV] [Address not mapped to object] [0x14] [] []
    Sat Jun 14 22:49:30 2008
    Process 0x0x41a1c994 appears to be hung while dumping
    Current time = 1718649800, process death time = 1718587480 interval = 60000
    Attempting to kill process 0x0x41a1c994 with OS pid = 11360
    OSD kill succeeded for process 0x41a1c994
    Sat Jun 14 22:52:39 2008
    Process 0x0x41a1cf48 appears to be hung while dumping
    Current time = 1718668704, process death time = 1718606751 interval = 60000
    Attempting to kill process 0x0x41a1cf48 with OS pid = 11550
    OSD kill succeeded for process 0x41a1cf48
    Sat Jun 14 22:53:39 2008
    Process 0x0x41a1d4fc appears to be hung while dumping
    Current time = 1718674704, process death time = 1718609037 interval = 60000
    Attempting to kill process 0x0x41a1d4fc with OS pid = 11559
    OSD kill succeeded for process 0x41a1d4fc"
    In trace file
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [kgghstfel()+15] [SIGSEGV] [Address not mapped to object] [0x14] [] []
    Current SQL statement for this session:
    select count(*) from user$ u, xdb.xdb$schema s where u.user# = :1 and u.name = s.xmldata.schema_owner and (xdb.xdb$Extname2Intname(s.xmldata.schema_url, s.xmldata.schema_owner) = :2)
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x36271698 1 function XDB.XDB$EXTNAME2INTNAME
    0x3639aa08 1 anonymous block
    0x362721a0 17 package body SYS.XML_SCHEMA_NAME_PRESENT
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedst()+27 call ksedst1() 1 ? 1 ?
    ksedmp()+557 call ksedst() 1 ? B7452F80 ? B7452F80 ?
    B7452F86 ? B7452F70 ?
    B7452F80 ?
    ssexhd()+863 call ksedmp() 3 ? AC233D1 ? 6867676B ?
    65667473 ? 2B29286C ? 3531 ?
    kgghstfel()+15 signal 00000000 B ? B7454C8C ? B7454D0C ?
    qmtLookup()+52 call kgghstfel() 0 ? C278790 ?
    qmtAddRef()+25 call qmtLookup() CBD2CC0 ? C278790 ? C277650 ?
    2B ? 25 ? BFE8C3D0 ?
    qmeInitUGA()+68 call qmtAddRef() CBD2CC0 ? C278790 ? C277650 ?
    2B ? 2DE ? B6EB7060 ?
    qm_init_uga_helper( call qmeInitUGA() BFE8C3FC ? 2C ? 2C00 ?
    )+777 B729C550 ? CB84358 ?
    B7FAB017 ?
    qm_run_as_ksys()+18 call 00000000 BFE8C66C ? 535953 ? 0 ? 0 ?
    6 0 ? 0 ?
    qm_init_uga()+18 call qm_run_as_ksys() BFE8C66C ? 94F819C ?"
    Is there something wrong with the XDB?
    How to solve this problem.
    Thanks

    Generally ORA-07445 and ORA-0600 Errors are the internal errors, only Oracle Support can address to such errors when you submit the generated trace files and your alert log file to dig more in to this errors.
    Moreover, logon to metalink and search for the ORA-07445 and ORA-0600 error lookup with the first option in the error.
    Regards,
    Sabdar Syed.

Maybe you are looking for

  • PDF file is not opening in ipad mini,pdf file does not show any containts in file ,tried all options , please suggest solution

    Hi Friends i am not able to read some of the important  pdf from ipad mini,pdf is opening but not showing any containts,i tried all suggestion priviously given in discussion forum (reinstallation,formatting,system upgrade,mailing pdf document  ) can

  • Using Function module HR_INFOTYPE_OPERATION

    Hi folks,         I am using the FM HR_INFOTYPE_OPERATION, in my report. What values i need to pass for the import parameter RECORD. Without passing this parameter, its going to dump...Could any one suggest me how to pass this paramter..or if any sam

  • How to make restoration of corrupted excel 2007 file?

    Hi there,  When I open an excel file the following error message is displayed: "The file may be corrupted, located on a server that is not responding, or read only". Since this happened whenever I open any excel file, the above error message is again

  • RFC synchronous receiver

    Hi , I have a to call a Function Module and if it finishes successfully i have to send a mail to users intimating the same. The function module typically takes around 7 mins to finish because of the large number of transactions that have to be proces

  • Bug: renaming a file on desktop.

    When I click on a desktop icon to rename it, the text disappears.  I have to click the icon and then CMD-I if I want to see what I want to rename.  This started happening on with the first update to Lion -- 10.7.1 and got carried over in 10.7.2.