tnserror

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

tnserror

Arsalan
Hi Arslan,

We could not connect to database  give error like below


oracle 11.2.0
os windows


PROD =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.4.111)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = prod)
    )
  )
-------------------------------------------------------------------------------------------------------------------

Enter user-name: sigtasad/sigtas@prod
ERROR:
ORA-12170: TNS:Connect timeout occurred

================================================================
C:\Users\arsala>tnsping prod

TNS Ping Utility for 64-bit Windows: Version 11.2.0.4.0 - Production on 16-APR-2
018 15:25:56

Copyright (c) 1997, 2013, Oracle.  All rights reserved.

Used parameter files:
C:\app\arsala\product\11.2.0\dbhome_1\network\admin\sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.
4.111)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = prod))
)
TNS-12535: TNS:operation timed out

C:\Users\arsala>ping 192.168.4.111

Pinging 192.168.4.111 with 32 bytes of data:
Reply from 192.168.4.111: bytes=32 time=8ms TTL=125
Reply from 192.168.4.111: bytes=32 time=4ms TTL=125
Reply from 192.168.4.111: bytes=32 time=29ms TTL=125
Reply from 192.168.4.111: bytes=32 time=13ms TTL=125

Ping statistics for 192.168.4.111:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 4ms, Maximum = 29ms, Average = 13ms

---------------------------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: tnserror

Arsalan


Hello Arslan,

the above problem have been solved by set of IP in same range,

before the ip range was different ,



Thanks
Reply | Threaded
Open this post in threaded view
|

Re: tnserror

ErmanArslansOracleBlog
Administrator
Good.