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>

Similar Messages

  • 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

  • TNS-03505: Failed to resolve name

    I am able to connect through oracle enterprise manager(sys@mydb) however not with sqlplus
    I have installed oracle 10.2 in my own laptop(vista)
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 -
    010 09:22:46
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    MYDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myPC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mydb)
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    NAMES.DEFAULT_DOMAIN = world.com
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myPC)(PORT = 1521))
    )

    Thanks for the suggestion.
    Changed accordingly but still not able connect sqlplus.
    Request for help.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.152.228)(PORT = 1521))
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_2\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)
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_2\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    MYDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.152.228)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mydb)
    C:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.3.0 - Production on 10-JUL-2010 13
    :14
    Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.3.0 - Pr
    ction
    Start Date 10-JUL-2010 12:41:16
    Uptime 0 days 0 hr. 50 min. 57 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\10.2.0\db_2\network\admin\listene
    ra
    Listener Log File C:\oracle\product\10.2.0\db_2\network\log\listener.
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.152.228)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "mydb" has 1 instance(s).
    Instance "mydb", status READY, has 1 handler(s) for this service...
    Service "mydbXDB" has 1 instance(s).
    Instance "mydb", status READY, has 1 handler(s) for this service...
    Service "mydb_XPT" has 1 instance(s).
    Instance "mydb", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\>tnsping mydb
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on 10-JUL-2
    010 13:30:03
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 172.16.152.228)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SER
    VICE_NAME = mydb)))
    OK (20 msec)

  • 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

  • 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: Failed to resolve name .. cannot connect using TCPS on 2484

    Hello All,
    Am fighting for last few hours on this.. cannot tnsping over TCPS using secured port 2484. Need to get the wallet working..
    The tnsnames.ora file..
    ==============
    webserver:/vol01/app/oracle/product/10.2.0/network/admin> cat tnsnames.ora
    GMACPREPROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.59.100.253)(PORT = 1521))
    (CONNECT_DATA =
    (SID = GWH22)
    GMACPP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCPS)(HOST = 10.59.100.253)(PORT = 2484)))
    (CONNECT_DATA = (SID = GWH22))
    The sqlnet.ora..
    ==========
    webserver:/vol01/app/oracle/product/10.2.0/network/admin> cat sqlnet.ora
    # sqlnet.ora Network Configuration File: /vol01/app/oracle/product/10.2.0/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    #NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    SQLNET.AUTHENTICATION_SERVICES=(TCPS,NTS)
    SSL_CLIENT_AUTHENTICATION = FALSE
    WALLET_LOCATION =
    (SOURCE =
    (METHOD = FILE)
    (METHOD_DATA = (DIRECTORY = /usr/local/oracle/client_wallet))
    SSL_CIPHER_SUITES= (SSL_RSA_WITH_AES_128_CBC_SHA, SSL_DH_anon_WITH_3DES_EDE_CBC_SHA)
    The Tnspings to these two TNS-entries.. as per Tnsnames.ora file..
    =========================================
    webserver:/vol01/app/oracle/product/10.2.0/network/admin> tnsping GMACPREPROD
    TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 08-AUG-2011 12:10:22
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    /vol01/app/oracle/product/10.2.0/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.59.100.253)(PORT = 1521))) (CONNECT_DATA = (SID = GWH22)))
    OK (10 msec)
    webserver:/vol01/app/oracle/product/10.2.0/network/admin> tnsping GMACPP
    TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 08-AUG-2011 12:09:58
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    /vol01/app/oracle/product/10.2.0/network/admin/sqlnet.ora
    TNS-03505: Failed to resolve name
    Now the directory contents of the wallet..
    webserver:/vol01/local/oracle> ls -ltr
    total 58
    drwxr-xr-x 2 oracle dba 512 Apr 11 16:35 client_wallet
    drwxr-xr-x 3 oracle dba 512 Jul 12 06:06 product
    -rwxrwxr-x 1 oracle dba 27648 Aug 4 08:16 server_wallet.tar
    webserver:/vol01/local/oracle> ls -lrt client_wallet
    total 48
    -rwxr--r-- 1 oracle dba 422 Apr 6 11:55 server_ca_usplgmacdb001.cert
    -rw-r--r-- 1 oracle dba 322 Apr 6 11:56 server_wallet.info
    -rw-r--r-- 1 oracle dba 423 Apr 6 16:41 steve_client_ca.cert
    -rwxr-xr-x 1 oracle dba 609 Apr 11 16:35 bzbbd3.cert
    -rw------- 1 oracle dba 10181 Apr 11 16:37 ewallet.p12
    -rw------- 1 oracle dba 10210 Apr 11 16:37 cwallet.sso
    Am still groping in the dark.. please help.. am I missing anything?
    Best Regards,
    Abhijit

    Hi,
    Thanks for your reply..
    Nope.. just had set earlier $ORACLE_HOME and added the $ORACLE_HOME/bin into the $PATH. So I will set up TNS_ADMIN in the oracle user environment.. is that all I need to do?
    Dont have any access to the server environment as I have to work through a shared desktop(taking control) :(
    Regards,
    Abhijit

  • 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/

  • Unable to TNSPING - TNS-03505

    Hi All,
    I am trying to connect from SUN5 to SUN7 server ( Both servers running Oracle 7.3.4 ) on Solaris 5 boxes.
    I can connect from SUN7 to SUN5 using sqlplus just fine.
    But when I added an entry for SUN7 on SUN5 server in its tnsnames. ora file as :
    ARK = (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)
    (PORT=1521)
    (HOST=sun7)
    (CONNECT_DATA=(SID=ARK)
    $ tnsping ARK
    TNS Ping Utility for Solaris: Version 2.3.4.0.0 - Production on 15-APR-09 10:43:15
    Copyright (c) Oracle Corporation 1995. All rights reserved.
    TNS-03505: Failed to resolve name
    $ more sqlnet.ora
    #sqlnet.authentication_services=(none)
    #names.directory_path = (TNSNAMES)
    #NAMES.DEFAULT_DOMAIN = world
    The above are the files on SUN5.
    Could any one tell me how I can get this to work ?
    I tried unhashing the sqlnet.ora but then the application on SUN5 stops working.
    Thanks.

    $ hostname
    sun5
    $ telnet sun7
    Trying 128.127.39.17...
    Connected to sun7.
    Escape character is '^]'.
    UNIX(r) System V Release 4.0 (sun7)
    login: oracle
    Password:
    Last login: Wed Apr 15 11:07:18 from sun5
    Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996
    You have mail.
    $ lsnrctl status
    LSNRCTL for Solaris: Version 2.3.4.0.0 - Production on 15-APR-09 11:27:22
    Copyright (c) Oracle Corporation 1994. All rights reserved.
    Connecting to (ADDRESS=(COMMUNITY=tcp_comm)(PROTOCOL=TCP)(Host=sun7)(Port=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 2.3.4.0.0 - Production
    Start Date 06-AUG-08 09:25:41
    Uptime 248 days 13 hr. 13 min. 56 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File /var/opt/oracle/listener.ora
    Listener Log File /wps/oracle/server734/network/log/sqlnet.log
    Services Summary...
    ARK has 1 service handler(s)
    AUD has 1 service handler(s)
    CDRD has 1 service handler(s)
    HRLC has 1 service handler(s)
    HRTR has 1 service handler(s)
    TAP has 1 service handler(s)
    The command completed successfully
    I tried to uncomment the line in sqlnet but the payroll application connections cease to work.

  • 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:

  • TNSPing and Designer Failed to resolve name

    Hi:
    I don't know whether this problem is belong to this group, anyway, I put it here and hope someone can help me.
    After I installed Designer R6 on my Windows NT, I configured SQL*Net for the Database Connection. I did it with SQL Net Easy Configuration. Then I tested the configuration with TNSPing utilities of version 2.3.4.0.0, 8.0.5.0.0 and 8.1.6.0.0. And all of them returned me the correct message:
    TNS Ping Utility for 32-bit Windows: Version 2.3.4.0.0 - Production on 03-JUL-00 09:23:34
    Copyright (c) Oracle Corporation 1995. All rights reserved.
    Attempting to contact (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=WangSvr)(Port=1521))
    OK (40 msec)
    TNS Ping Utility for 32-bit Windows: Version 8.0.5.0.0 - Production on 03-JUL-00 09:23:41
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=WangSvr)(Port=1521))
    OK (40 msec)
    TNS Ping Utility for 32-bit Windows: Version 8.1.6.0.0 - Production on 03-JUL-2000 09:23:45
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=wangsvr)(PORT=1521))
    OK (40 msec)
    I did the tests from the directory where the TNSNames.ora file exists. My problem is, if I do the test from any other directory where the TNSNames.ora file does not exist, then TNSPing 8.0.5.0.0 cannot return the correct result. It said
    TNS Ping Utility for 32-bit Windows: Version 8.0.5.0.0 - Production on 03-JUL-00 09:31:13
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    TNS-03505: Failed to resolve name
    But if I copy the TNSNames.ora file to the directory where I invoke TNSPing, again the TNSPing return the correct result.
    The TNSPing 2.3.4.0.0 and 8.1.6.0.0 can work correctly from anywhere.
    The same problem is that the Designer can only be invoked from the directory where the TNSNames.ora file exists, otherwise it will not let me login and showed the message:
    "ORA-12154: TNS:could not resolve service name"
    How to resolve this problem?
    Thanks in advance
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Phil Haigh ([email protected]):
    Originally posted by One:[b]After I installed Designer R6 on my Windows NT, I configured SQL*Net for the Database Connection.
    [QOUTE]
    Which version(s) of SQL Net is (are) installed? Which version of SQL Net Easy Config did you use?
    With Net8, the config file is in a different location to that for 2.3. You have to configure both if you've installed both.
    My guess is that you've configured 2.3 and not 8. Run Net 8 config and try again.<HR></BLOCKQUOTE>
    Hi:
    Thank you very much. Your few words helped me a lot. I solved the problem just by copying tnsnames.ora from d:\des6.0\network\admin to d:\des6.0\net80\admin.
    null

  • Hostnames Fail to Resolve over VPN

    We provide our employees with L2TP VPN access so that they can securely connect and access corporate resources from their personal computers at home. For the last few months we have been battling an issue where the personal Macs owned by various employees suddenly stop resolving hostnames over the L2TP VPN tunnel (their personal Macs initially work fine on the VPN, but after months of use they suddenly stop resolving hostnames).
    If I try to ping the hostname/FQDN of a resource across the L2TP VPN tunnel (i.e. "dev01.corporate.ad"), I get an error stating:
    ping: cannot resolve dev01.corporate.ad: Unknown host
    However - if I ping the IP address of a resource across the L2TP VPN tunnel (i.e. 10.14.51.24), I'm able to communicate with the resource:
    64 bytes from 10.14.51.24: icmp_seq=0 ttl=128 time=36.063 ms
    We are using the native VPN client built into Mac OS X 10.7/10.8. Inside the VPN profile, we have correctly configured the DNS settings (DNS Server - 10.14.51.20, Search Domain - corporate.ad), but we keep encountering this issue.
    The temporary workaround we have given to our employees is to run the following commands in Terminal on their personal Mac when they experience this issue:
    sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
    sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
    After they run those two commands, they are able to successfully access corporate resources using their hostnames/FQDNs.
    However - it's not really a solution...

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef 
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • 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.

  • Can't add a Linux computer, failed to resolve IP address.

    I have a Linux computer on workgroup, SCOM on a domain, when I try to add the Linux computer to SCOM, the Discovery Wizard send me a an error: "Unable to discovery"
    I put the IP address on the Discovery Scope, I set the credentials with User name and password of root, select the pool and  when try to discovery, the Wizard send me a message: "Undiscoverable addresses, Reason: DNS configuration, Details:"Failed
    to resolve IP address (x.x.x.x) to name.
    x

    SCOM needs the name when it generates the certificate for the SSL connection. You can work around this by adding the hostname of the Linux computer to your hosts file with the IP address on the SCOM server.
    - On the Linux server run the 'hostname' cmd. You will use this in the hosts file on the SCOM server.
    - On the SCOM server edit the C:\Windows\System32\Drivers\etc\hosts file and add the following:
    <IP Address of Linux server> <hostname or Linux server>
    Run the Discovery Wizard again and it should work. Note that you also need to make sure port 1270 is open on the Linux server.
    Regards,
    -Steve

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given in conne

    I am running Oracle 8.1.7.1.4 on Windows 2000. After I created a database TEST using a script created by my previous colleague, I got the following error:
    sqlplus SYSTEM/PASSWORD@TEST
    ERROR:
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    Enter user-name:
    But if I enter system as username and the password, I could connect to sqlplus without any problem.
    I checked the OracleServiceTest is running as a Service, and here is what in my tnsnames.ora.
    TEST.UNHQ.UN.ORG =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    Here is what in my listener.ora file.
    (SID_DESC =
    (GLOBAL_DBNAME = TEST)
    (ORACLE_HOME = d:\oracle\ora817)
    (SID_NAME = TEST)
    The following is what in my sqlnet.ora file.
    NAMES.DEFAULT_DOMAIN = unhq.un.org
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    Here are a few important lines in my init.ora file.
    db_name=TEST
    instance_name = TEST
    service_names = TEST
    I tried to use sqlplus system/[email protected], but got the same error.
    Any help would be greatly appreciated.
    Thanks,
    Jane

    Hi Werner:
    Thank you very much for your suggestions. Yeah, I have
    a db_domain = UNHQ.UN.ORG in my init.ora file. I tried
    to append it manually into the service_names in my
    init.ora file and made corresponding changes to
    tnsnames.ora file. Now I could access to TEST database
    without any problem.
    I have another question. How can I prevent the
    db_domain from appending to SERVICE_NAMES by default?
    By set it to db_domain="" or just don't have it in my
    init.ora file? I don't want to have the domain name
    appearing in my SERVICE_NAMES.
    Thanks,
    Jane

  • 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>

Maybe you are looking for