Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: [Q] sqlplus through VPN not work, but tnsping work

Re: [Q] sqlplus through VPN not work, but tnsping work

From: Michael McMullen <ganstadba_at_hotmail.com>
Date: Thu, 16 Dec 2004 11:27:49 -0500
Message-ID: <BAY20-DAV17984CDCFCAD4FF10A41F0A6AE0@phx.gbl>


could this be something as simple as the service name not matching the alias in tnsnames.ora as the tnsping doesn't actually verify that the service_name
(or sid) is correct, only the login will verify.

I just tested the following
MIKE =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xx)(PORT = 1521))     )
    (CONNECT_DATA =
      (SERVICE_NAME = mikea)
    )
  )

bash-2.02$ tnsping mike

TNS Ping Utility for Solaris: Version 8.1.7.3.0 - Production on 16-DEC-2004 11:23:44

(c) Copyright 1997 Oracle Corporation. All rights reserved.

Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xx)(PORT=1521)) OK (10 msec)

bash-2.02$ sqlplus mike/mike_at_mike

SQL*Plus: Release 8.1.7.0.0 - Production on Thu Dec 16 11:23:53 2004

(c) Copyright 2000 Oracle Corporation. All rights reserved.

ERROR:
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Dec 16 2004 - 10:43:13 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US