Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
sqlplus through VPN not work, but tnsping work

sqlplus through VPN not work, but tnsping work

2004-12-16       - By Hollis, Les
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

> > "Tnsping and sqlplus both use port 1521, so if tnsping works, sqlplus=20
should work. "


Not true ...I have over 50 databases and not one of them is on port
1521.

It all depends on what port you select when you setup listener.ora AND
tnsnames.ora (or Onames, or Connection Manager or whatever you are
using).



Oh and BTW they ALL work thru VPN and firewall as I work from home
100% of the time and our network engineers are notorious for NOT opening
up ports.

I use eXceed telnet and I use ssh for telnet sessions, but for Oracle, I
use a number of graphical tools...SQLNav, Spotlight, OEM, etc etc al of
whch use SQL*NET=20

-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Matthew Zito
Sent: Thursday, December 16, 2004 8:43 AM
To: Oracle-L
Subject: Re: [Q] sqlplus through VPN not work, but tnsping work


Tnsping and sqlplus both use port 1521, so if tnsping works, sqlplus=20
should work. The fact that it isn 't working suggests an MTU issue. =20
Look at your ping documentation for your OS for how to increase packet=20
size (on Linux its -s) and try sending some larger ping packets (like=20
500 bytes, 800 bytes, 1200 bytes) and see if they get through. If they=20
don 't, and normal pings do, you need to get your network administrator=20
involved.

Thanks,
Matt

--
Matthew Zito
GridApp Systems
Email: mzito@(protected)
Cell: 646-220-3551
Phone: 212-358-8211 x 359
http://www.gridapp.com


On Dec 16, 2004, at 7:39 AM, Branimir Petrovic wrote:

>
> > I tried to access our ORACLE server through VPN. The
> > problem I have is "sqlplus " not work, but tnsping
> > work. Network engineer told me he did open port 1521
> > for me.
> >
>
> This sounds like there might be a firewall involved somewhere
> between VPN server you connect to and your internal network?
> If that truly is the case, opening port on internal firewall
> (between VPN server and internal network) for port 1521 ain 't
> gonna cut it as only initial connection is established via this
> port and random dynamic port is used for each and every session
> (and opening firewall on port 1521 before VPN server would be
> inconsequential/wrong thing to do).
>
> Without firewall between VPN "edge-box " and your LAN, SQL*Plus
> should (must) "goe through " just fine...
>
> Lots of ifs so far, nevertheless I 'll throw one more:
> if your Oracle server is Windows box, and if interfering
> firewall is not "SQLnet aware " (can not be configured to
> gracefully treat dynamic port feature of SQL net protocol),
> you might want to look for Metalink note 124140.1
>
> Branimir
> --
> http://www.freelists.org/webpage/oracle-l

--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l