Home » RDBMS Server » Networking and Gateways » Can't Connect to Remote DB Listener (11g windows 2008 64-bit)
Can't Connect to Remote DB Listener [message #463717] |
Fri, 02 July 2010 13:46  |
THADC
Messages: 17 Registered: July 2010
|
Junior Member |
|
|
Hello, I have a database up and running (including listener) on machine A. From that machine, everything seems fine. However, when I try to connect to it from another machine (say, machine B) on the network, the connection cannot be established (exact message: connection to database failed: The Network adapter cannot establish the connection).
I can successfully ping machine A from machine B. The machine A db is a default install (ORCL).
Is it possible the DB listener is not configured properly to connect to remote clients? On machine B, I have oracle tools such as SQLPLUS, Oracle Net Manager, and Net Configuration Assistant.
Any help diagnosing and fixing is greatly appreciated. Thanks!
|
|
|
|
|
|
|
|
|
Re: Can't Connect to Remote DB Listener [message #463725 is a reply to message #463719] |
Fri, 02 July 2010 15:09   |
THADC
Messages: 17 Registered: July 2010
|
Junior Member |
|
|
Hope this is better:
C:\Users\Administrator>SET
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\Administrator\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=WIN-7WSDUFVVLKX
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Administrator
LOCALAPPDATA=C:\Users\Administrator\AppData\Local
LOGONSERVER=\\WIN-7WSDUFVVLKX
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\app\Administrator\product\11.2.0\dbhome_2\bin;C:\Windows\system32;C:\Win
dows;C:\Windows\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 4 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL=16
PROCESSOR_REVISION=0402
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
PROMPT=$P$G
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
TMP=C:\Users\ADMINI~1\AppData\Local\Temp
USERDOMAIN=WIN-7WSDUFVVLKX
USERNAME=Administrator
USERPROFILE=C:\Users\Administrator
windir=C:\Windows
C:\Users\Administrator>lsnrctl stop
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-JUL-2010 16:03
:16
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
The command completed successfully
C:\Users\Administrator>rename $ORACLE_HOME\network\admin\listener.ora $ORACLE_HO
ME\network\admin\listener.bck
The system cannot find the path specified.
C:\Users\Administrator>lsnrctl start
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-JUL-2010 16:03
:18
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
System parameter file is C:\app\Administrator\product\11.2.0\dbhome_2\network\ad
min\listener.ora
Log messages written to c:\app\administrator\diag\tnslsnr\WIN-7WSDUFVVLKX\listen
er\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
ipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 02-JUL-2010 16:03:22
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\Administrator\product\11.2.0\dbhome_2\network\a
dmin\listener.ora
Listener Log File c:\app\administrator\diag\tnslsnr\WIN-7WSDUFVVLKX\list
ener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Users\Administrator>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-JUL-2010 16:03
:23
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 02-JUL-2010 16:03:22
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\Administrator\product\11.2.0\dbhome_2\network\a
dmin\listener.ora
Listener Log File c:\app\administrator\diag\tnslsnr\WIN-7WSDUFVVLKX\list
ener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Users\Administrator>lsnrctl service
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-JUL-2010 16:03
:23
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
C:\Users\Administrator>DIR /Q $ORACLE_HOME\dbs
The system cannot find the file specified.
C:\Users\Administrator>
|
|
|
|
Re: Can't Connect to Remote DB Listener [message #463727 is a reply to message #463726] |
Fri, 02 July 2010 15:23   |
THADC
Messages: 17 Registered: July 2010
|
Junior Member |
|
|
C:\Users\Administrator>SET ORACLE_HOME=C:\app\Administrator\product\11.2.0\dbhom
e_2
C:\Users\Administrator>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-JUL-2010 16:19
:11
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 02-JUL-2010 16:03:22
Uptime 0 days 0 hr. 15 min. 51 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\Administrator\product\11.2.0\dbhome_2\network\a
dmin\listener.ora
Listener Log File c:\app\administrator\diag\tnslsnr\WIN-7WSDUFVVLKX\list
ener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.tysons.integratedsecure.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.tysons.integratedsecure.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "wrhouse.tysons.integratedsecure.com" has 1 instance(s).
Instance "wrhouse", status READY, has 1 handler(s) for this service...
Service "wrhouseXDB.tysons.integratedsecure.com" has 1 instance(s).
Instance "wrhouse", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Users\Administrator>lsnrctl stop
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-JUL-2010 16:19
:11
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
The command completed successfully
C:\Users\Administrator>RENAME C:\app\Administrator\product\11.2.0\dbhome_2\netwo
rk\admin\listener.ora C:\app\Administrator\product\11.2.0\dbhome_2\network\admin
\listener.bck
The syntax of the command is incorrect.
C:\Users\Administrator>lsnrctl start
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-JUL-2010 16:19
:13
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
System parameter file is C:\app\Administrator\product\11.2.0\dbhome_2\network\ad
min\listener.ora
Log messages written to c:\app\administrator\diag\tnslsnr\WIN-7WSDUFVVLKX\listen
er\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
ipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 02-JUL-2010 16:19:16
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\Administrator\product\11.2.0\dbhome_2\network\a
dmin\listener.ora
Listener Log File c:\app\administrator\diag\tnslsnr\WIN-7WSDUFVVLKX\list
ener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Users\Administrator>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-JUL-2010 16:19
:17
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 02-JUL-2010 16:19:16
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\Administrator\product\11.2.0\dbhome_2\network\a
dmin\listener.ora
Listener Log File c:\app\administrator\diag\tnslsnr\WIN-7WSDUFVVLKX\list
ener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
C:\Users\Administrator>DIR /Q $ORACLE_HOME\dbs
The system cannot find the file specified.
|
|
|
|
Re: Can't Connect to Remote DB Listener [message #463729 is a reply to message #463728] |
Fri, 02 July 2010 15:54   |
THADC
Messages: 17 Registered: July 2010
|
Junior Member |
|
|
C:\Users\Administrator>LSNRCTL STATUS
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-JUL-2010 16:48
:49
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 02-JUL-2010 16:45:26
Uptime 0 days 0 hr. 3 min. 25 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File c:\app\administrator\diag\tnslsnr\WIN-7WSDUFVVLKX\list
ener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-7WSDUFVVLKX)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "orcl.tysons.integratedsecure.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.tysons.integratedsecure.com" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "wrhouse.tysons.integratedsecure.com" has 1 instance(s).
Instance "wrhouse", status READY, has 1 handler(s) for this service...
Service "wrhouseXDB.tysons.integratedsecure.com" has 1 instance(s).
Instance "wrhouse", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Users\Administrator>
|
|
|
|
|
|
Re: Can't Connect to Remote DB Listener [message #463820 is a reply to message #463802] |
Sun, 04 July 2010 09:36   |
THADC
Messages: 17 Registered: July 2010
|
Junior Member |
|
|
me too..
Funny, I can ping from both now (couldn't ping by hostname from client machine before..). However, same problem. Installation of Lombardi still cannot connect to DB (i.e., same original problem). thanks!
From DB Machine:
C:\Users\Administrator>
C:\Users\Administrator>ping WIN-7WSDUFVVLKX
Pinging WIN-7WSDUFVVLKX [fe80::784d:ee76:1e35:1139%10] from fe80::784d:ee76:1e35
:1139%10 with 32 bytes of data:
Reply from fe80::784d:ee76:1e35:1139%10: time<1ms
Reply from fe80::784d:ee76:1e35:1139%10: time<1ms
Reply from fe80::784d:ee76:1e35:1139%10: time<1ms
Reply from fe80::784d:ee76:1e35:1139%10: time<1ms
Ping statistics for fe80::784d:ee76:1e35:1139%10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Users\Administrator>
From Client Machine:
C:\Users\Administrator>ping WIN-7WSDUFVVLKX
Pinging WIN-7WSDUFVVLKX.tysons.integratedsecure.com [192.168.25.180] with 32 byt
es of data:
Reply from 192.168.25.180: bytes=32 time<1ms TTL=128
Reply from 192.168.25.180: bytes=32 time=3ms TTL=128
Reply from 192.168.25.180: bytes=32 time<1ms TTL=128
Reply from 192.168.25.180: bytes=32 time=3ms TTL=128
Ping statistics for 192.168.25.180:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 3ms, Average = 1ms
C:\Users\Administrator>
|
|
|
|
|
|
|
|
|
|
Re: Can't Connect to Remote DB Listener [message #463844 is a reply to message #463833] |
Sun, 04 July 2010 14:39   |
THADC
Messages: 17 Registered: July 2010
|
Junior Member |
|
|
got it. It should have been client_2, rather than dbhome_2.. In any case, when I run ping util now, I get:
C:\Users\Administrator>tnsping
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 04-JUL-2
010 15:32:46
Copyright (c) 1997, 2010, Oracle. All rights reserved.
TNS-03502: Insufficient arguments. Usage: tnsping <address> [<count>]
C:\Users\Administrator>tnsping orcl
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 04-JUL-2
010 15:33:31
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\app\Administrator\product\11.2.0\client_2\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
C:\Users\Administrator>
Also, we never found the appropriate tnsnames.ora on the client machine. Is that because if you only have oracle client, you use another config file or something?? Anyway, Here we are..
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat May 03 17:06:22 CDT 2025
|