Re: about setting connection to local database from EM DBControl configure program through IPC



On Jun 17, 3:49 am, "Laurenz Albe" <inv...@xxxxxxxxxxxxxxx> wrote:
riverdancewrote:
HI, Thanks for your reply.
sorry did not explain my environment first.

it's a DHCP machine, but I have installed local loopback adapter, and
set IP to fix IP on that adapter.

That's good to know, but some more basic information might give the
thing more direction, like what operating system you use, what
version of Oracle you have installed.
Is there a firewall of some sort?

but it seems when I tried to TNSPING using tcp , it works, but using
SQLPLUS , it hung..

from the listener log, I found the connection was established on some
port.. but why SQLPLUS is hung..

I think that is the reason, when I tried to configure EM , got hung
using TCP..

but I don't know what caused that hung thourhg SQLPLUS..

That at least is a starting point.

It looks like you can reach the listener, but cannot reach the server.
This can for example happen if there is a firewall active that blocks
ports other than the listener port.

- What is the output of "lsnrctl status"?

- If you wait long enough when sqlplus hangs, will it eventually
  terminate? If yes, what is the error?

- If you enable an Oracle Net Trace (see the Net Services Reference
  for details), what do you see there?

Yours,
Laurenz Albe

oh.. yes.. good point.

My system is windows XP , oracle SW is the one I download from oracle
site.. oracle 11g enterprise version.

and "lsnrctl status" output is following:

LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 21-
JUN-2009 17:20
:03

Copyright (c) 1991, 2007, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=test)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version
11.1.0.6.0 - Produ
ction
Start Date 21-JUN-2009 17:18:44
Uptime 0 days 0 hr. 1 min. 18 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\xxx\product\11.1.0\db_1\network\admin
\liste
ner.ora
Listener Log File c:\app\xxx\diag\tnslsnr\WBWKRIB000023OY
\listener\a
lert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\testipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ABC.home.com)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully


for sqlplus session, I waited a long time, it just hung there, no any
error message.


you might be correct, there is firewall setup on my machine.. maybe
it's the reason. but wired thing is in listener log file, the message
is connection established

at port xxx.

I tried using telnet to that port xxx, it seems port was closed. but I
cannot change firewall setting.

and I think I cannot use IPC since it is on windows machines..

so, maybe that's it.

thanks for your help.






.



Relevant Pages

  • Re: connect system/password@xe doesnt work
    ... I have a problem with my new Oracle XE installation. ... On the database server side, Oracle Networking uses a network listener to ... the Listener waits on port 1521. ...
    (comp.databases.oracle.server)
  • Re: about oracle listener
    ... by oracle net configuration assistant. ... when I tried to create the new database by clicking finish ... just fine on the same server with one listener. ... I don't have a listener just called listener on port 1521 and when I ...
    (comp.databases.oracle.server)
  • Re: ORA-12514 with 10g Install (LONG...)
    ... and so does the listener. ... Remains to be seem if orcl exists. ... Copyright 1997, 2005, Oracle. ... ORA-12560: TNS:protocol adapter error ...
    (comp.databases.oracle.misc)
  • Re: SSH Tunnel with Oracle Port 1521
    ... > Is there a way I can, from work, use Putty to establish a tunnel for Oracle? ... listener) to home_server_private_IP:1521. ... Your SSH client will need to be told to connect to port 23 on your ... port 23 on its external IP to TCP port 22 of the SSH server. ...
    (comp.os.linux.networking)
  • Re: Please Help, Oracle 10g, TNS-PROTOCOL ADAPTER ERROR
    ... > i already have oracle 9i on my system and i loaded 10g and get above ... something is conflicting. ... It is highly likely your 10g listener failed to start due to your 9i ... listener using port 1521. ...
    (comp.databases.oracle.server)