DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Newbie Question (9i)

  1. #1
    Join Date
    Feb 2002
    Posts
    41

    Question Newbie Question (9i)

    Hi fellows. I'm having the following problem and would like to have your advice on how to see through it. TNSNAMES.ORA Follows

    *******************************
    EXTPROC_CONNECTION_DATA.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA = (SID = EXTPROC))
    )

    TCP-LOOPBACK.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = ))
    )

    BASE1.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.5)(PORT = 1521))
    (CONNECT_DATA = (SID = BASE1))
    )
    ***************************
    Now if I tnsping80 either base1 or base1.world from my workstation I get the following answer:

    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.5)(PORT=1521))
    OK (170 msec)

    Which would be correct.

    Whereas if I tnsping base1 from server I get this error:

    Used parameter files:
    /u01/app/oracle/product/9.2.0.1.0/network/admin/sqlnet.ora
    /u01/app/oracle/product/9.2.0.1.0/network/admin/tnsnames.ora

    TNS-03505: Failed to resolve name

    On the other hand base1.world pings correctly from server.

    My question would be: Why can't I tnsping base1 from server and only base1.world whereas both can be pinged from workstation. Also issuing a "sqlplus system@base1/manager" from server ends in the same error.

    Thanks in advance, and Best Regards.

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    I'd look at your default domain in the sqlnet.ora on the server.
    Jeff Hunter

  3. #3
    Join Date
    Feb 2002
    Posts
    41
    Thanks Marist.
    What should it read, so that I can connect using SID as well?

  4. #4
    Join Date
    Jan 2001
    Posts
    642
    Oracle Network Administrators Guide
    There is always a better way to do the things.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width