Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Connection problem ORA 12535 TNS Timeout
Bernd Maierhofer (dato) wrote:
> On my client I have
>
> BF1.DATO.LOCALHOST =
> (DESCRIPTION =
> (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
> )
> (CONNECT_DATA =
> (SERVICE_NAME = bf1)
> )
> )
>
> The error with BEQ was logged at the serverīs, so I think there is something
> wrong with the serverīs protocol?
>
>
>>>>Hold your horses! - this is BEQ, i.e. local. >>>>Your ORACLE_SID environment variable is not set!
>>The client should do (this is from the CLI): >> >>sqlplus system/manager_at_myserver >> >>Your client should have a tnsnames.ora file (default location >>is %OH%\network\admin), with the entry: >> >>MYSERVER = >> (DESCRIPTION = >> (ADDRESS_LIST = >> (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.200)(PORT = 1521)) >> ) >> (CONNECT_DATA = >> (SID = orcl) >> ) >> ) >> >>Of course, your HOST = entry, and SID = would be different in your case. >> >>Let's take it from there. >> >>BTW - you run Win2k + VMWare + Win2K Pro just to test a server?
Well, I may be completely on the wrong track here. Let's summarize what I understood from your posts about your environment:
- You have a big machine, running Win2k. - On that machine, you have: -- Oracle 8iRel1 client -- VMWare.
Or, perhaps there's two machines. It does not matter for the scenario: you have a client, and a remote server.
Let's take a look at your tnsnames.ora:
>BF1.DATO.LOCALHOST = > (DESCRIPTION = > (ADDRESS_LIST = > (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521)) > ) > (CONNECT_DATA = > (SERVICE_NAME = bf1) > ) > )
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521)) )
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = D:\oracle\ora815) (PROGRAM = extproc) ) (SID_DESC = (SID_NAME = bf1) )
Can you verify this, and post listener.ora?
Also, tnsping's of 3 to 9 seconds are way too long! 600mSec to 1 sec on a WAN, 500msec or less on a LAN. I got 50msec on my (tiny) LAN, <10msec local, using tcp/ip.
-- Regards, Frank van BortelReceived on Tue Mar 02 2004 - 14:45:37 CST