About error TNS-03505

Hi to all,
I have created a DB Link to remote MS SQL Server DB and I have modified the listener .ora and tnsnames.ora files.
The link work fine fine; if I try to query a remote table, the data are correctly displayed.
But if I run the tnsping <myconnection> an error TNS-03505 is returned.
Can You help me ?
This is the listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = <myHost>)(PORT = 1521))
(ADDRESS =( PROTOCOL = ipc)(KEY = PNPKEY))
(ADDRESS = (PROTOCOL = TCP)(HOST = <myHost>)(PORT = 1522))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.2.0\OraDb10g)
(PROGRAM = extproc)
(SID_DESC=
(SID_NAME=MYSQLDSN)
(ORACLE_HOME = d:\oracle\product\10.2.0\Oradb10g)
(PROGRAM=hsodbc)
and this my tnsnames.ora
MYAPPDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <myHost>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = MYAPPDB)
MYSQLDSN =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=<myHost>)(PORT=1522))
(CONNECT_DATA=(SID=MYSQLDSN))
(HS=OK)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Thanks in advance and Best Regards
Gaetano

03505, 00000, "Failed to resolve name"
// *Cause:  The service name you provided could not be found in TNSNAMES.ORA,
// an Oracle Names server, or a native naming service.
// *Action: Verify that you entered the service name correctly.  You may need
// to ensure that the name was entered correctly into the network
// configuration.

Similar Messages

  • Tnsping error - TNS-03505: Failed to resolve name

    folks,
    getting a strange problem - i have installed oracle 9i server in a WinXP machine and have installed a database UIIVS1.WORLD - this is the global_database_name.
    but when i am trying to access it from a client, i am unable to do so.
    doing a tnsping gives me the error -
    C:\>tnsping uiivs1.world
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 28-OCT-20
    04 16:19:03
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    D:\oracle\ora92\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    thanks and regards,
    Prasenjit

    Check that uiivs1.world is present in the Client TNSNAMES.ORA file, in D:\oracle\ora92\network\admin.

  • TNS-03505

    When Tnsping to my sql 2000 server i get the next error:
    TNS-03505 : Naam niet herleid
    I have posted the tnsnames.ora,listener.ora, sqlnet.ora below
    TNSNAMES
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\controle\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    CONTROLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = jswin31)(PORT = 1521))
    (CONNECT_DATA = (ATS_CFG))
    (HS = OK)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    LISTENER
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\controle\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = extproc)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\controle)
    (SID_DESC =
    (SID_NAME = ATS_CFG)
    (ORACLE_HOME = C:\oracle\product\10.2.0\controle)
    (PROGRAM = HSODBC)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = jswin31)(PORT = 1521))
    SQLNET
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\controle\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, EZCONNECT, HOSTNAME)

    Tnx for replying, but is did this is mine INITATS_CFG.ora
    it is placed in the hs\admin directory of the database
    sql2000 is also the name of the ODBC.
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = sql2000
    #HS_FDS_TRACE_LEVEL = <trace_level>
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>

  • Persistent TNS-03505 error

    Hi
    I am getting the tns-03505 error when trying to connect. I have used a known good tnsnames.ora file, and can connect with the IP but not service name.
    The same happens with TNSPing - as in I can ping IP but not service name.
    Any help greatly appreciated.
    Best Regards
    Jamie

    Can you post the relevent tnsnames.ora entry?
    What happens when you ping the host name (not service name) specified in the tnsnames.ora file?
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com

  • TNS-03505 error

    Hi,
    I've got a TNS-03505 error on a PC trying to connect to 2 differents databases. The tnsnames.ora seems correct :
    HPERISQOP.ARPEGE.SOCGEN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.128.162.193)(PORT = 1548))
    (CONNECT_DATA = (SID = hperisqop)(SERVER = DEDICATED))
    HPERISQOP2.ARPEGE.SOCGEN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.128.162.187)(PORT = 1572))
    (CONNECT_DATA = (SID = hperisqop2)(SERVER = DEDICATED))
    I can connect to the first database but not the second. Have you got an idea or a solution ?
    Regards,
    Olivier D.

    Looks like there is some problem with the second entry or some other entry in your tnsnames.ora file.
    cut and paste the tnsnames entry(which is not working) on the top of tnsnames.ora and makes sure no other entry with the same name in tnsnames.ora file and test is tnsping is working or not?
    Srinath

  • Error TNS: listener does not curnetly jnow of service requested in connect

    hello
    i get error TNS: listener does not curnetly jnow of service requested in connect descriptor
    when i write tnsping ora920 i get
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-└┬├.
    -2010 23:26:55
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    C:\Users\fg>

    784633 wrote:
    hello
    i get error TNS: listener does not curnetly jnow of service requested in connect descriptor
    when i write tnsping ora920 i get
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-└┬├.
    -2010 23:26:55
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    That's not the same error you reported in the thread subject ....
    A TNS-03505 is very much like a 12154.
    =================================
    ORA-12154: TNS:could not resolve the connect identifier specified
    This error means one thing, and one thing only. The client could not find the specified entry in the tnsnames.ora file being used.
    As a follow-on to that statement, remember that when you use a dblink, the database in which the link is defined is acting as a client to the database that is the target of the link. So in this case, the tnsnames.ora file on the host of your source should have an entry for your target db, as defined in the db_link.
    And for the umpteenth time ... this error has <b><i><u>NOTHING</u></i></b> to do with the status of a listener. The connection request never got far enough to reach a listener. If anyone tells you to check a listener in response to ora-12154, they are not paying attention, or do not understand how TNS works. This error is the equivalent of not being able to place a telephone call because you don't know the number of the party you want to reach. You wouldn't debug that situation by going to the other guy's house and testing his telephone, or by going to the phone company and testing the switchboard. And you don't debug a ORA-12154 by checking the listener. If I had a top ten list of "Incredibly Simple Concepts (tm)" that should be burned into the brain of everyone who claims to be an Oracle DBA, it would include "ORA-12154 Has Nothing To Do With The Listener".
    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    =====================================
    C:\Users\fg>

  • TNS-12560: TNS:protocol adapter error  TNS-00530: Protocol adapter error

    Unable to start listener service.
    Running Oracle Database 11gr2 on Windows 7.
    I just installed Oracle with the "install software only" option.
    Already set up the instance, the database, the dictionary views, etc.
    Created tsnames.ora, sqlnet.ora and listener.ora as shown below.
    Before installing Oracle I followed the instruction on Oracle
    documentation to install a Loopback Adapter.
    It is set up as the primary adapter as indicated on the
    instructions. The name is "gabylan" (previously the computer
    name was "P4". I set up the "hosts" file as indicated, the oracle_hostname
    variable, etc. as you will see below. I don't know if it's important to "uncomment"
    the line on the "hosts" file for the "localhost" entry, I left it
    as it was originally.
    Services currently in "Started" Status:
    OracleServiceorcl
    Oracle orcl VSS Writer Service
    OracleMTSRecoveryService
    OracleOraDb11g_home1ClrAgent
    OracleServiceorcl
    Below is a summary of the error message and some information
    about my system setup to help you diagnose my problem.
    ===============================================================================
    c:\Users\Public\myscripts>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 13:48
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    c:\Users\Public\myscripts> lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-SEP-2012 16:17:16
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gabylan)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    ================================================================================
    My "hosts" File: (c:\windows\system32\drivers\etc\hosts)
    # localhost name resolution is handled within DNS itself.
    #     127.0.0.1 localhost
    #     ::1 localhost
    192.168.5.5          gabylan          gabylan
    =================================================================================
    c:\Users\Public\myscripts>ipconfig /all
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : gabylan
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter Local Area Connection 2:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft Loopback Adapter
    Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::b8f5:bbb0:cf8b:c735%15(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.5.5(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    DHCPv6 IAID . . . . . . . . . . . : 335675468
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
    DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
    fec0:0:0:ffff::2%1
    fec0:0:0:ffff::3%1
    NetBIOS over Tcpip. . . . . . . . : Enabled
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Realtek RTL8102E/RTL8103E Family PCI-E Fast Ethernet NIC (NDIS 6.20)
    Physical Address. . . . . . . . . : 00-25-22-51-68-AB
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::7538:173c:c202:4985%10(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Lease Obtained. . . . . . . . . . : Tuesday, September 18, 2012 11:37:37 AM
    Lease Expires . . . . . . . . . . : Wednesday, September 19, 2012 1:45:01 PM
    Default Gateway . . . . . . . . . : 192.168.1.1
    DHCP Server . . . . . . . . . . . : 192.168.1.1
    DHCPv6 IAID . . . . . . . . . . . : 234890530
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-B7-78-52-00-25-22-51-68-AB
    DNS Servers . . . . . . . . . . . : 192.168.1.1
    NetBIOS over Tcpip. . . . . . . . : Enabled
    =================================================================================
    # sqlnet.ora Network Configuration File:
    # c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
    # 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.
    # OTHER OPTION FOR AUTHENTICATION IS: SQLNET.AUTHENTICATION_SERVICES= (NTS)
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME, EZCONNECT)
    ADR_BASE = c:\app\oracle\
    ====================================================================================
    # tnsnames.ora Network Configuration File:
    # c:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
    orcl =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gabylan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    ====================================================================================
    # listener.ora Network Configuration File:
    # c:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gabylan)(PORT = 1521))
    SID_LIST_LISTENER =
         (SID_LIST =
              (SID_DESC =
         (ORACLE_HOME = c:\app\oracle\product\11.2.0\dbhome_1)
         (SID_NAME = orcl)
    ADR_BASE_LISTENER = c:\app\oracle
    =================================================================================
    c:\Users\Public\myscripts>ping gabylan
    Pinging gabylan [192.168.5.5] with 32 bytes of data:
    Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
    Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
    Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
    Reply from 192.168.5.5: bytes=32 time<1ms TTL=128
    Ping statistics for 192.168.5.5:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    =================================================================================     
    Some related environment variables on my system:
    COMPUTERNAME=GABYLAN
    FP_NO_HOST_CHECK=NO
    HOMEPATH=\Users\oracle
    LOGONSERVER=\\GABYLAN
    ORACLE_HOME=c:\app\oracle\product\11.2.0\dbhome_1
    ORACLE_HOSTNAME=gabylan
    ORACLE_SID=orcl
    ORACLE_UNQNAME=orcl
    SQLPATH=c:\users\public\myscripts
    USERDOMAIN=GABYLAN
    USERNAME=oracle
    USERPROFILE=C:\Users\oracle
    ==================================================================================
    Summary from V$INSTANCE VIEW:
    INSTANCE
    NAME    HOSTNAME STARTUP_T STATUS DATABASE_STATUS ACTIVE_ST
    orcl GABYLAN STARTED      ACTIVE NORMAL
    =================================================================================
    Thanks,
    Gabriel

    I am getting the same error while starting or stopping the listener
    LSNRCTL> start CSCLIST
    Starting tnslsnr: please wait...
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    LSNRCTL> stop CSCLIST
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CSCINDAE708070)(PORT=152
    2)))
    NL-00303: syntax error in NV string
    TNS-01153: Failed to process string: (DESCRIPTION=(CONNECT_DATA=(CID=(PROGRAM=)
    (HOST=)(USER=Manager(REMOVE)))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=CSCLIST)(VERS
    ION=186646784)))
    Pls help
    Listener.ora:
    # listener.ora Network Configuration File: D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    CSCLIST =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = CSCINDAE708070)(PORT = 1522))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    SID_LIST_CSCLIST =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\Sagaya\11gDBhome\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    ADR_BASE_CSCLIST = D:\Sagaya\11gDBhome

  • TNS-03505:Failed to resolve name in oracle 11g.

    i install oracle 11g client in my pc.i want to connect to the server i also used and install Toad Tools. i have server ip address.192.168.1.162 and userid and password and port number-1521
    when i connect to the toad and its make error like that
    ORA-12541TNS- no listener.
    and this is my tnsnames.ora file ,
    # tnsnames.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ERP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IT-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = erp)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =IT-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    mlmdb =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.162)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = mlmdb)
    and i want to connect mlmdb from server.
    and this is my listner.ora file
    # listener.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\IT\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\IT\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST =IT-PC)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\IT
    and this is my sqlnet.ora file
    # sqlnet.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\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)
    when i connect form the run--cmd--tnsping mlmdb
    its make error likes this
    TNS-03505 : failed to resolve name ,
    can anyone help me how can i find this solution
    thanks in advance.

    904803 wrote:
    i install oracle 11g client in my pc.i want to connect to the server i also used and install Toad Tools. i have server ip address.192.168.1.162 and userid and password and port number-1521
    when i connect to the toad and its make error like that
    ORA-12541TNS- no listener.
    and this is my tnsnames.ora file ,
    # tnsnames.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ERP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IT-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = erp)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =IT-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    mlmdb =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.8.162)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = mlmdb)
    and i want to connect mlmdb from server.
    and this is my listner.ora file
    # listener.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\IT\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\IT\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST =IT-PC)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\IT
    and this is my sqlnet.ora file
    # sqlnet.ora Network Configuration File: E:\app\IT\product\11.2.0\dbhome_1\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)
    when i connect form the run--cmd--tnsping mlmdb
    its make error likes this
    TNS-03505 : failed to resolve name ,
    can anyone help me how can i find this solution
    thanks in advance.looks like listener is not running on the database server you are trying to connect to *(ORA-12541TNS- no listener)*. even though you have configured both tnsnames and lisnterner.ora files, you have to start listener for clients to make connections to db. hope this helps. set your oracle home and then type as below. these commands are very simple and I don't think I need to explain them.
    cmd> lsnrctl status
    cmd> lsnrctl start
    cmd> lsnrctl stop

  • Ora-12154 vs. tns-03505

    Since both ora-12154 and tns(ora)-03505 deal with not being able to locate a connect string in tnsnames (or other naming method), has anyone ever seen a good definition of exactly what differentiates between the two? What little variable would trigger the issuing of one error msg.vs. the other?
    I know how to resolve them. The web is full of descriptions on resolving the problem (some of them are even valid! ;-) ). But I've never seen anything that would define why you would see an ora-12154 on time, and an tns-03505 another time.
    Inquiring minds want to know! (Since this deals with published error codes, it's <i>somewhat</i> less arcane than how the archiver determines the "first" member of a redolog group! :-)

    sybrand_b wrote:
    IIRC only tnsping will produce tns-03505.
    Sybrand Bakker
    Senior Oracle DBACould be. I never picked up on any pattern of behavior before (thus my question). A simple test seems to bear that out:
    With tnsping
    [oracle@vmlnx01 ~]$ tnsping fubar
    TNS Ping Utility for Linux: Version 10.2.0.4.0 - Production on 16-FEB-2011 16:33
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    Used parameter files:
    /ora00/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    TNS-03505: Failed to resolve namesame connect string with sqlplus
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger@fubar
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Feb 16 16:35:53 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name:

  • TNS-03505 Failed to Resolve Hostname

    Guys I am having trouble with a NW2004s installation.  I am getting the following error when I do a TNSPING of my listener (LISTENER_DC1)
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.2.0.2.0 - Production o
    n 03-SEP-2008 08:35:19
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    /oracle/DC1/102_64/network/admin/sqlnet.ora
    TNS-03505: Failed to resolve name
    p15913dtp220:oradc1> ^C
    p15913dtp220:oradc1> ^C
    p15913dtp220:oradc1>
    Here is my sqlnet.ora file
    p15913dtp220:oradc1> cat sqlnet.ora
    Filename......: sqlnet.ora
    Created.......: created by SAP AG, R/3 Rel. >= 6.10
    Name..........:
    Date..........:
    @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/SQLNET.ORA#4 $
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    NAMES.DEFAULT_DOMAIN = WORLD
    05.01.06 unsorported parameter now
    #NAME.DEFAULT_ZONE = WORLD
    05.01.06 set the default to 10
    SQLNET.EXPIRE_TIME = 10
    05.01.06 set to default
    #TCP.NODELAY=YES
    05.01.06 set to 32768
    DEFAULT_SDU_SIZE=32768
    This is my TNSNAMES.ORA file
    Filename......: tnsnames.ora
    Created.......: created by SAP AG, R/3 Rel. >= 6.10
    Name..........:
    Date..........:
    @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    DC1.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (COMMUNITY = SAP.WORLD)
            (PROTOCOL = TCP)
            (HOST = sapdbdc1-sv)
            (PORT = 1539)
        (CONNECT_DATA =
          (SID = DC1)
          (GLOBAL_NAME = DC1.WORLD)
    This is my Listener.ora file
    Filename......: listener.ora
    Created.......: created by SAP AG, R/3 Rel. >= 6.10
    Name..........:
    Date..........:
    @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4
    ADMIN_RESTRICTIONS_LISTENER_DC1 = on
    LISTENER_DC1 =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY = DC1.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = DC1)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = sapdbdc1-sv)
              (PORT = 1539)
    STARTUP_WAIT_TIME_LISTENER_DC1 = 0
    CONNECT_TIMEOUT_LISTENER_DC1 = 10
    TRACE_LEVEL_LISTENER_DC1 = OFF
    SID_LIST_LISTENER_DC1 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = DC1)
          (ORACLE_HOME = /oracle/DC1/102_64)
        (SID_DESC =
          (SID_NAME = DC1)
          (ORACLE_HOME = /oracle/DC1/102_64)
    Any help much appreciated !!
    Thanks

    Cheers I am getting a bit further .....
    Fisrst I can start the database using SQLPLUS
    p15913dtp220:oradc1> sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Sep 3 16:27:23 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 4714397696 bytes
    Fixed Size                  2083728 bytes
    Variable Size            2365588592 bytes
    Database Buffers         2332033024 bytes
    Redo Buffers               14692352 bytes
    Database mounted.
    Database opened.
    SQL>
    Now as oradc1 I can start the listener
    LSNRCTL> START LISTENER_DC1
    Starting /oracle/DC1/102_64/bin/tnslsnr: please wait...
    TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.2.0 - Production
    System parameter file is /oracle/DC1/102_64/network/admin/listener.ora
    Log messages written to /oracle/DC1/102_64/network/log/listener_dc1.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=DC1.WORLD)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=DC1)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.127.158.138)(PORT=153
    9)))
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=DC1.WORLD))
    STATUS of the LISTENER
    Alias                     LISTENER_DC1
    Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.2
    .0 - Production
    Start Date                03-SEP-2008 16:36:20
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      ON
    Listener Parameter File   /oracle/DC1/102_64/network/admin/listener.ora
    Listener Log File         /oracle/DC1/102_64/network/log/listener_dc1.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=DC1.WORLD)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=DC1)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.127.158.138)(PORT=1539)))
    Services Summary...
    Service "DC1" has 1 instance(s).
      Instance "DC1", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    And R3trans u2013d works
    p15913dtp220:dc1adm> R3trans -d
    This is R3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
    unicode enabled version
    R3trans finished (0000).
    BUT when I run startdb  u2026
    It just crashes u2026
    p15913dtp220:dc1adm> startdb
    Trying to start DC1 database ...
    Log file: /home/dc1adm/startdb.log
    /usr/sap/DC1/SYS/exe/run/startdb: Terminating with error code 16
    p15913dtp220:dc1adm> more startdb.log
    Wed Sep 3 16:39:14 BST 2008
    LOGFILE FOR STARTING ORACLE
    Trying to start DC1 database ...
    Wed Sep 3 16:39:14 BST 2008
    checking required environment variables
    ORACLE_HOME  is >/oracle/DC1/102_64<
    ORACLE_SID   is >DC1<
    Wed Sep 3 16:39:14 BST 2008
    check initora
    /usr/sap/DC1/SYS/exe/run/startdb: Terminating with error code 16
    p15913dtp220:dc1adm>

  • Tnsping Errror - TNS-03505: Failed to resolve name

    Morning Everyone,
    Minute ago i was trying to check connectivity of my default instance using 'tnsping' OS command but it failed to resolve the instance name:
    Before i provide you the error codes below is the number of instances running:
    ================================================
    [root@localhost ~]# ps -ef | grep smon
    oracle 2561 1 0 09:29 ? 00:00:01 ora_smon_orcl
    oracle   13888     1  0 12:18 ?        00:00:00 ora_smon_doom /* Trying to ping this instance named 'Doom' */
    root 21039 21006 0 14:15 pts/1 00:00:00 grep smon
    ================================================
    Exact error messsage:
    =====================================================
    [oracle@localhost root]$ echo $ORACLE_SID
    orcl
    [oracle@localhost root]$ export ORACLE_SID=doom
    [oracle@localhost root]$ echo $ORACLE_SID
    doom
    [oracle@localhost root]$ sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Apr 21 14:19:12 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select name, open_mode from v$database;
    NAME OPEN_MODE
    DOOM READ WRITE
    SQL> !tnsping doom_ /* Error in spite of 'Doom' instance is already running and open' */
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 21-APR-2012 14:19:21
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    TNS-03505: Failed to resolve name
    SQL> !tnsping orcl
    SQL> !tnsping orcl /* No error when tried to ping even when 'orcl' instance is not running*/
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 21-APR-2012 14:19:40
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (0 msec)
    SQL>
    =================================================================================
    Thanks
    - Prashant Dixit

    Below are the new contents of tnsnames.ora file -
    ======
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = test)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    DOOM =
    *(DESCRIPTION =*
    *(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))*
    *(CONNECT_DATA =*
    *(SERVER = DEDICATED)*
    *(SERVICE_NAME = doom)*
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ==========================================
    Thanks
    Prashant Dixit

  • TNS-03505: Failed to resolve name while do TNSPING "SERVICE-NAME"

    Dear All,
    I am unable to connect to DB on Windows thru SQLPLUS DB/PWD
    Also, when doing tnsping, it thru below error message- please help
    Used parameter files:
    D:\app\Administrator\product\11.2.0\client_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    Regards,
    Anand

    ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 NEVER involves the listener, the database itself or anything on the DB Server.
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
    The lookup operation fails because the name provided can NOT be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • Am unable to start the listener, it throws error# TNS-12560 and TNS-00583.

    $ lsnrctl start
    ---------------------------------------------------ERROR MESSAGE----------------------------
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-SEP-2011 00:01:50
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    TNS-12560: TNS:protocol adapter error
    TNS-00583: Valid node checking: unable to parse configuration parameters
    Listener failed to start. See the error message(s) above...
    am using two database 1)bullet 2)karthy where bullet db is target and karthy is catalog and my LISTENER ENTRY is
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = karthy)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (global_name = karthy)
    (SID_DESC =
    (SID_NAME = bullet)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (global_name = bullet)
    my TNS entry is
    tns_bull
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(port=1521))
    (CONNECT_DATA =
    (server=dedicated)
    (service_name=karthy)
    kindly correct me where am gone wrong...

    ksk wrote:
    OS cmds
    $ cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    Listener is connected so their is no error at that tailexcellent point.
    using localhost/127.0.0.1 means that no remote client can ever connect to listener/DB
    The upside is that your DB like mine can NEVER be hacked across the *NET!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I see people asking about Error Code - 36, but no helpful answers.

    Just started yesterday while trying to copy files from hard drive to thumb drive. Repeated Error Code - 36. Happened a lot but no to every file I tried to copy. Started again today when I tried to copy from my Drop Box to a thumb drive. Macbook Pro is a year and a half old - don't tell me it's toast!

    If it's the same thumb drive it could be the thumb drive is toast.
    What format is/are these drive(s)?  If FAT then it could be a problem with your filenames.
    General information about error -36 - https://discussions.apple.com/message/18221459 - bad disk or format; try using Terminal to copy file.
    Error -36 reported when copying files to external drive - http://discussions.apple.com/message.jspa?messageID=8467699
    Error -36 and filename characteristics - http://discussions.apple.com/thread.jspa?messageID=9629287 - FAT drives may not like all Mac filenames
    AD topic on Error -36 trouble shooting - http://discussions.apple.com/thread.jspa?messageID=8586572

  • What do I do about Error Code 0x80070057 when I attempt to upload a mpg 4 file into MobileMe?

    What do I do about Error Code 0x80070057 when I attempt to upload a mpg 4 file into MobileMe?

    MobileMe is in the process of being shutdown. Perhaps the error is related to MobileMe going away.

Maybe you are looking for