Error ORA-28009: connection as SYS should be as SYSDBA or SYSOPER

hi,
i try to connect to oracle in c#2005. I'm using oralce 10.2.0.3.0 in window vista.
i can connect as user scott , but can't do the same thing with use sys like sysdba. i encouter error :
"ORA-28009: connection as SYS should be as SYSDBA or SYSOPER"
this is my code :
using System;
using System.Data.SqlClient;
using System.Data.OleDb;
namespace ConsoleApplication2
class Program
static void Main(string[] args)
string connectionString = "provider=MSDAORA;data source=ORCL;user id=sys;password=orcl";
OleDbConnection myOleDbConnection = new OleDbConnection(connectionString);
try
myOleDbConnection.Open();
Console.WriteLine("successfull");
Console.ReadLine();
catch (Exception ex)
Console.WriteLine(ex.Message);
Console.Read();
i
i have google about this error and see that some people use Oracle.DataAccess.Client namespace to solve this error. but i cant find this namespace reference.
i want to connect to oracle in c# 2005 as user id = sys.
so , please help me.
thanks

it should be there regardless of the version you installed, go into your GAC and give it a look over (C:\Windows\assembly) the Oracle.** should be there after a successful installation. It is actually in your best interest to get the latest and greatest, the versions are backward compatible (I believe they all work to 9i++)
You can also goto
%ora_home%\odp.net
it will have sample c# and vb applications there
(%ora_home% tends to be c:\oracle\product\#####\Client_1\)
Have a look over the odp.net demos, that may very well put you on the correct track to getting things working.

Similar Messages

  • ORA-28009: connection as SYS should be as SYSDBA or SYSOPER

    Porque este erro acontece?
    Acontece porque o parâmetro O7_DICTIONARY_ACCESSIBILITY está configurado como FALSE.
    Agora vamos ao que interessa, como resolver:
    Conecte-se como SYSDBA
    SQL> conn / as sysdba
    Connected
    Agora vamos configurar aquele parâmetro para TRUE
    SQL> ALTER SYSTEM SET O7_DICTIONARY_ACCESSIBILITY=TRUE scope=spfile;
    System altered.
    Agora você pode fechar o DB e abrir novamente, e logar-se como SYS ( SQL> connect sys/passwd@sv ).

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:940042518290
    "My recommendation would be to leave the the O7_DICTIONARY_ACCESSIBILITY set to false and
    change scripts that connect as SYS to connect as some other user. Using the SYS account
    should be avoided in any case -- you should never use it to create objects, cannot use it
    to create triggers and some commands (for example "set transaction read only") don't even
    work when connected as SYS.
    Consider SYS to be a special account that you never need to use anymore."

  • Error Ora-3134, connection to Oracle 9.2.0.6

    Hi,
    I want to create connection from Windows 2008 server 64 bit to Oracle database version 9.2.0.6.
    I have installed "Oracle 11g Release 2 ODAC 11.2.0.1.2 with Oracle Developer Tools for Visual Studio" where in installation instruction I have found following requirement:
    "Access to an Oracle Database Server (Oracle 9i Release 2 or later)".
    After that I create simple .net application using Oracle.DataAccess.dll version 2.112.1.2. But while connecting I have error Ora-3134 Connections to this server version are no longer supported.. Do you know why I have this error?
    Thanks for any help
    Mark

    Hi,
    You should not get that error with 11.2 client and ODP and a 9.2.0.6.0 database as they are supported. The 9.2 end must be 9.2.0.4.0 or higher which you seem to have.
    Do you get the same error running SQL PLUS from the same 11.2.0.1.2 home and connecting to the same database?
    Are you verified by some other means like client side SQL NET tracing that you are indeed connection to the a 9.2.0.6.0 DB and not some lesser version?
    HTH
    Jenny B.

  • Starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact

    Hi Guys!
    Thanks for your advises. I still working toward a resolution.
    But I encountered another issue from Enterp Manager :
    ERROR : Please correct the following error: Connection string must be specified.
    My connection has this format:
    //using connection string attributes to connect to Oracle Database
      con.ConnectionString = "User Id=scott;Password=tiger;Data Source=oracle";
      con.Open();
      Console.WriteLine("Connected to Oracle" + con.ServerVersion);
    Please tell me what is wrong here. Thanks. Dan.
    Hi all !
    I need help please for resolving the following :
    Problem:
    Im having frequent disconnection after abnormal shutdown due to power failure.
    starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
    Im on Laptop running Linux Centos 6.3 Host.
    and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
    When attempting login from the Oracle Enterprise Manager Database Control
    I got  Error: "Your username and/or password are invalid."
    The alert.log is at the bottom
    [test@localhost ~]$ xhost +
    access control disabled, clients can connect from any host
    [test@localhost ~]$
    [test@localhost ~]$ su - root
    Password:
    [root@localhost ~]#
    [root@localhost ~]# su - oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ export ORACLE_SID=db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/app/oracle/product/11.2.0/db_1
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_BASE
    /u01/app/oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_SID
    db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                04-DEC-2013 12:23:08
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "db11gr2" has 1 instance(s).
      Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost ~]$
    [oracle@localhost ~]$ emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
    https://localhost.localdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............... started.
    Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL>
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    ORA-00600: internal error code, arguments: [4194], [: no
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL>
    ERROR at line 1:
    ORA-03135: connection lost contact
    Process ID: 8973
    Session ID: 1 Serial number: 5
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> select STATUS, DATABASE_STATUS from v$instance;
    STATUS       DATABASE_STATUS
    OPEN         ACTIVE
    SQL>
    SQL> SELECT * FROM v$instance;
    ERROR:
    ORA-03114: not connected to ORACLE
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> SELECT * FROM v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION           STARTUP_T STATUS       PAR    THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS     SHU DATABASE_STATUS   INSTANCE_ROLE      ACTIVE_ST BLO
                  1 db11gr2
    localhost.localdomain
    11.2.0.1.0        04-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL>
    alert log file
    [oracle@localhost ~]$
    [oracle@localhost ~]$ adrci
    ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    ADR base = "/u01/app/oracle"
    adrci> set editor emacs
    adrci> show alert
    Choose the alert log from the following homes to view:
    1: diag/rdbms/unknown/DB11G
    2: diag/rdbms/db11gr2/db11gr2
    3: diag/tnslsnr/localhost/listener
    Q: to quit
    Please select option: 2
    *** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0x1d42dd]
    /lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
    /lib/ld-linux.so.2[0x331f8a]
    /lib/ld-linux.so.2[0x33215a]
    /lib/ld-linux.so.2[0x32e3ce]
    /lib/libc.so.6[0x272550]
    /lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
    /lib/libdl.so.2[0x110e08]
    /lib/ld-linux.so.2[0x331e66]
    /lib/libdl.so.2[0x1112cc]
    /lib/libdl.so.2(dlsym+0x63)[0x110d93]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
    [0x3bb440]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
    adrci[0x8048c5b]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
    adrci[0x8048aa5]
    /lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
    adrci[0x8048811]
    ======= Memory map: ========
    00110000-00112000 r-xp 00000000 08:03 5925240    /lib/libdl-2.5.so
    00112000-00113000 r-xp 00001000 08:03 5925240    /lib/libdl-2.5.so
    00113000-00114000 rwxp 00002000 08:03 5925240    /lib/libdl-2.5.so
    00114000-00139000 r-xp 00000000 08:03 5925284    /lib/libm-2.5.so
    00139000-0013a000 r-xp 00024000 08:03 5925284    /lib/libm-2.5.so
    0013a000-0013b000 rwxp 00025000 08:03 5925284    /lib/libm-2.5.so
    0013b000-0014f000 r-xp 00000000 08:03 5925246    /lib/libpthread-2.5.so
    0014f000-00150000 r-xp 00013000 08:03 5925246    /lib/libpthread-2.5.so
    00150000-00151000 rwxp 00014000 08:03 5925246    /lib/libpthread-2.5.so
    00151000-00153000 rwxp 00151000 00:00 0
    00153000-00166000 r-xp 00000000 08:03 5925301    /lib/libnsl-2.5.so
    00166000-00167000 r-xp 00012000 08:03 5925301    /lib/libnsl-2.5.so
    00167000-00168000 rwxp 00013000 08:03 5925301    /lib/libnsl-2.5.so
    00168000-0016a000 rwxp 00168000 00:00 0
    0016a000-002a9000 r-xp 00000000 08:03 5925233    /lib/libc-2.5.so
    002a9000-002aa000 --xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002aa000-002ac000 r-xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002ac000-002ad000 rwxp 00141000 08:03 5925233    /lib/libc-2.5.so
    002ad000-002b0000 rwxp 002ad000 00:00 0
    002b0000-002b1000 r-xp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b1000-002b2000 rwxp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b2000-002bb000 r-xp 00000000 08:03 5925256    /lib/libnss_files-2.5.so
    002bb000-002bc000 r-xp 00008000 08:03 5925256    /lib/libnss_files-2.5.so
    002bc000-002bd000 rwxp 00009000 08:03 5925256    /lib/libnss_files-2.5.so
    002bd000-002c8000 r-xp 00000000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    002c8000-002c9000 rwxp 0000a000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    00324000-0033e000 r-xp 00000000 08:03 5925219    /lib/ld-2.5.so
    0033e000-0033f000 r-xp 00019000 08:03 5925219    /lib/ld-2.5.so
    0033f000-00340000 rwxp 0001a000 08:03 5925219    /lib/ld-2.5.so
    003bb000-003bc000 r-xp 003bb000 00:00 0          [vdso]
    003bc000-01fc3000 r-xp 00000000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    01fc3000-020a7000 rwxp 01c07000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    020a7000-020c1000 rwxp 020a7000 00:00 0
    025b1000-027ce000 r-xp 00000000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027ce000-027fc000 rwxp 0021d000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027fc000-027fe000 rwxp 027fc000 00:00 0
    08048000-08049000 r-xp 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    08049000-0804a000 rw-p 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    09d62000-09e0d000 rw-p 09d62000 00:00 0          [heap]
    b7e00000-b7e21000 rw-p b7e00000 00:00 0
    b7e21000-b7f00000 ---p b7e21000 00:00 0
    b7f68000-b7f90000 rw-p b7f68000 00:00 0
    bfc54000-bfc6d000 rwxp bffe5000 00:00 0          [stack]
    bfc6d000-bfc6e000 rw-p bfffe000 00:00 0
    starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
    Im on Laptop running Linux Centos 6.3 Host.
    and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
    Im having frequent disconnection after abnormal shutdown due to power failure.
    When attempting login from the Oracle Enterprise Manager Database Control
    I got  Error: "Your username and/or password are invalid."
    [test@localhost ~]$ xhost +
    access control disabled, clients can connect from any host
    [test@localhost ~]$
    [test@localhost ~]$ su - root
    Password:
    [root@localhost ~]#
    [root@localhost ~]# su - oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ export ORACLE_SID=db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/app/oracle/product/11.2.0/db_1
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_BASE
    /u01/app/oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_SID
    db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                04-DEC-2013 12:23:08
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "db11gr2" has 1 instance(s).
      Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost ~]$
    [oracle@localhost ~]$ emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
    https://localhost.localdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............... started.
    Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL>
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    ORA-00600: internal error code, arguments: [4194], [: no
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL>
    ERROR at line 1:
    ORA-03135: connection lost contact
    Process ID: 8973
    Session ID: 1 Serial number: 5
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> select STATUS, DATABASE_STATUS from v$instance;
    STATUS       DATABASE_STATUS
    OPEN         ACTIVE
    SQL>
    SQL> SELECT * FROM v$instance;
    ERROR:
    ORA-03114: not connected to ORACLE
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> SELECT * FROM v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION           STARTUP_T STATUS       PAR    THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS     SHU DATABASE_STATUS   INSTANCE_ROLE      ACTIVE_ST BLO
                  1 db11gr2
    localhost.localdomain
    11.2.0.1.0        04-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL>
    alert log file
    [oracle@localhost ~]$
    [oracle@localhost ~]$ adrci
    ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    ADR base = "/u01/app/oracle"
    adrci> set editor emacs
    adrci> show alert
    Choose the alert log from the following homes to view:
    1: diag/rdbms/unknown/DB11G
    2: diag/rdbms/db11gr2/db11gr2
    3: diag/tnslsnr/localhost/listener
    Q: to quit
    Please select option: 2
    *** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0x1d42dd]
    /lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
    /lib/ld-linux.so.2[0x331f8a]
    /lib/ld-linux.so.2[0x33215a]
    /lib/ld-linux.so.2[0x32e3ce]
    /lib/libc.so.6[0x272550]
    /lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
    /lib/libdl.so.2[0x110e08]
    /lib/ld-linux.so.2[0x331e66]
    /lib/libdl.so.2[0x1112cc]
    /lib/libdl.so.2(dlsym+0x63)[0x110d93]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
    [0x3bb440]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
    adrci[0x8048c5b]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
    adrci[0x8048aa5]
    /lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
    adrci[0x8048811]
    ======= Memory map: ========
    00110000-00112000 r-xp 00000000 08:03 5925240    /lib/libdl-2.5.so
    00112000-00113000 r-xp 00001000 08:03 5925240    /lib/libdl-2.5.so
    00113000-00114000 rwxp 00002000 08:03 5925240    /lib/libdl-2.5.so
    00114000-00139000 r-xp 00000000 08:03 5925284    /lib/libm-2.5.so
    00139000-0013a000 r-xp 00024000 08:03 5925284    /lib/libm-2.5.so
    0013a000-0013b000 rwxp 00025000 08:03 5925284    /lib/libm-2.5.so
    0013b000-0014f000 r-xp 00000000 08:03 5925246    /lib/libpthread-2.5.so
    0014f000-00150000 r-xp 00013000 08:03 5925246    /lib/libpthread-2.5.so
    00150000-00151000 rwxp 00014000 08:03 5925246    /lib/libpthread-2.5.so
    00151000-00153000 rwxp 00151000 00:00 0
    00153000-00166000 r-xp 00000000 08:03 5925301    /lib/libnsl-2.5.so
    00166000-00167000 r-xp 00012000 08:03 5925301    /lib/libnsl-2.5.so
    00167000-00168000 rwxp 00013000 08:03 5925301    /lib/libnsl-2.5.so
    00168000-0016a000 rwxp 00168000 00:00 0
    0016a000-002a9000 r-xp 00000000 08:03 5925233    /lib/libc-2.5.so
    002a9000-002aa000 --xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002aa000-002ac000 r-xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002ac000-002ad000 rwxp 00141000 08:03 5925233    /lib/libc-2.5.so
    002ad000-002b0000 rwxp 002ad000 00:00 0
    002b0000-002b1000 r-xp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b1000-002b2000 rwxp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b2000-002bb000 r-xp 00000000 08:03 5925256    /lib/libnss_files-2.5.so
    002bb000-002bc000 r-xp 00008000 08:03 5925256    /lib/libnss_files-2.5.so
    002bc000-002bd000 rwxp 00009000 08:03 5925256    /lib/libnss_files-2.5.so
    002bd000-002c8000 r-xp 00000000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    002c8000-002c9000 rwxp 0000a000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    00324000-0033e000 r-xp 00000000 08:03 5925219    /lib/ld-2.5.so
    0033e000-0033f000 r-xp 00019000 08:03 5925219    /lib/ld-2.5.so
    0033f000-00340000 rwxp 0001a000 08:03 5925219    /lib/ld-2.5.so
    003bb000-003bc000 r-xp 003bb000 00:00 0          [vdso]
    003bc000-01fc3000 r-xp 00000000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    01fc3000-020a7000 rwxp 01c07000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    020a7000-020c1000 rwxp 020a7000 00:00 0
    025b1000-027ce000 r-xp 00000000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027ce000-027fc000 rwxp 0021d000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027fc000-027fe000 rwxp 027fc000 00:00 0
    08048000-08049000 r-xp 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    08049000-0804a000 rw-p 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    09d62000-09e0d000 rw-p 09d62000 00:00 0          [heap]
    b7e00000-b7e21000 rw-p b7e00000 00:00 0
    b7e21000-b7f00000 ---p b7e21000 00:00 0
    b7f68000-b7f90000 rw-p b7f68000 00:00 0
    bfc54000-bfc6d000 rwxp bffe5000 00:00 0          [stack]
    bfc6d000-bfc6e000 rw-p bfffe000 00:00 0

    Hi,
    Please check Oracle support id : Troubleshooting ORA-3135 Connection Lost Contact (Doc ID 787354.1)

  • Drop DB control, error: Could not connect to SYS, ORA-12541

    Hi All,
    I am new to Oracle. I am struggling to solve this problem for 2 days, but still couldn't get it done. I post my problem here and wish every guru in this forum to offer some help. Any suggestions are greatly appreciated.
    I have Oracle 10.2.0.3.0 installed on GNU/Linux. There are several instances there. The database, listener, sql/plus all work fine. Yesterday, I installed 10g database control on server. The information showed that dbconsole created successfuly. However, I use the produced url (http:// xxx(hostname):1158/em)in my local machine (Win XP) to connect the databse, and the webpage opened. The information showed that EM couldn't be connected to database, and the status of Listener is unavailable, the inforamtion for agent connect.. is: ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    I googled lots of posts both in this forum and internet and tried to make some changes, but the things get worse. It still didn't work. Even i failed to drop the DB control with the command of emca -config dbcontrol db -repos recreate. the error log information in cfgtoollogs/emca is:
    Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=svv.X.XXX.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ORCL3))): ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach).
    I understand it's the problem related to listener, but i have no idea how to verify it. I put the tns.ora and listener.ora here.
    tnsnames.ora:
    xxxxx
    ORCL3 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.149.210)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ORCL3)
    listener.ora
    LISTENER =
    (ADDRESS_LIST=
         (ADDRESS=(PROTOCOL=tcp)(HOST=10.3.149.210)(PORT=1521)))
    SID_LIST_LISTENER=
    (SID_DESC=
    (GLOBAL_DBNAME=ORCL2)
    (SID_NAME=ORCL2)
    (ORACLE_HOME=/opt/app/oracle/product/10.2)
    (SID_DESC=
    (GLOBAL_DBNAME=ORCL3)
    (SID_NAME=ORCL3)
    (ORACLE_HOME=/opt/app/oracle/product/10.2)
    The above is the problem description, any suggestion and help are greatly appreciated.
    Thanks,
    Kind regards,
    Ian

    I use the "emca -config dbcontrol db" to config the DB control, but failed. The following is the log information:
    This forum doesn't support attch the file. I paste the log file here.
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: TZ set to GMT
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://svv-node2-pub.swlab.net:1158/em/console/aboutApplication
    Stopping Oracle Enterprise Manager 10g Database Control ...
    ... Stopped.
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface isInView
    CONFIG: IN_VIEW marker not instantiated in /opt/app/oracle/product/10.2/sysman/config/emca.properties
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface getEnvProps
    CONFIG: Returning env array from cache
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [CLASSPATH=/opt/app/oracle/product/10.2/jlib/emca.jar:/opt/app/oracle/product/10.2/jlib/srvm.jar:/opt/app/oracle/product/10.2/jlib/srvmasm.jar:/opt/app/oracle/product/10.2/jlib/emConfigInstall.jar:/opt/app/oracle/product/10.2/jlib/ldapjclnt10.jar:/opt/app/oracle/product/10.2/jlib/ldap.jar:/opt/app/oracle/product/10.2/jlib/share.jar:/opt/app/oracle/product/10.2/jlib/srvmhas.jar:/opt/app/oracle/product/10.2/jlib/netcfg.jar:/opt/app/oracle/product/10.2/lib/xmlparserv2.jar:/opt/app/oracle/product/10.2/assistants/jlib/assistantsCommon.jar:/opt/app/oracle/product/10.2/sysman/jlib/emCORE.jar:/opt/app/oracle/product/10.2/oui/jlib/OraInstaller.jar:/opt/app/oracle/product/10.2/oui/jlib/OraPrereq.jar:/opt/app/oracle/product/10.2/inventory/prereqs/oui/OraPrereqChecks.jar:/opt/app/oracle/product/10.2/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/opt/app/oracle/product/10.2/lib32:/opt/app/oracle/product/10.2/lib:/opt/app/oracle/product/10.2/perl/lib, EMDROOT=/opt/app/oracle/product/10.2, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=svv-node2-pub.swlab.net, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/opt/app/oracle/product/10.2/lib32:/opt/app/oracle/product/10.2/lib:/opt/app/oracle/product/10.2/perl/lib:null, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/opt/app/oracle/product/10.2/lib32:/opt/app/oracle/product/10.2/lib:/opt/app/oracle/product/10.2/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/oracle, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, NLS_LANG=AMERICAN_AMERICA.AL32UTF8, ORACLE_BASE=/opt/app/oracle, ORACLE_HOME=/opt/app/oracle/product/10.2, ORACLE_SID=ORCL3, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/bin:/opt/app/oracle/product/10.2/bin, PERL5LIB=/opt/app/oracle/product/10.2/perl/lib:/opt/app/oracle/product/10.2/perl/lib/site_perl:/opt/app/oracle/product/10.2/sysman/admin/scripts:/opt/app/oracle/product/10.2/bin:, PWD=/opt/app/oracle/product/10.2/bin, QTDIR=/usr/lib/qt-3.3, SHELL=/bin/bash, SHLIB_PATH=/opt/app/oracle/product/10.2/lib32:/opt/app/oracle/product/10.2/lib:/opt/app/oracle/product/10.2/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, SSH_CLIENT=::ffff:10.3.22.61 4146 22, SSH_CONNECTION=::ffff:10.3.22.61 4146 ::ffff:10.3.149.210 22, SSH_TTY=/dev/pts/4, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/opt/app/oracle/product/10.2/jdk/jre/bin/java]
    Feb 12, 2009 4:39:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /opt/app/oracle/product/10.2/perl/bin/perl /opt/app/oracle/product/10.2/sysman/admin/scripts/db/sgastop.pl stop ORCL3 svv-node2-pub.swlab.net 1521 /opt/app/oracle/product/10.2
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /opt/app/oracle/product/10.2/perl/bin/perl /opt/app/oracle/product/10.2/sysman/admin/scripts/db/sgastop.pl stop ORCL3 svv-node2-pub.swlab.net 1521 /opt/app/oracle/product/10.2 completed successfully
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: nmccollector process does not exist
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.DBControlUtil stopNmccollector
    CONFIG: Successfully stopped nmc-collector process
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: ORCL3, oracleHome: /opt/app/oracle/product/10.2, and user: SYS
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig grantPrivsToDbsnmp
    CONFIG: Exception while granting priviliges.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-00942: table or view does not exist
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1708)
         at oracle.sysman.emcp.EMReposConfig.grantPrivsToDbsnmp(EMReposConfig.java:538)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:217)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Failed to grant priviliges to dbsnmp.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter EMAIL_ADDRESS.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: ORCL3, oracleHome: /opt/app/oracle/product/10.2, and user: SYS
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking mgmt view user account
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil /opt/app/oracle/product/10.2/perl/lib:/opt/app/oracle/product/10.2/perl/lib/site_perl:/opt/app/oracle/product/10.2/sysman/admin/scripts:/opt/app/oracle/product/10.2/bin: /opt/app/oracle/product/10.2/perl/bin/perl /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil.pl /opt/app/oracle/product/10.2 ORCL3 SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of -1
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Arguments passed /opt/app/oracle/product/10.2 ORCL3 SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Connecting to database ORCL3 in home /opt/app/oracle/product/10.2 with user "SYS" role "SYSDBA".
    connected to database.
    sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    noOfParams to bind: 1.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Couldn't execute statement: ORA-06550: line 1, column 144:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 144:
    PL/SQL: Statement ignored
    ORA-06550: line 1, column 470:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 470:
    PL/SQL: Statement ignored
    ORA-06550: line 1, column 527:
    PLS-00201: identifier 'SYSMAN.MGMT_VIEW_PRIV' must be declared
    ORA-06550: line 1, column 527:
    PL/SQL: Statement ignored (DBD ERROR: error possibly near <*> indicator at char 143 in 'declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := :p1; <*>sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;') at /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil.pl line 108, <STDIN> line 2.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Error executing /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil /opt/app/oracle/product/10.2/perl/lib:/opt/app/oracle/product/10.2/perl/lib/site_perl:/opt/app/oracle/product/10.2/sysman/admin/scripts:/opt/app/oracle/product/10.2/bin: /opt/app/oracle/product/10.2/perl/bin/perl /opt/app/oracle/product/10.2/sysman/admin/scripts/emca/emcaDbUtil.pl /opt/app/oracle/product/10.2 ORCL3 SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Failed to unlock mgmt_view account
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /opt/app/oracle/product/10.2/cfgtoollogs/emca/ORCL3/emca_2009-02-12_04-38-34-PM.log for more details.
    Feb 12, 2009 4:39:19 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:253)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)
    Edited by: Ian123 on Feb 12, 2009 2:08 PM

  • Error ORA-28528 connecting to a MSSQL 2000 DB using 11g

    Hello all,
    we have managed to build a database link from 11g (verison 11.1.0.6.0 plus bugfix 7389110 and "linux.x64_11gR1_gateways) to to a MSSQL 2000 database (Characterset is ISO 8859 Latin1 they told me).
    When we try to select columns we get sometimes the error ORA-28528. If the error occurs or not seems to depend on the type of data and if we select one cell (column) or more. I try to explain this. Please forgive me because of my English.
    *Configuration*
    We use freetds and uinixodb (unixODBC-2.2.11) to connect t to the MSSQL-DB. All software is installed on Centos 5.1 (Linux 64bit).
    _TDS: /etc/freetds.conf_
    # SQL-Server
    [combandb]
         host = 212.xxx.xxx.5
    #     port = 1521
         port = 1433
         tds version = 8.0
         client charset = ISO-8859-1
    _ODBC: /etc/odbcinst:_
    FreeTDS]
    Description = v0.64-1
    Driver = /usr/lib64/libtdsodbc.so.0
    Setup = /usr/lib64/libtdsodbc.so.0
    FileUsage = 1
    Trace = Yes
    TraceFile = /tmp/sql.log
    _ODBC: /etc/odbcini:_
    [ODBC Data Sources]
    combandb = SQL-Connect
    [combandb]
    Driver = FreeTDS
    Description = DB-Link (MSSQL)
    Trace = Yes
    Database = netzdb
    TraceFile = /tmp/sql.log
    Servername = combandb
    Port = 1433
    We checked the TDS, ODBC config with isql and it works.
    _ORACLE Gateway: ORACLE_HOME/hs/admin/initcombandb.ora_
    HS init parameters
    HS_FDS_CONNECT_INFO=combandb
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    HS_FDS_TRACE_LEVEL=16
    HS_FDS_TRACE_FILE=/tmp/dg4odbc.trc
    HS_FDS_SUPPORT_STATISTICS=FALSE
    # without HS_FDS_SUPPORT_STATISTICS=FALSE we get the erro "Invalid cursor state" from freetds
    HS_LANGUAGE=GERMAN_GERMANY.WE8ISO8859P1
    #HS_LANGUAGE=AMERICAN_AMERICA.AL32UTF8
    #HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    #HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
    #HS_LANGUAGE=GERMAN_GERMANY.WE8MSWIN1252
    #HS_NLS_NCHAR=utf8
    #HS_NLS_NCHAR=WE8ISO8859P1
    HS_OPEN_CURSORS=1
    #HS_RPC_FETCH_REBLOCKING=OFF
    #HS_DESCRIBE_CACHE_HWM=4000
    #HS_FDS_REPORT_REAL_AS_DOUBLE=TRUE
    #DRDA_CACHE_TABLE_DESC=FALSE
    # ODBC specific environment variables
    #set ODBCINI=<full path name of the odbc initilization file>
    set ODBCINI=/etc/odbc.ini
    _LISTENER: ORACLE_HOME/network/admin/listener.ora_
    # listener.ora Network Configuration File: /opt/app/oracle/product/11.1.0/slm_hot2/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)     (PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.xxx.xxx.xx)     (PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 84.xxx.1xxx.xxx)(PORT = 1521))
    # MSSQL Server 2000
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=combandb)
    (ORACLE_HOME=/opt/app/oracle/product/11.1.0/slm_hot2)
    (PROGRAM=dg4odbc)
         (ENVS=LD_LIBRARY_PATH=/usr/lib64:/opt/app/oracle/product/11.1.0/slm_hot2/lib)
    _TNSNAMES: ORACLE_HOME/network/admin//tnsnames.ora_
    # tnsnames.ora Network Configuration File: /opt/app/oracle/product/11.1.0/slm_hot2/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    combandb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID=combandb))
    (HS = OK)
    _DB-Link_
    SQL> create public database link combandb connect to "user" identified by "PW" using 'combandb';
    Database link created.
    _NLS-Settings_
    $NLS_LANG--> GERMAN_GERMANY.WE8ISO8859P1
    SQL> select userenv ('language') from dual; --> GERMAN_GERMANY.WE8ISO8859P1
    SQL> SELECT * from NLS_SESSION_PARAMETERS;
    NLS_LANGUAGE: GERMAN
    NLS_TERRITORY:GERMANY
    NLS_CURRENCY: ¿
    NLS_ISO_CURRENCY: GERMANY
    NLS_NUMERIC_CHARACTERS ,.
    NLS_CALENDAR : GREGORIAN
    NLS_DATE_FORMAT: DD.MM.RR
    NLS_DATE_LANGUAGE: GERMAN
    NLS_SORT: GERMAN
    NLS_TIME_FORMAT: HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT: DD.MM.RR HH24:MI:SSXFF
    NLS_TIME_TZ_FORMAT: HH24:MI:SSXFF TZR
    NLS_TIMESTAMP_TZ_FORMAT: DD.MM.RR HH24:MI:SSXFF TZR
    NLS_DUAL_CURRENCY: ¿
    NLS_COMP: BINARY
    NLS_LENGTH_SEMANTICS : BYTE
    NLS_NCHAR_CONV_EXCP : FALSE
    *Error-Description*
    We want to read from the table X_LT. The datatypes are (form HS-log)
    DTY -- NULL-OK -- LEN -- MAXBUFLEN -- PR/SC -- CST -- IND -- MOD -- NAME
    4 INTEGER -- N-- 4-- 4 -- 0/ 0 -- 0 -- 0 -- 0 -- ID
    12 VARCHAR-- Y-- 15 -- 15-- 0/ 0 -- 0 -- 0 -- 0 -- State
    8 DOUBLE - Y -- 8-- 8-- 53/ 0 -- 0 -- 0 -- 0-- costs
    91-- DATE-- Y-- 16-- 16 -- 0/ 0 -- 0 -- 0 -- 0 target_date
    Tests with isql (unix-based) worked all well. There are no conversion problems or problems with NULL-values.
    Now we test with sqplplus:
    _1. Test with integer-only_
    SQL> select ID from x_lt@combandb where id = 12315; --> 12315 --> OK
    SQL> select ID from x_lt@combandb where id = 12315 or id = 12316;
    ERROR:
    ORA-28528: Fehler bei Konvertierung von Heterogeneous Services-Datentyp
    ORA-02063: vorherige line von COMBANDB
    _2. Test with varchar only_
    SQL> select "State" from x_ltg_pecos@combandb where id = 12315 --> Kldger
    SQL> select "State" from x_ltg_pecos@combandb --> result is a list (2490 columns)
    The lists ends the ORA-Errors (above). The valus in the lists are not all correct. Some names are cut others do have additional letters ... strange . For example in stead of "Frankfurt" is see "Frankf" or in another row the value should be "Frankfurt" but I see "Frankfurt I"
    _Test with double and dates are OK_
    I got a sql.log, a listerner log and a hs-trace but no idea how to proceed.
    Please, can anybody help me?
    Thanks Michael

    Please check file permissions on $ORACLE_HOME/bin/oracle executable and read carefully Configure Oracle binary permissions.

  • Looking at dependencies for a table gets Error ORA-01436: CONNECT BY loop

    I have just tried looking at the dependencies for a table and I received an "ORA-01436: CONNECT BY loop in user data.
    Please let me know if there are any fixes or work arounds for this problem.
    Thanks
    Sunil

    Looks like there is another posting on this.
    ORA-01436 in Dependencies
    Because the query uses CONNECT BY and there is a circular reference it errors out. If it didn't, there would be an infinite number of results.
    This is the query that Oracle is using: SELECT owner, object_type, object_name, object_id, status , decode(replace(object_type,' ','_'),'PACKAGE_BODY','PACKAGE',replace(object_type,' ','_')) type_link
      FROM sys.all_objects
      WHERE object_id IN (
              SELECT object_id
                 FROM public_dependency
               CONNECT BY PRIOR object_id = referenced_object_id
               START WITH referenced_object_id = :OBJECT_ID ) pulled from sql_dev_root/jdev/extensions/oracle.dbdev.oviewer.jar, editors.xml
    I am not a connect by pro, so I can't tell you how to alter this to make it stop digging when it encounters an infinite loop, but maybe someone else can. In other tools, it normally dynamically pulls this data into a tree so it is only querying one level at a time.
    This happens if for example MY_TABLE depends upon MY_PACKAGE and vice versa:
    --MY_TABLE
      --MY_PACKAGE
        --MY_TABLE
          --MY_PACKAGE
            .... Hopefully someone on the sql dev team has a solution to this and can get it fixed in a later release.

  • Error: ORA-01436: CONNECT BY loop in user data.... with EnableVersioning

    Hi everyone,
    i'm having some troubles when i execute DBMS_WM.EnableVersioning() procedure for all of the tables from my database.
    This is the sql line....
    EXEC DBMS_WM.EnableVersioning('SAN.SAN_AMPLIAC_ANULAC, SAN.SAN_ANALISISCALIDAD, SAN.SAN_ANALISISCALIDAD_LTS, SAN.SAN_ANALISISCALITEM, SAN.SAN_ANALISISCAMARA, SAN.SAN_APLICACION, SAN.SAN_APLICACION_ORDEN, SAN.SAN_APLI_ORD_ITEM', 'VIEW_WO_OVERWRITE');
    And the error is:
    ORA-01436: CONNECT BY loop in user data
    ORA-06512: at "SYS.LTDDL", line 1464
    ORA-06512: at "SYS.LTDDL", line 1289
    ORA-06512: at "SYS.LT", line 796
    ORA-06512: at "SYS.LT", line 8374
    ORA-06512: at line 2
    If somebody knows how to fix it, please let me know.
    Thanks in advance,
    Jime.

    Hello Ben!
    Thanks for answer me. I need to fix this as soon as possible.
    Thank you.
    Jime
    [email protected]
    Here are the answers to your questions:
    1. i'm using Oracle 9i
    2.
    NAME VALUE
    ALLOW_CAPTURE_EVENTS OFF
    ALLOW_MULTI_PARENT_WORKSPACES OFF
    ALLOW_NESTED_TABLE_COLUMNS OFF
    CR_WORKSPACE_MODE OPTIMISTIC_LOCKING
    FIRE_TRIGGERS_FOR_NONDML_EVENTS ON
    NONCR_WORKSPACE_MODE OPTIMISTIC_LOCKING
    OWM_VERSION 9.2.0.2.0
    USE_TIMESTAMP_TYPE_FOR_HISTORY ON
    3.
    OWNER CONSTRAINT_NAME CONSTRAINT_TYPE TABLE_NAME SEARCH_CONDITION R_OWNER R_CONSTRAINT_NAME DELETE_RULE STATUS DEFERRABLE DEFERRED VALIDATED GENERATED BAD RELY LAST_CHANGE INDEX_OWNER INDEX_NAME INVALID VIEW_RELATED
    SAN FK_ANALISISCALIDAD_1 R SAN_ANALISISCALIDAD SAN PK_SAN_GRADO CASCADE ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 9/22/2003 1:15:11 PM
    SAN FK_ANALISISCALITEM_1 R SAN_ANALISISCALITEM SAN PK_SAN_RUBRO CASCADE DISABLED NOT DEFERRABLE IMMEDIATE NOT VALIDATED USER NAME 9/22/2003 1:15:16 PM
    SAN FK_ANALISISCALITEM_2 R SAN_ANALISISCALITEM SAN PK_ID_SERVICIO CASCADE ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 9/22/2003 1:15:16 PM
    SAN FK_ANALISISCALITEM_3 R SAN_ANALISISCALITEM SAN PK_ANALISISCALIDAD CASCADE ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 9/22/2003 1:22:39 PM
    SAN FK_ANALISISCAMARA_1 R SAN_ANALISISCAMARA SAN PK_SAN_CLIENTE_PARTE_ROL CASCADE ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 9/22/2003 1:15:14 PM
    SAN FK_ANALISISCAMARA_2 R SAN_ANALISISCAMARA SAN PK_ANALISISCAMARA CASCADE ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 9/22/2003 1:22:21 PM
    SAN FK_ANALISISCAMARA_3 R SAN_ANALISISCAMARA SAN PK_ANALISISCALIDAD CASCADE ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 9/22/2003 1:22:21 PM
    SAN FK_SAN_APLICACION_ORDEN R SAN_APLI_ORD_ITEM SAN PK_SAN_APLICACION_ORDEN NO ACTION ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 6/19/2003 5:34:46 PM
    SAN FK_SAN_ORDEN_ITEMS R SAN_APLI_ORD_ITEM SAN PK_SAN_ORDEN_ITEMS NO ACTION ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 6/19/2003 5:34:48 PM
    SAN PK_ANALISISCALIDAD P SAN_ANALISISCALIDAD ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 9/22/2003 1:15:11 PM PK_ANALISISCALIDAD
    SAN PK_ANALISISCALITEM P SAN_ANALISISCALITEM ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 9/22/2003 1:15:16 PM PK_ANALISISCALITEM
    SAN PK_ANALISISCAMARA P SAN_ANALISISCAMARA ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 9/22/2003 1:15:13 PM PK_ANALISISCAMARA
    SAN PK_APLIC_ORDEN_ITEM P SAN_APLI_ORD_ITEM ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 6/19/2003 5:34:11 PM PK_APLIC_ORDEN_ITEM
    SAN PK_SAN_APLICACION_ORDEN P SAN_APLICACION_ORDEN ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 6/19/2003 5:34:20 PM PK_SAN_APLICACION_ORDEN
    SAN SYS_C0019582 C SAN_APLICACION_ORDEN "DENOMINACION" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 6/19/2003 5:08:54 PM
    SAN SYS_C0019586 C SAN_APLI_ORD_ITEM "ORDEN" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 6/19/2003 5:08:55 PM
    SAN SYS_C0019587 C SAN_APLI_ORD_ITEM "CONDICION" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 6/19/2003 5:08:55 PM
    SAN SYS_C0020519 C SAN_APLICACION_ORDEN "ID_APLICACION_ORDEN" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 6/19/2003 5:31:45 PM
    SAN SYS_C0020520 C SAN_APLI_ORD_ITEM "ID_APLICACION_ORDEN" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 6/19/2003 5:31:45 PM
    SAN SYS_C0020521 C SAN_APLI_ORD_ITEM "ID_APLI_ORD_ITEM" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 6/19/2003 5:31:45 PM
    SAN SYS_C0020522 C SAN_APLI_ORD_ITEM "ID_ITEM" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 6/19/2003 5:31:45 PM
    SAN SYS_C0021509 C SAN_ANALISISCALIDAD "ID_ANALISISCALIDAD" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 8/11/2003 6:42:52 PM
    SAN SYS_C0021512 C SAN_ANALISISCALITEM "ID_ANALISISCALITEM" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 8/11/2003 6:42:52 PM
    SAN SYS_C0021790 C SAN_ANALISISCAMARA "ID_ANALISISCALIDAD" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 9/3/2003 1:09:39 PM
    4.
    OWNER CONSTRAINT_NAME TABLE_NAME COLUMN_NAME POSITION
    SAN FK_ANALISISCALIDAD_1 SAN_ANALISISCALIDAD ID_GRADO 1
    SAN FK_ANALISISCALITEM_1 SAN_ANALISISCALITEM ID_RUBRO 1
    SAN FK_ANALISISCALITEM_2 SAN_ANALISISCALITEM ID_SERVICIO 1
    SAN FK_ANALISISCALITEM_3 SAN_ANALISISCALITEM ID_ANALISISCALIDAD 1
    SAN FK_ANALISISCAMARA_1 SAN_ANALISISCAMARA ID_CLIENTEPARTEROL 1
    SAN FK_ANALISISCAMARA_2 SAN_ANALISISCAMARA ID_ANALISISCALIDAD 1
    SAN FK_ANALISISCAMARA_3 SAN_ANALISISCAMARA ID_ANALISISCALIDAD 1
    SAN FK_SAN_APLICACION_ORDEN SAN_APLI_ORD_ITEM ID_APLICACION_ORDEN 1
    SAN FK_SAN_ORDEN_ITEMS SAN_APLI_ORD_ITEM ID_ITEM 1
    SAN PK_ANALISISCALIDAD SAN_ANALISISCALIDAD ID_ANALISISCALIDAD 1
    SAN PK_ANALISISCALITEM SAN_ANALISISCALITEM ID_ANALISISCALITEM 1
    SAN PK_ANALISISCAMARA SAN_ANALISISCAMARA ID_ANALISISCALIDAD 1
    SAN PK_APLIC_ORDEN_ITEM SAN_APLI_ORD_ITEM ID_APLI_ORD_ITEM 1
    SAN PK_SAN_APLICACION_ORDEN SAN_APLICACION_ORDEN ID_APLICACION_ORDEN 1
    SAN SYS_C0019582 SAN_APLICACION_ORDEN DENOMINACION
    SAN SYS_C0019586 SAN_APLI_ORD_ITEM ORDEN
    SAN SYS_C0019587 SAN_APLI_ORD_ITEM CONDICION
    SAN SYS_C0020519 SAN_APLICACION_ORDEN ID_APLICACION_ORDEN
    SAN SYS_C0020520 SAN_APLI_ORD_ITEM ID_APLICACION_ORDEN
    SAN SYS_C0020521 SAN_APLI_ORD_ITEM ID_APLI_ORD_ITEM
    SAN SYS_C0020522 SAN_APLI_ORD_ITEM ID_ITEM
    SAN SYS_C0021509 SAN_ANALISISCALIDAD ID_ANALISISCALIDAD
    SAN SYS_C0021512 SAN_ANALISISCALITEM ID_ANALISISCALITEM
    SAN SYS_C0021790 SAN_ANALISISCAMARA ID_ANALISISCALIDAD

  • ERROR ORA-12154 connecting to Oracle 9i

    Hi,
    I've downloaded the Oracle Developer Tools for Visual Studio .net and when connecting to an Oracle 9i database I get error: ORA-12154... I'm new to Oracle and I know that is related to the “tnsnames.ora” file.The location of my file is on the Oracle\ora92\network\admin directory. Do I need a copy of this file to any other directory? I can still connect to the database using SQL+.
    Any help will be appreciated.
    Many thanks
    Justo

    Hi Justo,
    If ODT was installed correctly, it should have gone into a new Oracle10g Oracle home. This would mean that you need to copy your tnsnames.ora from your Oracle9 Oracle home into your Oracle10g Oracle home so that you can continue to use the same aliases from ODT.
    Christian Shay
    Oracle

  • Data Pump Error - ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has

    Hi All,
    I am getting the following errors when I am trying to connect with datapump.My db is 10g and os is linux.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-31626: job does not exist
    ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "SYS.DBMS_LOGSTDBY", line 24
    ORA-06512: at "SYS.KUPV$FT", line 676
    ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    When I tried to compile this package I am getting the following error
    SQL> alter package DBMS_INTERNAL_LOGSTDBY compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY DBMS_INTERNAL_LOGSTDBY:
    LINE/COL ERROR
    1405/4 PL/SQL: SQL Statement ignored
    1412/38 PL/SQL: ORA-00904: "SQLTEXT": invalid identifier
    1486/4 PL/SQL: SQL Statement ignored
    1564/7 PL/SQL: ORA-00904: "DBID": invalid identifier
    1751/2 PL/SQL: SQL Statement ignored
    1870/7 PL/SQL: ORA-00904: "DBID": invalid identifier
    Can anyony suggest/guide me how to resolve the issue.
    Thanks in advance

    SQL> SELECT OBJECT_TYPE,OBJECT_NAME FROM DBA_OBJECTS
    2 WHERE OWNER='SYS' AND STATUS<>'VALID';
    OBJECT_TYPE OBJECT_NAME
    VIEW DBA_COMMON_AUDIT_TRAIL
    PACKAGE BODY DBMS_INTERNAL_LOGSTDBY
    PACKAGE BODY DBMS_REGISTRY_SYS
    Thanks

  • Getting Error ORA-03135: connection lost contact

    Hi all.
    I've followed the various steps to setting up the HS connection (Oracle APEX to MS SQL SERVER 2005)
    However when I attempt to "select 'x' from tabley@RemoteConn" it immediately gives me the following error:
    SQL> select 'x' from tabley@RemoteConn;
    select 'x' from tabley@RemoteConn
    ERROR at line 1:
    ORA-02068: following severe error from RemoteConn
    ORA-03135: connection lost contact
    TNSPing works fine when hitting the entry, the data source is up and correctly configured. I've been using a lan-based sql server at the office, and a pc-based "virtual sql server" from home. Both producing the same error.
    Anyone else run into this?
    Thanks!
    ---Patrick

    which product and which version are you using?
    we need to see a trace what happens; but the trace settings differ from product to product and version to version.

  • Export failed with error ORA-04063: package body "SYS.DBMS_CUBE_EXP" has er

    Hi
    We are having 11.2.0.2 database on Linux 5. From last two days the export backup is getting failed with the below error.
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i
    . exporting statistics
    Export terminated successfully with warnings.
    When I checked the status of this package DBMS_CUBE_EXP its showing invalid. I tried to compile the body of the package. But it was throwing below error.
    SQL> show errors
    Errors for PACKAGE BODY DBMS_CUBE_EXP:
    LINE/COL ERROR
    53/5 PL/SQL: SQL Statement ignored
    54/10 PL/SQL: ORA-04045: errors during recompilation/revalidation of
    SYS.DBA_XDS_INSTANCE_SETS
    ORA-01422: exact fetch returns more than requested number of rows
    I tried to query this view or describe the above view. But it was throwing the same error.
    ERROR at line 1:
    ORA-04045: errors during recompilation/revalidation of
    SYS.DBA_XDS_INSTANCE_SETS
    ORA-01422: exact fetch returns more than requested number of rows
    I couldnt get a proper solution from google regarding this view or to compile the above package.
    Now we are stcuked without the backups. It would be great if you guys look into it.
    Thanks
    SHIYAS M

    Yes I tried with take the export with SYS user. This time it thrown the error in the first and last too same as before.
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_info_exp
    . exporting foreign function library names for user U_20102
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user U_20102
    About to export U_20102's objects ...
    I ran below scripts as per u provided the link
    @$ORACLE_HOME/rdbms/admin/catdpb.sql and utlrp.sql
    Still it didnt get compiled.
    One more thing I tried running expdp. It totally got failed by throwing the similar error. It didnt even export the tables too.
    ===============================================================================
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 1245
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 8353
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1a3257060 19208 package body SYS.KUPW$WORKER
    0x1a3257060 8385 package body SYS.KUPW$WORKER
    0x1a3257060 12748 package body SYS.KUPW$WORKER
    0x1a3257060 2546 package body SYS.KUPW$WORKER
    0x1a3257060 9054 package body SYS.KUPW$WORKER
    0x1a3257060 1688 package body SYS.KUPW$WORKER
    0x1a8bc1630 2 anonymous block
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA", line 1245
    ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 8353
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1a3257060 19208 package body SYS.KUPW$WORKER
    0x1a3257060 8385 package body SYS.KUPW$WORKER
    0x1a3257060 12748 package body SYS.KUPW$WORKER
    0x1a3257060 2546 package body SYS.KUPW$WORKER
    0x1a3257060 9054 package body SYS.KUPW$WORKER
    0x1a3257060 1688 package body SYS.KUPW$WORKER
    0x1a8bc1630 2 anonymous block
    Job "SYS"."SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 17:58:34
    =========================================================================

  • Error:ora-01031 Insuffiecient Privileges when using "conn / as sysdba"?

    HI all,
    I used oracle to login and used dbca to create a database.
    export ORACLE_SID=db9i
    sqlplus /nolog
    conn / as sysdba
    Error:ora-01031 Insuffiecient Privileges
    Notes: I can use "conn sys/pwd as sysdba" to connect instance.

    Verify your oracle installation as of document available at this URL : http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html

  • Oracle SSHR (Absence Management) Error - ORA-01436: CONNECT BY LOOP

    The following error message is displayed in Absence Review Page while creating a Leave of Absence for some employees, while working propoerly (withpout any error) for other employees,
    "An Invalid Setup has been detected for the current Transaction Type in Approvals Management. Please contact your System Administrator."
    Please note that I checked the Supervisory chain through the follwoing query and it shows data properly without any endless loop,
    SELECT levels, ppf.full_name, ppf.Employee_number
    FROM per_all_people_f ppf,
    (SELECT level levels, paf.person_id
    FROM per_all_assignments_f paf START WITH paf.person_id = &person_id
    AND paf.primary_flag = 'Y'
    AND SYSDATE BETWEEN paf.effective_start_date
    AND paf.effective_end_date CONNECT BY PRIOR paf.supervisor_id = paf.person_id
    AND paf.primary_flag = 'Y'
    AND SYSDATE BETWEEN paf.effective_start_date
    AND paf.effective_end_date ORDER BY LEVEL) paf
    WHERE ppf.person_id = paf.person_id
    AND SYSDATE BETWEEN ppf.effective_start_date
    AND ppf.effective_end_date
    ORDER BY levels
    further it may please be noted that we have currently set a singly level for approval (testing purposes).
    Any help to resolve this issue shall be highly appriciable.
    Regards,
    Nahidullah Khan

    Please also see the following docs.
    Invalid Setup Has Been Detected For The Current Transaction Type In Approvals Management [ID 1313961.1]
    An Invalid Setup has been detected for the current Transaction Type in Approvals Management. [ID 602920.1]
    An Invalid Setup Has Been Detected For The Current Transaction Type In Approvals Management. ORA-06502: PL/SQL: numeric or value error: Character string buffer too small [ID 1458422.1
    An Invalid setup has been detected for the current transaction type [ID 1300417.1]
    Connect By Loop Problem in Supervisor Hierarchy [ID 579750.1]
    Initiating A Transaction That Goes For Approval Fails With ORA-06502 [ID 795063.1]
    Thanks,
    Hussein

  • Hi,getting an error-ORA-01436: CONNECT BY loop in user data

    hi,i am getting an error while running the select query
    SELECT callreleasetime,calleventduration
    FROM temp_med_partial_records_0001
    CONNECT BY PRIOR callreleasetime=callreleasetime
    AND PRIOR IMSI=IMSI
    AND PRIOR connectedcallingnumber=connectedcallingnumber
    Edited by: user8731258 on Feb 8, 2011 2:34 AM

    example:
    drop table test;
    create table test(no number, IMSP number,  IMSC number,  data varchar2(10));
    insert into test values(1,1,2,'a');
    insert into test values(1,2,3,'a');
    insert into test values(1,2,4,'a');
    insert into test values(1,3,5,'b');
    insert into test values(1,4,5,'b');
    insert into test values(2,1,2,'c');
    insert into test values(2,2,3,'c');
    insert into test values(4,1,2,'d');
    insert into test values(4,2,3,'d');
    insert into test values(5,1,2,'e');
    insert into test values(5,2,3,'e');
    insert into test values(5,2,3,'e');
    insert into test values(6,1,2,'f');
    commit;
    SELECT *
    FROM test
    CONNECT BY PRIOR no=no
    AND PRIOR IMSP=IMSC
    AND PRIOR data=data;
    NO                     IMSP                   IMSC                   DATA      
    1                      1                      2                      a         
    1                      2                      3                      a         
    1                      1                      2                      a         
    1                      2                      4                      a         
    1                      1                      2                      a         
    1                      3                      5                      b         
    1                      4                      5                      b         
    2                      1                      2                      c         
    2                      2                      3                      c         
    2                      1                      2                      c         
    4                      1                      2                      d         
    4                      2                      3                      d         
    4                      1                      2                      d         
    5                      1                      2                      e         
    5                      2                      3                      e         
    5                      1                      2                      e         
    5                      2                      3                      e         
    5                      1                      2                      e         
    6                      1                      2                      f   Your case
    SELECT *
    FROM test
    CONNECT BY PRIOR no=no
    AND PRIOR IMSP=IMSP
    AND PRIOR data=data;
    ORA-01436:

Maybe you are looking for

  • How many computers can I install Acrobat XI on?

    I will be purchasing Acrobat XI Pro and need to know how many computers it can be installed on.

  • Final Cut Pro 7 & Compressor

    I am trying to complete a project which I recorded on a Sony EX1R HD Camera. For the purpose of this project, I had to shoot in SD Format, which put the files in a .avi wrapper. However I was able to import directly into Final Cut Pro 7 and edit as n

  • Error 7(windows error 1114

    Can download but not install Itunes.

  • Shift(up) in linux native client

    I'm using SSGD clients on various linux distributions; by now after every ttwebtop installation I had to solve the keyboard input problem described here : http://forum.java.sun.com/thread.jspa?threadID=5104493 and it just worked fine. However, few mo

  • Query to group dept codes in a row

    Hi Gurus, I am trying to write a sql to list all the employees and their dept codes in duration of 5 years. I have a table like Emp Dept_codes 1 10,20,40 1 30,50 2 10,40 2 30 3 70 EMp and Dept_codes are character types. Is it possible to have a solut