Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

lsnrctl status hangs??

unknown-1052419Feb 20 2014 — edited Feb 21 2014

Hi all,

11.2.0.3

linux6

I triend running :

[oracle@DGOracleTest2 ~]$ lsnrctl stat

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 20-FEB-2014 15:26:57

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DGOracleTest2.localdomain)(PORT=1521)))

But it just hangs forever. Any ideas how to fix it?

Thanks a lot,

pK

Comments

jtahlborn
Basically, java wasn't designed to be that low level. Other than that, probably no good reason.
800670
Yes, I see, but why isn´t it possible to write the header myself when it consists of usual bytes? That is what I can not understand.
EJP
At a guess it is because either (a) using raw sockets requires privileges and/or (b) Microsoft keep changing the raw sockets API or (c) it's a general-purpose programming language and why would you want to do that?
++sja
You can do raw sockets with third party libraries. They won't be pure java - but you didn't really expect to do raw sockets on your cell phone or TV set top box, or spy and spoof someone's network using an applet.

The FAQ for one such library hints what kind of a mess raw sockets are due to differences in common operating systems; see http://www.savarese.com/software/rocksaw/
At least to some extent the windows API didn't support raw access when java first came out.

So lowest common denominator would be a more likely explanation.
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 21 2014
Added on Feb 20 2014
30 comments
7,921 views