TNS-12560: TNS:protocol adapter error when starting listner

Hi,
I am having this error when trying to start my oracle database listener.
I can connect to database normally with SqlPlus
Microsoft Loopback Adapter is installed and config with a fixed IP address. The IP add with computer name and domain is specified in the hosts file.
I didn't modify anything to the default listener.ora file.
Any suggestion. Thank you very much.
Best regards
K.

Now I am able to start my listener after I turn off my firewall and restart my computer. The port might be blocked previously ?
However, now I can't connect to the database even in Sql plus. When connect using user name and password, I have the same error: TNS-12560: TNS:protocol adapter error.
Testing my connection in Net CA, it said: "TNS:listener does not currently know of service requested in connect descriptor".
In tnsnames.ora, I have SERVICE_NAME= orcl.
Result of tnsping orcl is "..OK<100msec>"
But result of lsnrctl services is: "The listnener supports no services"
I can't find any clue?
P/S: I am using Oracle database 11g EE Release 11.1.0.7.0 on Window platform.
Edited by: user12635456 on 13-Jun-2010 20:42

Similar Messages

  • TNS-12560: TNS:protocol adapter error (when starting database)

    Hi.. everyone.
    I am testing oracle9i and oracle10g on the same machine, windows xp pro.
    When I was trying to start oracle10g using command line mode,
    I got the error, TNS-12560: TNS:protocol adapter error.
    I entered these command.
    set oracle_home=10g_homexxxx
    set oracle_sid=xxdb
    sqlplus /nolog
    conn sys/xxx as sysdba
    I got the error, TNS-12560: TNS:protocol adapter error.
    The install of two different versions of oracle , oracle9i and oracle10g,
    on the same machine(windows xp pro) could cause this problem?
    Is it safe to install two different versions of oracle on the same window machine?
    Is there any confliction in environment variables?
    I think there is no problem on the linux, unix system.
    I stoped the listener of oracle9i and tried again. But I failed.
    I am looking forwared to hearing your experience and advice.
    Thanks in advance. Have a good day.
    Ho.

    Dear Werner.
    Thanks for your reply.
    I shutdown oracle9i and 10g, using "services.msc" utility from windows.
    Therefore, "OracleService<xxdd>" is not running.
    What I want to do is to startup 10g database using "cmd",command line mode.
    In addition, I would like to know why I could not start 10g database, using "cmd"
    on windows xp pro.
    I installed 9i first and installed 10g. I think there are a kind of environment variable
    conflictions.
    I am wondering how I can fix them, and whether or not they are curable.
    Thanks for your reply. Have a good day.
    Regards.
    Ho.

  • Getting ORA-12560: TNS:protocol adapter error when starting Oracle8i SVRMGR

    Hi everyone,
    I'm new to the forums, and I guess you could say "somewhat new" to the Oracle DB. I've played around with it casually in the past, but never got real serious with it :)
    Anyhow, I wanted to see if someone could help with this. I found an old thread on a similar issue, but nothing seemed to help at all towards resolution, so I thought I would start a new thread, and maybe get some fresh ideas.
    The issue is, I start SVRMGR on Oracle8i, and get the ORA-1260: TNS:protocol adapter error.
    Here is my setup:
    OS: Win2k Advanced Server
    CPU: 2 - 930MHz Intel Xeon's
    RAM: 1GB DIMM
    DB Version: Oracle8i
    No firewalls or any other TCP interference. Ok, so now that's out the way :), here is the issue:
    When I start the SVRMGR, I get that error immediately. I have checked my tnsnames.ora file, and found some discrepancies, and have corrected them (at least to my knowledge), restarted all the Windows services running the various databases, and closed/re-opened the SVRMGR, and still get the same thing.
    For reference, here is a copy of the tnsnames.ora file:
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora81\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 207.225.221.92) (PORT = 1521) )
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = class.oracle)
    (PRESENTATION = http://admin)
    #CLASS =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = class.oracle)
    #LOGEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = LOGEDNET.oracle)
    BFLEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = BFLEDNET.oracle)
    #CSPEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = CSPEDNET.oracle)
    #FLGEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = FLGEDNET.oracle)
    #FINEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = FINEDNET.oracle)
    CCHSRES =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CCHSRES)
    #CCHS =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = CCHS)
    CHYEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CHYEDNET)
    #AUREDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = AUREDNET)
    #TUSEDNET =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = TUSEDNET)
    ## DBs on ORACLESHC - 207.225.221.80
    DENEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DENEDNET)
    DFEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DFEDNET)
    FTCEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = FTCEDNET)
    OGDEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = OGDEDNET)
    PROEDNET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PROEDNET)
    SILVER7 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.80)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SILVER7)
    # CCHS_PROD =
    # (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.87)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVICE_NAME = CCHS)
    ONLINEDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ONLINEDB)
    GLOBALDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 207.225.221.92)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = GLOBALDB)
    The ones I commented out were either non-existant databases, or the databases were shutdown, because they are not presently being used.
    If someone could help with this, it would be greatly appreciated. :)

    HI,
    1). Can you connect normally from SQL Plus?
    -----------------------Here is entry in your Tnsnames.ora file.------------------------------
    #You must check that your Dbase Listener is Listening request on port 1521.
    ORCL9i =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Local-Server)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl9i)
    2). For pinging a service.
    If you've Microsoft Windows.
    If your database service name is orcl9i
    Run->Cmd
    Tnsping orcl9i
    --It will give you as following information either "OK" or Fail.
    ----------------------------------Output after running Tnsping--------------------------------------------
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 26-JUL-20
    07 13:30:16
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    E:\oracle\ora92\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = Local-Server)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = Orcl9i)))
    OK (20 msec)
    I would like to mention that Svrmgr30 was in Oracle 8. And Oracle 8i uses Svrmgrl.
    --Below is Oracle9i syntax you may use it on svrmgrl.
    SQL> connect
    Enter user-name: Scott/Tiger@orcl9i
    SQL> connected:
    SQL>

  • ORA-12560: TNS:protocol adapter error when trying to connect

    hopefully somebody can help me out... the problem i'm having is connecting to the scott/tiger database. i keep getting :
    "ORA-12560: TNS:protocol adapter error" when trying to connect to it. it worked previously, but i unistalled oracle 8i personal and reinstalled it. now it doesn't let me connect. what's going on?
    thanx,
    uriah

    You can run the net8 assistant to set up your tnsnames.ora file.
    start/programs/oracle/network administration/net8 assistant
    When you are done it should look something like this:
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
         (PROTOCOL = TCP)
         (Host = )
         (Port = 1521)
    (CONNECT_DATA = (SID = ORCL))
    Bev

  • Gives  ORA-12560: TNS: protocol adapter error when installing oracle 10g

    I tried to install oracle 10g r2 in server 2008. but it gives ORA-12560: TNS: protocol adapter error when installing. how I can fix this issue??? please help me ASAP. because its urgent.
    thanks in advance.
    chamara

    Welcome to the forums !
    Pl indicate which version of 10g you are installing and on which version of Win 2008. Neither 10gR1 nor 10gR2 are certified to be installed on Win 2008 R1, AFAIK.
    For 10gR2, only 10.2.0.5 is certified for Win 2008 R2 - see MOS Doc 1173433.1 (How to Install Oracle 10.2.0.5 on MS Windows 7 / Windows 2008R2)
    Also see MOS Doc 740926.1 (Where can I find the Database / Client software to download for Microsoft Vista, or Windows 2008R1?).
    Both 10gR1 and 10gR2 are now in extended support - is there a reason you are not using 11gR2 ?
    HTH
    Srini

  • Reply to : TNS:protocol adapter error while starting Listener created by Oracle SES11.1.2.2 Setup

    To answer the post from Manwendra Jun 20, 2013 7:17 AM
    " TNS:protocol adapter error while starting Listener created by Oracle SES11.1.2.2 Setup "
    https://community.oracle.com/message/11077982#11077982
    Hello,
    Probably that you already have the listener up and running from your installation of SES.
    Also, you could check in your Windows Services (from the Control Panel), you'll see that
    there is a service like OraclesesTNSListener up and running.
    If it is the case, then it's probably why it is telling you the message below when trying to start it again:
    TNS-01106: Listener using listener name LISTENER has already been started
    Then, before trying to start the listener, you can check if it is already up by running the command : lsnrctl status
    If you need to shut it down, then you can run the command : lsnrctl stop
    for example, from the command line:
    > set ORACLE_SID=ASUSES
    > set ORACLE_BASE=D:\ses\
    > set ORACLE_HOME=D:\ses\seshome
    > cd %ORACLE_HOME%/bin
    > lsnrctl status            <== this will give you the status of your listener
    > lsnrctl stop              <== this will stop your listener
    > lsnrctl start             <== this will start your listener
    Hope this can help you and others.
    Regards,
    -Stephan

    i have done that. i copied the tnsnames.ora, sqlnet.ora, listener.ora files from the c:>oracle-home\network\admin folder into oracle_devhome\network\admin folder. i have also set the environment variable oracle_sid=skoolman. skoolman is my sid as you can see on the tnsnames.ora. but the error massage still comes up as soon as i run forms from the forms builder environment.
    but as i said i am able to connect to the database with my user name and pass word from within the forms builder environment to access my tables and create data blocks etc but as soon as i run the form through internet explorer the forms servlet boots up and the error massage ora-12560 tns protocol adapter error pops up.
    thanks guys for your heip. please i need more solutions

  • TNS:protocol adapter error while starting Listener created by Oracle SES11.1.2.2 Setup

    I am trying to install Oracle Secure Enterprise Search 11.1.2.2 on Windows 7 64-Bit Enterprise Edition.
    The machine has Oracle Client installed on it. Loopback adapter was configured.
    The setup created a Listener named LISTENER and SID is ASUSES.
    I am getting the following error when trying to start the Listener.
    LSNRCTL> start LISTENER
    TNS-01106: Listener using listener name LISTENER has already been started
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=01HW536484.India.TCS.com
    )(PORT=1521)))
    TNS-12537: TNS:connection closed
    TNS-12560: TNS:protocol adapter error
      TNS-00507: Connection closed
    Content of listener.ora
    # listener.ora Network Configuration File: D:\ses\seshome\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 01HW536484.India.TCS.com)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    Content of tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\ses\seshome\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ASUSES =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 01HW536484.India.TCS.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ASUSES.01HW536484.India.TCS.com)
    Content of sqlnet.ora
    # sqlnet.ora Network Configuration File: D:\ses\seshome\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    tcp.invited_nodes=(01HW536484,127.0.0.1)
    tcp.validnode_checking=yes
    sqlnet.expire_time=10
    tcp.invited_nodes=(01HW536484,127.0.0.1)
    tcp.validnode_checking=yes
    sqlnet.expire_time=10
    Kindly let me know what should be done.

    i have done that. i copied the tnsnames.ora, sqlnet.ora, listener.ora files from the c:>oracle-home\network\admin folder into oracle_devhome\network\admin folder. i have also set the environment variable oracle_sid=skoolman. skoolman is my sid as you can see on the tnsnames.ora. but the error massage still comes up as soon as i run forms from the forms builder environment.
    but as i said i am able to connect to the database with my user name and pass word from within the forms builder environment to access my tables and create data blocks etc but as soon as i run the form through internet explorer the forms servlet boots up and the error massage ora-12560 tns protocol adapter error pops up.
    thanks guys for your heip. please i need more solutions

  • ORA-12560: TNS: protocol adapter error when running forms from IE

    hi
    when i running forms i get the error
    ORA-12560: TNS: protocol adapter
    please any help

    Check if your tnsnames.ora file has the entry for database you are trying to connect.
    Are you able to connect using sqlplus??
    Navnit

  • ORA-12560: TNS:protocol adapter error in Oracle Forms...

    Hi, I installed Oracle developer suite to use for Oracle forms but am getting "ORA-12560: TNS:protocol adapter error" when trying to run a form. The database is running locally on my PC.
    I've run the command line to see if hostname matches up with the "HOST= " in the ".../network/admin/listener.ora " file match, they do. What can I try next? I did have Oracle 10gXE installed, which I have now removed. I'm including my tnsnames and listener file content:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    Thanks in advance for any help!

    Of course you found another one. Each .and every Oracle database client home (such as developer, app server) has one.
    Don't just change the port - the tnsnames.ora in the dev home does not point to a database service. It only points to an extproc [external procedure called by a database]. You need to put a database service entry into that file similar to the one in the database home. (Easiest solution - copy the tnsnames.ora from db home ... after you've made a backup)
    And please don't tell me you are using Developer 6i - a simple Google search would verify that the networking is incompatible.

  • TNS-12560: TNS:protocol adapter error on Oracle Enterprise Linux

    hi,
    I am getting -
    TNS-12560: TNS:protocol adapter error when I try to connect the Db installed on Oracle Enterprise Linux from other machines.
    I made all the .bash_profile changes and created one shared listener also to check whether there is any problem with the dedicated default listener or its port.
    Please suggest the solution .
    Regards
    sumit chaudhary

    You need to open the firewall on OEL.
    Edit the contents of /etc/sysconfig/iptables file. I added the line in bold:
    # Firewall configuration written by system-config-securitylevel
    # Manual customization of this file is not recommended.
    *filter
    :INPUT ACCEPT [0:0]
    :FORWARD ACCEPT [0:0]
    :OUTPUT ACCEPT [0:0]
    :RH-Firewall-1-INPUT - [0:0]
    -A INPUT -j RH-Firewall-1-INPUT
    -A FORWARD -j RH-Firewall-1-INPUT
    -A RH-Firewall-1-INPUT -i lo -j ACCEPT
    -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
    -A RH-Firewall-1-INPUT -p 50 -j ACCEPT
    -A RH-Firewall-1-INPUT -p 51 -j ACCEPT
    -A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
    -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
    -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
    -A RH-Firewall-1-INPUT -m state state NEW -m tcp -p tcp dport 22 -j ACCEPT
    *-A RH-Firewall-1-INPUT -m state state NEW,ESTABLISHED,RELATED -m tcp -p tcp dport 1521 -j ACCEPT*
    -A RH-Firewall-1-INPUT -m state state NEW -m udp -p udp dport 137 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state state NEW -m udp -p udp dport 138 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state state NEW -m tcp -p tcp dport 139 -j ACCEPT
    -A RH-Firewall-1-INPUT -m state state NEW -m tcp -p tcp dport 445 -j ACCEPT
    -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
    COMMIT
    As you can see, my listener port is 1521.
    Do not put that line after the line with REJECT keyword ( it won't work then) !
    Save and close the file. Restart iptables:
    /etc/init.d/iptables restart
    Now you can connect from the outside.
    It works on my OEL version 5 update 4.

  • TNS-12560: TNS:protocol adapter error listener not starting up.

    Hi all
    we came to an issue where we have to move our server from one data centre to another after unplugging the machine and re-plugging the server
    1) Operating system (OEL 5.1) started.
    2) Database 11gR2 started.
    3) Listener Failed to Start.
    [oracle@yam01 tmp]$ lsnrctl start lsn_yscc12
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-OCT-2012 07:57:58
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/bin/tnslsnr: please wait...
    TNS-12537: TNS:connection closed
    TNS-12560: TNS:protocol adapter error
    TNS-00507: Connection closed
    Linux Error: 29: Illegal seek
    [oracle@yam01 tmp]$
    When checked in sqlnet.log we found.
    [oracle@yam01 log]$ cat sqlnet.log
    Directory does not exist for read/write [u01/app/oracle/product/11.2.0/log] [u01/app/oracle/product/11.2.0/log/diag/clients]
    [oracle@yam01 log]$
    /u01/app/oracle/product/11.2.0/log
    /u01/app/oracle/product/11.2.0/log/diag/clients --> here under diag folder client folder was missing.
    drwxrwxr-x 3 oracle oinstall 4096 Sep 30 12:59 /u01/app/oracle/product/11.2.0/log/diag/
    *[oracle@yam01 log]$ cd /u01/app/oracle/product/11.2.0/log/diag/clients*
    -bash: cd: /u01/app/oracle/product/11.2.0/log/diag/clients: No such file or directory
    *[oracle@yam01 log]*
    [oracle@yam01 diag]$ mkdir clients
    [oracle@yam01 diag]$ ls -ltr
    total 12
    drwxr-x--- 3 oracle oinstall 4096 Sep 30 12:59 rdbms
    -rw-r----- 1 oracle oinstall 15 Oct 2 07:43 adrci_dir.mif
    drwxr-xr-x 2 oracle oinstall 4096 Oct 2 08:27 clients
    [oracle@yam01 diag]$
    and added *"SUBSCRIBE_FOR_NODE_DOWN_EVENT_lsn_yscc12=OFF"*
    and then when started all the listener it started successfully.+_
    [oracle@yam01 ~]$ lsnrctl status lsn_yscc12
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-OCT-2012 08:40:19
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=100.100.50.199)(PORT=1603)))
    STATUS of the LISTENER
    Alias lsn_yscc12
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 02-OCT-2012 08:28:09
    Uptime 0 days 0 hr. 12 min. 9 sec
    Trace Level admin
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/yam01/lsn_yscc12/alert/log.xml
    Listener Trace File /u01/app/oracle/diag/tnslsnr/yam01/lsn_yscc12/trace/ora_10095_3086223040.trc
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=100.100.50.199)(PORT=1603)))
    Services Summary...
    Service "YSCC12.YAMAMACEMENT.COM" has 1 instance(s).
    Instance "yscc12", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@yam01 ~]$
    Thanks all for Reading this post
    hope if you came across this issues this may work for you.
    Best Regards
    Kaleem.

    Welcome to OTN
    Thank you For you sharing :)

  • Lsnrctl start newlist, TNS-12560: TNS:protocol adapter error

    Hello I am using Windows 7. Oracle 11g R2. Firstly I created my directory C:\oracle\net. Then I created an entry for TNSADMIN in the windows registry entering the newly created c:\oracle\net.
    I ran Oracle Net Manager. The path C:\oracle\net is displayed in the title bar.
    Using Oracle Net Manager I created my listener with the following settings as saved to listener.ora in the C:\oracle\net directory
    # listener.ora Network Configuration File: C:\oracle\net\listener.ora
    # Generated by Oracle configuration tools.
    ADR_BASE_NEWLIST = C:\app\oracle\product\11.2.0\dbhome_2\log
    NEWLIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 2521))
    From the command line prompt I type ......
    lsnrctl start newlist
    The following is returned
    starting tnslnsr: please wait...
    followed by
    TNS-12560: TNS:protocol adapter error
    TNS-00530: TNS:protocol adapter error
    ??? How do I resolve this? thanks

    The above scenario is part of a learning exercise (ex6.1) from the chapter on configuring the Oracle Net Environment OCA Oracle Database 11g Administration I Exam Guide by John Watson from the Oracle Press series.
    127.0.0.1 is the loopback address of (all) local machines.
    This step is step 16 of the learning exercise. Until I resolve it I cannot complete the remaining steps!
    The steps of the exercise are as below..........................
    Configure Oracle Net
    In this exercise, you will set up a complete Oracle Net environment, using graphical
    and command-line tools. Where there are differences between Windows and Linux,
    these will be pointed out.
    1. Create a directory to be used for the Oracle Net configuration files, and set
    the TNS_ADMIN variable to point to this. It doesn’t matter where the direc-
    tory is, as long as the Oracle user has permission to create, read, and write it.
    On Linux:
    mkdir /u01/oracle/net
    export TNS_ADMIN=/u01/oracle/net
    Ensure that all work from now is done from a session where the variable has
    been set.
    On Windows:
    mkdir d:\oracle\net
    Create and set the key TNS_ADMIN as a string variable in the registry in
    the Oracle Home branch. This will typically be
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb1g_home1
    2. Check that the variable is being read by using the TNSPING command from
    an operating system prompt:
    tnsping orcl
    This will return an error “TNS-03505: Failed to resolve name” because there
    are no files in the TNS_ADMIN directory. On Windows, you may need to
    launch a new command prompt to pick up the new TNS_ADMIN value from
    the registry.
    3. Start the Net Manager. On Linux, run netmgr from an operating system
    prompt; on Windows, launch it from the Start menu. The top line of the Net
    Manager window will show the location of the Oracle Net files. If this is not
    the new directory, then the TNS_ADMIN variable has not been set correctly.
    4. Create a new listener: expand the Local branch of the navigation tree,
    highlight Listeners, and click the +.
    5. Enter a listener name, NEWLIST, and click OK.
    6. Click Add Address.
    7. For Address 1, choose TCP/IP as the protocol and enter 127.0.0.1 as the
    host, 2521 as the port. The illustration that follows shows the result.
    8. Create a new service name: highlight Service Naming in the navigation tree,
    and click the +.
    9. Enter NEW as the net service name, and click Next.
    10. Select TCP/IP as the protocol, and click Next.
    11. Enter 127.0.0.1 as the host name and 2521 as the port and click Next.
    12. Enter SERV1 as the Service Name, and click Next.
    13. Click Finish. If you try the test, it will fail at this time. The illustration that
    follows shows the result.
    14. Save the configuration by clicking File and Save Network Configuration.
    This will create the listener.ora and tnsnames.ora files in the
    TNS_ADMIN directory.
    15. Use an editor to check the two files. They will look like this:
    LISTENER.ORA:
    NEWLIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 2521))
    TNSNAMES.ora:
    NEW =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT =
    2521))
    (CONNECT_DATA =
    (SERVICE_NAME = SERV1)
    16. From an operating system prompt, start the listener with lsnrctl start
    newlist.
    17. From an operating system prompt, test the connect string with tnsping new.
    000
    18. Connect to your database using operating system authentication, bypassing
    any listener, with sqlplus / as sysdba.
    19. Set the service_names and local_listener parameters for the running
    instance (memory only, not the parameter file) and register the new service
    name with the new listener:
    alter system set service_names=serv1 scope=memory;
    alter system set local_listener=new scope=memory;
    alter system register;
    20. From an operating system prompt, confirm that the new service has registered
    with the new listener with lsnrctl services newlist.
    21. Confirm that the new network environment is functional by logging on:
    sqlplus system/oracle@new

  • TNS-12560: TNS:protocol adapter error, ORA-12535: TNS:operation timed out

    I installed Oracle 9i (9.2.0.1.0) on a Windows XP machine (the machine is in a domain). There were no errors during the instalation, but I have problems connecting from the same machine using the sid. Here are some examples from a command promt:
    D:\>tnsping orcl9i
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 31-OCT-20
    08 17:43:22
    Copyright (c) 1997 Oracle Corporation.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = timisoara01)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl9i)))
    TNS-12560: TNS:protocol adapter error
    D:\>sqlplus "sys/pass@orcl9i as sysdba"
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 17:54:54 2008
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    ERROR:
    ORA-12535: TNS:operation timed out
    Enter user-name:If I don't use the sid I can connect:
    D:\>sqlplus "sys/pass as sysdba"
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 18:05:46 2008
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL>If I go to services I see that the service is running: OracleServiceORCL9I Started.
    Thx.

    Yes, the XP firewall is running. During the Oracle instalation it poped up twice, but I selected 'Unblock'. I can't turn it off because it is running using the domain settings, but I can add exceptions (programs or ports). Port 1521, tnsping or sqlplus are not blocked and there is an option 'Display a notification when Windows Firewall blocks a program' witch is checked.

  • R12 Vision Install Fails, TNS-12560: TNS:protocol adapter error

    Below please find the NetServiceHandler.log from the install and an excerpt from ApplyDBTechStack...log
    OS: Windows Server 2003 SP2 x86
    I have installed the loopback adapter, modified the hosts file, and entered the DNS info. Not sure what else I can do.
    -----------begin NetServiceHandler.log-------------------------
         Classpath : ;D:\oracle\VIS\db\tech_st\11.1.0\jdbc\lib\ojdbc6.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java\xmlparserv2.jar;D:\oracle\VIS\db\tech_st\11.1.0\appsutil\java;D:\oracle\VIS\db\tech_st\11.1.0\jlib\netcfg.jar;D:\oracle\VIS\db\tech_st\11.1.0\jlib\ldapjclnt11.jar
    ===============================================================================
    NetServiceHandler 120.19 started for oracleebs at Wed Jun 13 09:32:30 PDT 2012
    ===============================================================================
    [ Context Information ]
    Host : oracleebs
    Domain : demo.com
    Out Dir : D:\oracle\VIS\db\tech_st\11.1.0/appsutil/out/VIS_oracleebs/06130932
    Tier Type : DATABASE TIER
    Getting connection...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : oracleebs
    sDbDomain : demo.com
    sDbPort : 1521
    sDbSid : VIS
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oracleebs.demo.com:1521:VIS
    Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS)))
    Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracleebs.demo.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS.demo.com)))
    Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    Could not get connection to the database.
    Exiting with status 100 to instantiate the tnsnames.ora template
    Creation of Directory - D:\oracle\VIS\db\tech_st\11.1.0\NETWORK\ADMIN\VIS_oracleebs Succeeded.
    instantiate file:
    source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8itns.ora
    dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\tnsnames.ora
    AutoConfig is exiting with status 0
    instantiate file:
    source : D:\oracle\VIS\db\tech_st\11.1.0\appsutil\template\ad8ilsnr.ora
    dest : D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
    AutoConfig is exiting with status 0
    adgentns.pl exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    ----------------end NetServiceHandler.log------------------------
    -------------------begin excerpt ApplyDBTechStack...log--------------------
    SNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:41
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    LSNRCTL for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUN-2012 09:32:43
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    Failed to open service <OracleTNSListenerVIS>, error 1060.
    TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
    Message 459 not found; No message file for product=NETWORK, facility=NL
    Message 279 not found; No message file for product=NETWORK, facility=NL
    Message 1073 not found; No message file for product=NETWORK, facility=TNS
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracleebs.demo.com)(PORT=1521)))
    STATUS of the LISTENER
    Alias VIS
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
    Start Date 13-JUN-2012 09:32:46
    Uptime 0 days 0 hr. 0 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\VIS\db\tech_st\11.1.0\network\admin\VIS_oracleebs\listener.ora
    Listener Log File D:\oracle\VIS\db\tech_st\11.1.0/network/admin\vis.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.68)(PORT=1521)))
    Services Summary...
    Service "VIS" has 1 instance(s).
    Instance "VIS", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    addlnctl.cmd exiting with status 0
    OpenService failed
    adsvdlsn.cmd exiting with status 1007
    ERRORCODE = 1007 ERRORCODE_END
    .end std out.
    .end err out.
    -------------------end excerpt ApplyDBTechStack...log-------------------------

    Hi;
    Pelase check below notes which is mention same error message
    On Windows, After 10g Upgrade, Running Autoconfig on Apps Tier Failed with : Unable To Start Apps Services TNS-12224: TNS:no listener TNS-12541 TNS-12560: TNS:protocol adapter error TNS-00511: N .. [ID 577713.1]
    Windows Autoconifg on dbTier fails on adcrobj.cmd & adsvdlsn.cmd [ID 356927.1
    Rapid Clone on Windows Fails When SID Is Over 8 Characters: "Rc-00118: Error Occurred During Creation Of Database, Failed to open service" [ID 405688.1]
    Regard
    Helios

  • TNS-12560: TNS:protocol adapter error

    Hi,
    I recently upgraded from oracle 9 to 10g and I get the error above.
    I created a new database I CAN connect to it using sqlplus (from console), but I cannot connect using any ide.
    .ora files are the following:
    listener.ora:
    LISTENER =
         (DESCRIPTION_LIST =
              (DESCRIPTION =
                   (ADDRESS_LIST =
                        (ADDRESS = (PROTOCOL = TCP)(HOST = loki.dev.justplus.ro)(PORT = 1521))
    sqlnet:
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    tnsnames:
    SM_LOKI =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = loki.dev.justplus.ro)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SM)
    Oracle version is:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    When I try to start listener (lsnrctl status) I get the error:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=loki.dev.justplus.ro)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    Forgot to mention the OS: windows 2003
    Any help is appreciated.
    Thanks.

    You didn't describe how you performed the upgrade process. But it looks like you performed a migration process instead. If there is no listener service listed it's because it has never been started, or even configured. You should use the netca or the network manager to configure the listener and start it. The first time it starts it shows an error on windows platforms because the service originally doesn't exist, once it is created it displays the listener status.
    Please check the name resolution mechanism. If you are working on dhcp assigned IP or if you have a fixed IP. In case you are working with dynamic IP address you should configure a loopback adapter, and I suggest you reading this reference: Connectivity. Loopback Adapter.
    ~ Madrid

Maybe you are looking for