Hi Experts,
While trying to connect via TOAD, sqldevloper to my database, I'm getting following error:-
ORA-12170 TNS:Connect timeout occurred
Contents of listener.ora file:-
[oracle@gdlogidb1 admin]$ cat listener.ora
# listener.ora Network Configuration File: /mnt/PRDdata/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LOGDEV =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1525))
(ADDRESS = (PROTOCOL = TCP)(HOST = gdlogidb1.tireco.com)(PORT = 1525))
)
LOGDEV=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1525))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.18)(PORT = 1525))
)
ADR_BASE_LOGDEV = /mnt/PRDdata/oracle
Status of Listener:-
[oracle@gdlogidb1 admin]$ lsnrctl status LOGDEV
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 29-AUG-2013 03:13:15
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1525)))
STATUS of the LISTENER
------------------------
Alias LOGDEV
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 29-AUG-2013 03:05:32
Uptime 0 days 0 hr. 7 min. 43 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /mnt/PRDdata/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /mnt/PRDdata/oracle/diag/tnslsnr/gdlogidb1/logdev/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1525)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.18)(PORT=1525)))
Services Summary...
Service "logdev.tireco.com" has 1 instance(s).
Instance "logdev", status READY, has 1 handler(s) for this service...
Service "logdevXDB.tireco.com" has 1 instance(s).
Instance "logdev", status READY, has 1 handler(s) for this service...
The command completed successfully
TNSping is working fine too.
[oracle@gdlogidb1 admin]$ tnsping LOGDEV
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 29-AUG-2013 03:35:14
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/mnt/PRDdata/oracle/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 = gdlogidb1.tireco.com)(PORT = 1525)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = logdev.tireco.com)))
OK (0 msec)
I can connect this was, but the problem occurs when I'm trying to connect using TOAD or Sqldevloper.
[oracle@gdlogidb1 admin]$ sqlplus system@LOGDEV
SQL*Plus: Release 11.2.0.2.0 Production on Thu Aug 29 03:32:15 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
SQL> sho user
USER is "SYSTEM"
Contents of sqlnet.ora:-
[oracle@gdlogidb1 admin]$ cat sqlnet.ora
# sqlnet.ora Network Configuration File: /mnt/PRDdata/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /mnt/PRDdata/oracle
My O.S. Version is :- 11.2.0.2.0
Platform:-
Linux gdlogidb1.tireco.com 2.6.39-400.109.4.el6uek.x86_64 #1 SMP Mon Jul 22 11:44:00 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux