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

Similar Messages

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

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

  • Java application fails to resolve name

    Hi Experts,
    I have a problem with a Java based application on Solaris 10. The application works fine and suddenly fails to resolve names (NS lookup order is files then dns) and hence disconnects users. We have to then touch the /etc/hosts so it updates the time stamp and the application starts working OK.
    I don't have a clue of what's going on...Any one ?
    Any help will be very much appreciated...

    I have you got a recent patch level on your Solaris 10 system. You shouldn't have to update /etc/hosts to get it to reread the file.

  • Identical database & instance names in Oracle 11g R2 RAC

    Hi ,
         We are migrating our EBS 11i (11.5.10 CU 2) and oracle 11gr2 (11.2.0.3) database (database only) which is currently on Solaris to Linux. Currently the database is NON-RAC and as a part of the migration we are converting it in to a 5 Node RAC. A lot of third party interfaces connected to this environment are using hard coded database name. Unfortunately due to the project time lines it's impossible to change those applications within the migration timeline. In order to ensure that they don't break we are thinking of keeping one instance name same as database name so those applications can continue to function without any change to their code. We are aware that this would compromise on fail over capabilities for those applications but we are ok with that.
    This what we have in mind: Create 5 PROD instance named as PROD, PROD1,PROD2, PROD3 & PROD4. PROD being the name of the database also. I would like to know:
    1) Is this configuration allowed i.e., is it ok to have one instance with the same name as database?
    2) We will be creating a 5 node Data gaurd environment for this so what will be the impact of such a naming on it?
    3) Since it's an EBS environment will there be any issues with application configuration?   Our application architecture will be as below:
    6 application nodes - Two for concurrent managers, two for forms & web & two external nodes
    The two CM app nodes will be tied to two database instances using Services
    Remaining app nodes will connect to the remaining 3 instances once again using services.
    We will be configuring services using "vip" instead of scan names.
    4) What will be the impact if the node having the instance name same as database name goes down?
    5) Any other areas to worry about with such a configuration say like cluster services, 3rd partyinterfaces/applications?
    Please let me know if you have any idea of such a configuration.
    regards
    pramod

    Brian, rchem & Martin thanks for your responses. Appreciate it much. I was thinking about the service alternative but unfortunately I understand from my customer that their applications have hard coded database (used as a instance name) name. All they are saying is that their applications are using instance name instead of database name without providing much details on how it's being used. I just know that there 180 applications... Oracle & non Oracle based in which the instance name is hard coded, but haven't got answers to my questions on how it's hard coded i.e., is it being pulled from the database using a hard coded query like "select instance_name from v$instance" or is it a part of some variable in the script/application etc., and what it's being used for (later) within the application.  Answers to those question will help in deciding what  should be the right strategy but since I am short of time I thought of this and wanted to know if anybody has implemented or come across a similar architecture.
    I am creating services and using them in my EBS application ifile thereby avoiding SID but agree with you on the node failure part as I haven't tested this new set up yet.
    Martin,
              You are right, they are using the database name as a SID in their application hence the above need.  My cluster version is 11.2.0.4.0 (both Active & Software versions). The source database on solaris is 11.2.0.3 Non RAC, it's going to be upgraded to 11.2.0.4 before conversion/migration hence I have installed & created a 11.2.04 RAC environment as a part of POC/Load testing.
    Regards
    pramod

  • Failed to oracle 11g   databade

    Hi,I can't get the "OK" when I used the "tnsping" command,and I got the failed information as follows,so I need your help ,thanks a lot!
    C:\>tnsping orcl.am.mot.com
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 13-JUL-
    010 12:59:30
    Copyright (c) 1997, 2008, Oracle. All rights reserved.
    Used parameter files:
    D:\app\DPXC67\product\11.1.0\db_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name

    tnsping orcl.am.mot.com
    TNS-03505: Failed to resolve name
    I think the error message is pretty clear.
    See the D:\app\DPXC67\product\11.1.0\db_1\network\admin\sqlnet.ora file which source is used for resolution (It is configured by NAMES.DIRECTORY_PATH variable and the value is typically TNSNAMES). If so then you are probably missing entry in your tnsname.ora file which is located (by default) in $ORACLE_HOME/network/admin directory, so in your case it would be: D:\app\DPXC67\product\11.1.0\db_1\network\admin\sqlnet.ora
    For more information refer to documentation:
    http://download.oracle.com/docs/cd/E11882_01/network.112/e10835/tnsnames.htm#NETRF007

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

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

  • Error importing with impdp after applying a patch for oracle 11g

    Hello guys,
    I recently unistalled all the oracle software with my database in order to start all fresh. I then installed the database and applied a patch from the version 11.1.0.6.0 to 11.1.0.7. I used the DBUA to do such a thing and it worked wonderfully.
    I'm now trying to do a full import but it seems there's something wrong with the connection. Below is the syntax and am using Windows 7 BTW.
    C:\>impdp \"sys/2learn@practicante as sysdba\" full=y DIRECTORY=export DUMPFILE=expdp.sgtc.01052012.dmp logfile=impdpPRACTICANTE.log
    Import: Release 11.1.0.7.0 - Production on Lunes, 07 Mayo, 2012 15:20:55
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    UDI-12154: la operaci¾n ha generado un error ORACLE 12154
    ORA-12154: TNS:no se ha podido resolver el identificador de conexión especificado
    C:\>
    Thanks!

    Thanks for the reply!
    You may be right about not using the sysdba to logon but just changed it...am still having the same issue though.
    SQL> ALTER USER scott IDENTIFIED BY tiger ACCOUNT UNLOCK;
    Usuario modificado.
    SQL> GRANT READ, WRITE ON DIRECTORY export TO scott;
    Concesión terminada correctamente.
    SQL> connect scott;
    Introduzca la contraseña:
    Conectado.
    C:\>impdp scott/tiger@practicante full=y DIRECTORY=export DUMPFILE=expdp.sgtc.01052012.dmp logfile=impdpPRACTICANTE.log
    Import: Release 11.1.0.7.0 - Production on Lunes, 07 Mayo, 2012 16:05:23
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    UDI-12154: la operación ha generado un error ORACLE 12154
    ORA-12154: TNS:no se ha podido resolver el identificador de conexi¾n especificado
    C:\>type D:\Oracle2practice\NETWORK\ADMIN\tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\Oracle2practice\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    PRACTICA.cre.com.bo =
    (DESCRIPTION =
    (ADDRESS_LIST=
    (ADDRESS = (PROTOCOL = TCP)(HOST = GGTPRACTICANTE.cre.com.bo)(PORT = 15
    21))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = practicante)
    C:\>sqlplus scott/tiger@practicante
    SQL*Plus: Release 11.1.0.7.0 - Production on Lun May 7 16:57:30 2012
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:no se ha podido resolver el identificador de conexi¾n
    especificado
    C:\>tnsping fubar
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.7.0 - Production on 07-MAY-2012 17:00:16
    Copyright (c) 1997, 2008, Oracle. All rights reserved.
    Archivos de parßmetros utilizados:
    D:\Oracle2practice\network\admin\sqlnet.ora
    TNS-03505: Fallo al resolver el nombre
    C:\>sqlplus scott/P@ssW0rde@practicante
    SQL*Plus: Release 11.1.0.7.0 - Production on Lun May 7 17:14:49 2012
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:no se ha podido resolver el identificador de conexi¾n especificado
    I tried to fix the error but it is still there...any other way that could help or is there anything wrong with what I have done so far?

Maybe you are looking for