ORA-12539: TNS:buffer over- or under-flow

Hello,
Our SIT env is 10.2.0.4 RAC in AIX 5.3 (OPatch version: 10.2.0.4.7)
In SIT we’re getting this same error message (but not in DEV or UAT, same version db, but single instance).
2/22/2011 9:32:44 PM: Oracle.DataAccess.Client.OracleException ORA-12539: TNS:buffer over- or under-flow
I saw metalink has reported this as a bug:
Client Connections Intermittently Fail With ORA-12539 Error in RAC Environment [ID 602879.1]
I saw 10.2.0.5 patch can fix this, is there any better way to work around?
thanks

user1102552 wrote:
the trace for 10g client did not give the error messages similar to mentioned in the bug.
i guess 10g client is not able to interpret scan.Hi,
It is highly recommended you go to Oracle Client 11.2 or Open a SR.
The Oracle White Paper about SCAN said:
DNS using a round-robin algorithm on its own does not ensure failover of connections However, the Oracle Client typically handles this. It is therefore recommended that the minimum version of the client used is the Oracle Database 11g Release 2 client.
If using a pre-11g Release 2 client (Oracle Database 11g Release or Oracle Database 10g Release 2, or older) you will not fully benefit from the advantages of SCAN.
Reason: The Oracle Client will not be able to handle a set of three IPs returned by the DNS for SCAN. Hence, it will try to connect to only the first address returned in the list and
will more or less ignore the others. If the SCAN Listener listening on this specific IP is not available or the IP itself is not available, the connection will fail. In order to ensure load balancing and connection failover with pre-11g Release 2 clients, you will need to change the TNSNAMES.ora of the client so that it would use 3 address lines, where each address line resolves to one of the SCAN VIPs.
http://levipereira.wordpress.com/2010/12/18/single-client-access-name-scan-by-barb-lundhild/
Hope this helps,
Levi Pereira

Similar Messages

  • Oracle 10g over Windows 7 - ORA-12514 TNS:listener does not currently know

    Dear,
    I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well.
    Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
    I try check many articles via forums but I can't resolve this issue.
    so, could any one follow me to handle this issue.
    Khaldoun

    user1941003 wrote:
    Dear,
    I installed Oracle 10.1.0g over windows 7, now during installation its show me ORA-12560 TNS protocol adapter error, I ignored it for many dialog. then devery thing goings well. The only 10g software certified/supported on Win 7 (Professional or higher) is 10.2.0.5. Win Home versions are not supported.
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15680/toc.htm#BABEBBJF
    Other versions may or may not work - so fixing any errors that result from unsupported/uncertified combinations is up to you.
    >
    Once I try do login via sql plus, new message appear "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor "
    I try check many articles via forums but I can't resolve this issue.
    so, could any one follow me to handle this issue.
    KhaldounSrini

  • ORA-12154: TNS:could not ... for imported pl-sql function in Process Flow

    Hi
    I included in a process flow a PL-SQL function as user defined transformation.
    This PL-SQL function resides in my source database, from where I imported it in OWB.
    When I am trying the run the Process Flow (from control center manager) I get the following message upon executing that function.
    ORA-12154: TNS:could not resolve the connect identifier specified
    When I don't include that function my process flow works. Mappings in my process flow read from the same source database as where the function is.
    So I don't think it is caused by a problem with tnsnames.ora..
    Thanks in advance for anybodies help.
    Hans

    Hi Oleg,
    Thanks for your reply. Indeed I didn't create a runtime repository.
    However don't like to do that to for the source DB.
    I wonder if I can get around that by executing a SQLplus script instead.
    I tried this but my script does never complete when it is started from the process flow. If I run it in SQLplus it runs fine and completes instantly.
    My script does:
    update 1 column in one record of a table.
    commit;
    exit;
    What do you think?
    Thanks,
    Hans

  • ORA-12560: TNS:protocol adapter error while running Oracle Form 10g over IE

    Hi,
    I am getting the following error message while running my form over Internet Explorer. What could be the error and the solution.
    ORA-12560: TNS:protocol adapter error
    I am using the same user id/password that i used to create the database.
    Plz help.
    thanks,
    RV

    unless you defined the TWO_TASK in your environment, you might need to provide it during the login. The typical Forms login screen has 3 fields, username/password and TWO_TASK , which is the alias used for the database server in the tnsnames.ora file on your end. If you are using iAS forms, then a proper RAD (Resource Access Descriptor) needs to be created by the DBA or whoever manages the iAS server. This is only if SSO is utilized, if not, then you need to provide TWO_TASK as well.
    Hope this proves useful
    R/ Zafer

  • ORA-12541: TNS: no listener (over dblink)

    Hello all,
    I'm running on Oracle 11.1.0.7.0 (on server HP-UX B.11.23 U (64))
    If I connect with user A, I can run the following statement without error :
    select * from rsx@orap_dblk;But if I connect with user B, I can't run this statement. I have the following error
    ORA-12541: TNS: no listenerCan someone can explain me how is it possible ? Are privileges missing for user B ?
    Thanks !

    fcjunic wrote:
    Hello all,
    I'm running on Oracle 11.1.0.7.0 (on server HP-UX B.11.23 U (64))
    If I connect with user A, I can run the following statement without error :
    select * from rsx@orap_dblk;But if I connect with user B, I can't run this statement. I have the following error
    ORA-12541: TNS: no listenerCan someone can explain me how is it possible ? Are privileges missing for user B ?
    Thanks !private DBLINKs which are different

  • ORA-12154: TNS:could not resolve the connect identifier speci

    Getting this Error on our new windows 7 64bit OS
    i am running both in the App and Ora in the XP compatibility mode.
    A database error occurred in OCILogon (-1).
    ORA-12154: TNS:could not resolve the connect identifier specified
    <null>
    The debug Console give's the following message.
    "App Debug Console enabled
    (switched to code page 1252)
    ORASP>orasp_oci_open: ORA-12154: TNS:could not resolve the connect identifier specified
    I can make the conection to the db by Loging directly into the Oracle SQL using the same info as my sams.
    the conection works fine on our old XP OS....
    any idea what i have to do to get this to run on Windows 7
    thanks

    Hi,
    1) Check the tnsnames.ora file you are using, verify that it is accessible.
    Eg: On Unix:
    - Check if you have a $HOME/.tnsnames.ora file - This will be
    used in addition to 'tnsnames.ora'.
    - Check TNS_ADMIN is set in your environment.
    - There is a readable tnsnames.ora file in $TNS_ADMIN
    2) Ensure that the tnsnames.ora file contains a line of the form
    'alias=(...)' for the alias you are specifying.
    Aliases are NOT case sensitive.
    3) Make sure that there are no mismatched parentheses in the
    tnsnames.ora file.
         4) Even if TNS_ADMIN is set SQL*Net looks in other locations for
         configuration files. Check the default directories for old (or bad)
         copies of TNS_NAMES.ORA. Eg: /etc, /var/opt/oracle,
         $ORACLE_HOME/network/admin
    5) Check the default domain name being used, and the path used to
    locate aliases, in the SQLNET.ORA file.
    The default domain is specified in the NAMES.DEFAULT_DOMAIN
    parameter - this is appended to the alias specified in the
    connect string if there is no domain given.
    Eg: If NAMES.DEFAULT_DOMAIN=mydom.uk
    and a connect to "scott/tiger@mydb" is requested
    SQL*Net will look for the alias "mydb.mydom.uk"
    If NAMES.DIRECTORY_PATH is also specified this determines where
    SQL*Net looks for the alias expansion.
    6) If none of these show an error enable client side tracing
    at level 16 and see what has been written to the client trace
    file. There list of aliases in the trace file under the heading
    'TNS.NAMES.ORA TABLE HAS THE FOLLOWING CONTENTS'.
    7) If ORA-12154 is returned when selecting over a database link from a
    client check that the alias in the link can be resolved in the
    tnsnames.ora file ON THE SERVER.
    8) If you are connecting from a login dialog box, verify that you are
    not placing an "@" symbol before your connect net service name.
    9) When going from Windows to Linux/Unix platforms,
    you can see <carriage return> <new line> characters at the
    end of each line instead of <new line> <new line>. Be sure you
    use ascii mode when ftp'ing this between Windows and Linux/Unix.
    Regards,
    Kal

  • Repeated 'ORA-12547: TNS: lost contact' messages after installing Oracle 10

    Hi,
    I installed Oracle 10g on Redhat ES 3, and the install went well, but when I try and interact with the server I get the message:
    ORA-12547: TNS: lost contact
    For example, if I use the Database Configuration Assistant to attempt to create a database, I will see the above message when it begins the database creation process, or if I try to interact with the Oracle server using sqlplus I will see the above message after each command entered.
    I had recently tried to install Oracle 8.1.7 on the same box, but abandoned that after deciding that the effort required to link Oracle 8 on RHES3 just wasn't worth it.
    I have been told that my previous partial installation of Oracle 8 may be the cause of the problem, and have been advised to uninstall Oracle 8, uninstall Oracle 10g, and reinstall Oracle 10g. I find it hard to believe that it would require such an action to solve this problem. Are there any configuration changes I can make to resolve it?
    My problem sounds like it may be similar problem to a recent posting by Hugo Ferrer - but my Spanish isn't good enough to fully understand Hugo's problem. Anyways, I am new to Oracle, so thanks for any help with this problem.
    Colm.

    My last message asking for a grater degree of specificity was not overly specific, hence I am posting the kernel parms that I have set with the hopes that you will spot one that I set improperly or one that I neglected to set.
    [root@awyr ~]# cat /proc/sys/kernel/shmmax
    2147483648
    [root@awyr ~]# cat /proc/sys/kernel/shmmni
    4096
    [root@awyr ~]# cat /proc/sys/kernel/shmall
    2097152
    [root@awyr ~]# ipcs -lm |grep "min seg size"
    min seg size (bytes) = 1
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $1}'
    250
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $2}'
    32000
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $3}'
    100
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $4}'
    128
    [root@awyr ~]# cat /proc/sys/fs/file-max
    65536
    [root@awyr ~]# cat /proc/sys/net/ipv4/ip_local_port_range
    1024 65000
    [oracle@awyr Desktop]$ ulimit -n
    63536
    [oracle@awyr Desktop]$ ulimit -u
    4091
    [oracle@awyr Desktop]$ ulimit -a
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    max locked memory (kbytes, -l) 32
    max memory size (kbytes, -m) unlimited
    open files (-n) 63536
    pipe size (512 bytes, -p) 8
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 4091
    virtual memory (kbytes, -v) unlimited
    from sysctl -a
    my fs.file-max = 65536
    in my limits.conf I added:
    oracle soft nofile 4096
    oracle hard nofile 63536
    in my (1) /etc/pam.d/system-auth (2) /etc/pam.d/sshd (3) /etc/pam.d/su (4) /etc/pam.d/login
    files I added:
    session required pam_limits.so
    and verified that it exists
    in my limits.conf I added
    oracle soft nproc 2047
    oracle hard nproc 16384
    my /etc/oratab has:
    orcl:/usr/local/oracle/app/oracle/oracle/product/10.2.0/db_1:N
    I tried to change the N at the end to a Y but to no avail
    my /etc/oraInst.loc has:
    inventory_loc=/usr/local/oracle/app/oracle/oraInventory
    inst_group=oinstall
    Thanks again for your atention
    Richard

  • Ora 12543 tns destination host not reachable

    Dear All,
    OS: RHEL 5
    DB VERSION:-11.2.0
    I am facing problem related to ora 12543 tns destination host not reachable
    The problem here is little bit different what exactly other face:-
    i have 2 servers with name abc.localdomain & xyz.localdomain.
    Db name on abc.localdomain is abc
    Db name on xyz.localdomain is xyz
    When i try to ping with below mentioned command abc and xyz from abc.localdomain i am successful
    ping abc
    ping xyz
    But when the same thing i am trying to do from xyz.localdomain i am able to ping the db running on xyz.localdomain. but getting the above mentioned error duringg pinging of abc database located on abc.localdomain server
    I am able to ping both the server's from their ip's and hostname but not by abc db name and also checked firewall on both servers are disabled.
    Here are my tnsnames.ora and listener.ora files for both machines
    xyz.localdomain tnsnames.ora file:-
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
    xyz =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
        (CONNECT_DATA =
          (SERVICE_NAME = xyz)
    abc =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = abc.localdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = abc)
    xyz.localdomain listener.ora:-
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
    SID_LIST_LISTENER1 =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = xyz)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
          (SID_NAME = xyz)
    ADR_BASE_LISTENER1 = /u01/app/oracle
    abc.localdomain machine:-
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = abc)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/grid)
          (SID_NAME = abc)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = abc.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
    tnsnames.ora:-
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    xyz =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
        (CONNECT_DATA =
          (SERVICE_NAME = xyz)
    abc =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = abc.localdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = abc)
    So kindly advice over the same if anyone of you face the same problem.

    Hi,
    Before actually looking up on this issue. I would suggest you to read the below posts to get true knowledge of what these utility do (i.e Listener, tnsping) and what are there purpose.
    Help! I can't connect to my database...; | Ed Stevens, DBA
    Help! I can't connect to my database (part duex) | Ed Stevens, DBA
    tnsping  what it is, what it isn't | Ed Stevens, DBA

  • Problem: ORA-12514, TNS:listener does not currently know of service request

    When I enter a command for an Oracle 10g Express installation I am getting the following error:
    Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
    (c) Copyright 2006 Oracle Corporation. All rights reserved.
    Running IRCA for all product(s):
    connection="localhost 1521 orcl", -overwrite, orabpelUser=ORABPEL, esbUser=ORAESB, orawsmUser=ORAWSM
    ERROR: Failed to establish database connection due to the following error:
    Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    Please check your connection parameters and try again.
    Hmm, whats wrong?
    Listener status yields:
    D:\db\install\soa_schemas\irca>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:04:22
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS des LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Startdate 10-FEB-2008 12:48:44
    Uptime 0 days 0 hours. 15 min. 38 sec.
    Trace-Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Standard-Service XE
    Parameter file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Log file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\log\listener.log
    Summary listener endpoints...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services overview...
    Service "CLRExtProc" hat 1 Instance(s).
    Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
    Service "PLSExtProc" hat 1 Instance(s).
    Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
    Service "XEXDB" hat 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Service "XE_XPT" hat 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Service "xe" hat 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    The command was successfully executed.
    D:\db\install\soa_schemas\irca>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:18:59
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services _bersicht...
    Service "CLRExtProc" has 1 Instance(s).
    Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 Instance(s).
    Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Handler:
    "D000" established:0 refused:0 current:0 max:1002 Status:ready
    DISPATCHER <machine: LOCALHOST, pid: 3584>
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1049))
    Service "XE_XPT" has 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:1 refused:0 Status:ready
    LOCAL SERVER
    Service "xe" has 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:1 refused:0 Status:ready
    LOCAL SERVER
    The command was successfully executed.

    Hi,
    no, you got it wrong:
    Oracle uses network services which are a logical representation of the database to resolve network requests.
    in your ntsnames.ora file you have the following:
    network_alias = my_alias -- here you can write anything you just need to resolve it correctly
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (host=hostname or IP)
    (port=listener adapter port)
    ) -- this a complete socket information of the listener adapter!!
    (CONNECT_DATA=
    (SERVICE=your_service) -- this is what you tell the listener about the service you want to connect to. It is defined in the instance with the paramter service_names
    In general it is network aliasses which are resolved with connect descriptor in the tnsnames.ora.
    A connect decriptor consists of the address part + the connect_data part.
    The address part is used to reach the listener.
    The connect_data part is the information you hand over to the listener.
    So the listener must know the service name.
    The listener can either know this from the instance itself. When an Oracle instance is started it tries to registrer itself with a listener which listens on port 1521 for the protocol TCP.
    The instance tell this listener two paramater values: INSTANCE_NAME and SERVICE_NAMES. Then the listener knows the instance and which services are defined. It is just a reprentation of the database to the listener.
    If the listerner knows the service requested with a connect, it can establish a connection to a service handler. This could be a dedicated server process or a dispatcher.
    Another mehtod to let the listener know the service requested is so called static regustration of the instance. This is made with an SID LIST in the listener.ora file.
    Then the listener knows SID for the instance plus ORACLE_HOME and can find the executable to start a server process for a connect request.
    Hope it helps a little-.
    =;-)
    If you have further questions pls do not hesitate to ask. O.K.?

  • ORA-12154: TNS:could not resolve the connect identifier specified [10g XE]

    Greetings
    There are many topics on this issue over the internet but None of them addresses this issue properly, so I couldn't find a solution to the problem.
    I installed: Oracle Database 10g Express Edition
    After the installation was done, I opened SQL Command Line
    and I used the command "connect" to login
    I enter the username
    Then I entered the password
    After a couple of seconds I got the following ERROR message:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Screenshot of the error:
    http://i35.tinypic.com/14o26g7.png
    I installed this version of Oracle on both Windows XP 32 bit and Windows 7 32 bit and I get the same error message when it tries to connect.
    Why doesn't Oracle work right after the installation?
    Are there any further steps that need to be done in order to make this work? If so I would really appreciate any step by step help, I've been stuck trying to find a solution for days.
    Edited by: user10192105 on Aug 22, 2010 7:34 PM

    >
    I wento to CMD, then I entered sqlplus / as sysdba and that just opened the SQL*Plus program in CMD (SQL>)
    But nevertheless I still need to login with a user name and password which and I tried and I got the same error message.
    >
    We're making progress, you'll be logging in soon....
    Get into SQL*Plus with the command I gave you, now type this:
    alter user <theusernameyouwant> identified by abc123;followed by (still in SQL*Plus):
    connectafter you type "connect", SQL*Plus will ask you for a user name and password. Use the same user name and password you used in the alter command.
    HTH,
    John.

  • ORA-12518: TNS:listener could not hand off client connection

    guys,
    i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
    ORA-12518: TNS:listener could not hand off client connection
    i had learned about this error here before, and i toke some notes as follows:
    h2. listener.log
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:23:49
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is C:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to C:\oracle\product\10.2.0\db_2\network\log\listener_bkp_1.log
    Trace information written to C:\oracle\product\10.2.0\db_2\network\trace\listener_bkp_1.trc
    Trace level is currently 0
    Started with pid=2212
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WINXP)(PORT=1523)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    25-SEP-2009 01:24:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
    25-SEP-2009 01:24:49 * (CONNECT_DATA=(SERVICE_NAME=financeira.winxp)(CID=(PROGRAM=C:\ORACLE?instantclient_10_2\sqlplus.exe)(HOST=PAULO_NOTEBOOK)(USER=ORACLE_DBA))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.100)(PORT=51649)) * establish * financeira.winxp * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    25-SEP-2009 01:24:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
    h2. lsnrctl services
    C:\>lsnrctl services listener_bkp_1
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:33:40
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=WINXP)(PORT=1523)))
    Services Summary...
    Service "FINANCEIRA.WINXP" has 1 instance(s).
    Instance "FINANCEI", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:1
    LOCAL SERVER
    The command completed successfully
    h2. listener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = FINANCEIRA.WINXP)
    (SID_NAME = FINANCEI)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1521))
    SID_LIST_LISTENER_BKP_1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = FINANCEIRA.WINXP)
    (SID_NAME = FINANCEI)
    LISTENER_BKP_1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1523))
    h2. v$resource_limit
    RESOURCE_NAME ; CURRENT_UTILIZATION ; MAX_UTILIZATION ; INITIAL_ALLOCATION ; LIMIT_VALUE
    processes ; 26 ; 30 ; 150; 150
    sessions ; 30 ; 35 ; 170 ; 170
    2 rows selected
    this means that it didn't reach the resource limites yet. What i can do to solve the problem ???
    another important information is that connecting by the default listener LISTENER instead of the LISTENER_BKP_1 listener, the connection is completed successfully. There's enough SGA memory space too.
    Tks,

    Paulo_BR wrote:
    i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
    ORA-12518: TNS:listener could not hand off client connectionDon't do Oracle on Windows, so I'm not sure how the following relates to the Listener dealing with a dedicated server connection request on Linux/Unix.
    On Linux/Unix, a dedicated server request means just that - a dedicated process has to be started to service that client. The Listener does it by using the parameters of the configured listener.ora service to execute +$ORACLE_HOME/bin/oracle+. This process then starts up, and the Listener hands off the client connection for this process for servicing.
    If there is a failure somewhere on this series of steps fail, the Listener throws the ORA-12518 exception. For example, the +$ORACLE_HOME+ has been incorrectly configured in listener.ora and it fails to execute and startup a dedicated server process.
    And this relates to the underlying error you are seeing:
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directoryI think that the Listener on Windows uses the CreateRemoteThread() Win32 call to start up the server process thread. However, it needs a valid process identifier (of the existing Oracle instance) for this call - and thus needs to first identify the Oracle instance process. Could be that this step uses a ORACLE_HOME reference. And if that directory path is not valid, it is unable to identify the process id of the Oracle instance and thus unable to spawn a dedicated thread to service that client.

  • 'ORA-12571: TNS:packet writer failure' error while calling procedure from VC++

    hi all,
    i am writing stored procedures and calling these from vc++. I have one stored procedure in that all
    in and out perameters are numeric. When i am calling these procedure i am able to get the values properly. But in another procedure one in perameter is varchar and one out perameter is varchar. When i am calling these procedure from vc++ the error i am getting is "ORA-12571: TNS:packet writer failure". I test my vc++ code on different computers but its giving the same errors. I think ora-12571 error is when i can't communicate with oracle. But other stored procedures(in and out perameters are numbers) and sql statements are running properly. Only these stored procedure which has in and out perameters as varchar is giving me the above said problem. My out perameter in this procedure strtax is of type varchar and the length 100. Is it the problem. Please suggest me how to over come this problem.
    thanks in advance,
    with regards
    vali.

    Hi
    We recently changed our load balancer to a new load balancer. we get this error only after the load balancer change.
    When the error occurs, I could see ORA-12571 error message only in the application error log. The listener.log has only the following message about TNS 12502. It does not have any message about ORA -12571.
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2202)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2203)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2204)) * establish * AppName * 0
    12-MAR-2010 12:24:09 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    Thanks
    Ashok

  • ORA-12571: TNS:packet writer failure while calling procedure from VC++

    hi all,
    i am writing stored procedures and calling these from vc++. I have one stored procedure in that all
    in and out perameters are numeric. When i am calling these procedure i am able to get the values properly. But in another procedure one in perameter is varchar and one out perameter is varchar. When i am calling these procedure from vc++ the error i am getting is "ORA-12571: TNS:packet writer failure". I test my vc++ code on different computers but its giving the same errors. I think ora-12571 error is when i can't communicate with oracle. But other stored procedures(in and out perameters are numbers) and sql statements are running properly. Only these stored procedure which has in and out perameters as varchar is giving me the above said problem. My out perameter in this procedure strtax is of type varchar and the length 100. Is it the problem. Please suggest me how to over come this problem.
    thanks in advance,
    with regards
    vali.

    hi,
    thanks for reply,
    I wanna let u know that this is my personal lappy & i have installed apps dump on it in Linux & connect it through VM player in Window environment. I have recently purchased a new Antivirus K7 & installed it on my Lappy. i wanna know does this impact your application or Dbase Bcoz the application is running fine after starting the services in linux.
    The only thing is that i am not able access the database through TOAD or SQL*Plus. the same error i am facing in both.
    So
    shud i uninstall the antivirus on this And this is the only solution to it ?
    If yes, then how do i fix it again when i'll reinstall it Bcoz i need Antivirus as well.
    kindly suggest.
    thanks
    D

  • ORA-01039:Insufficient Privileges on the Underlying Objects of the View

    Hi,
    I have a Query where it is using (SELECT name from v$DATABASE as a Inline View).
    But when my running the Explain Plan in Toad it is giving the Error as
    'ORA-01039:Insufficient Privileges on the Underlying Objects of the View'
    Any help will be appreciable
    Thanks and Regards

    you need SELECT ANY DICTIONARY privelage Below is a small demonstration.
    First iam connecting as a SYSDBA and doing an explain plan on v$database.
    SQL*Plus: Release 9.2.0.1.0 - Production on Mon Sep 1 12:36:53 2008
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Enter user-name: akivadba/akivadba@akivatst as sysdba
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> set linesize 250
    SQL>
    SQL> explain plan for select * from v$database
      2  /
    Explained.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    Plan hash value: 735420252
    | Id  | Operation            | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT     |          |   100 | 77200 |     0   (0)| 00:00:01 |
    |   1 |  MERGE JOIN CARTESIAN|          |   100 | 77200 |     0   (0)| 00:00:01 |
    |*  2 |   FIXED TABLE FULL   | X$KCCDI  |     1 |   710 |     0   (0)| 00:00:01 |
    |   3 |   BUFFER SORT        |          |   100 |  6200 |     0   (0)| 00:00:01 |
    |   4 |    FIXED TABLE FULL  | X$KCCDI2 |   100 |  6200 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter("DI"."INST_ID"=USERENV('INSTANCE'))
    16 rows selected.No problem till now every thing is fine. Now iam connecting as a normal user and doing the same.
    SQL> connect
    Enter user-name: sysadm/sysadm@akivatst
    Connected.
    SQL>
    SQL> explain plan for select * from v$database
      2  /
    explain plan for select * from v$database
    ERROR at line 1:
    ORA-01039: insufficient privileges on underlying objects of the viewLook i got the insufficient privileges error. Now let me grant the required privileges.
    SQL> connect
    Enter user-name: akivadba/akivadba@akivatst as sysdba
    Connected.
    SQL> GRANT SELECT ANY DICTIONARY TO SYSADM
      2  /
    Grant succeeded.Now connect back to the user and try again.
    SQL> connect
    Enter user-name: sysadm/sysadm@akivatst
    Connected.
    SQL> explain plan for select * from v$database
      2  /
    Explained.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    Plan hash value: 735420252
    | Id  | Operation            | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT     |          |   100 | 77200 |     0   (0)| 00:00:01 |
    |   1 |  MERGE JOIN CARTESIAN|          |   100 | 77200 |     0   (0)| 00:00:01 |
    |*  2 |   FIXED TABLE FULL   | X$KCCDI  |     1 |   710 |     0   (0)| 00:00:01 |
    |   3 |   BUFFER SORT        |          |   100 |  6200 |     0   (0)| 00:00:01 |
    |   4 |    FIXED TABLE FULL  | X$KCCDI2 |   100 |  6200 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter("DI"."INST_ID"=USERENV('INSTANCE'))
    16 rows selected.
    SQL>Thanks,
    Karthick.
    Edited by: karthick_arp on Sep 1, 2008 12:21 AM

  • Report connection error ORA-12203 : TNS : unable to connect to destination

    hi
    when in open report and go to query builder then show me this error
    REP-0501 : Unable to connect to the specified database.
    ORA-12203 : TNS : unable to connect to destination
    how i connect report and form with oracle8i which two file in copy into developer folder
    please give he solution
    thanking your

    $ oerr ora 12203
    12203, 00000, "TNS:unable to connect to destination"
    // *Cause: Invalid address specified or destination is not listening.
    // This error can also occur because of underlying network or network
    // transport problems.
    // *Action: Verify that the net service name you entered was correct.
    // Verify that the ADDRESS portion of the connect descriptor which
    // corresponds to the net service name is correct.  Ensure that the
    // destination process (for example the listener) is running at the
    // remote node.
    $In Developer Home check that TNS alias in tnsnames.ora has no errors. Are you able to connect from Sql*Plus from Developer Home, using same alias ?
    Also check that the listener is running on DB machine.
    how i connect report and form with oracle8i which two file in copy into developer folder What does it mean exactly ?

Maybe you are looking for