Solved

no oracle registry key on server, what does this mean and how to find oracle home? ... and couple basic questions...

Posted on 2011-02-24
15
1,120 Views
Last Modified: 2012-05-11
Hi, on my workstation I can find the oracle home by looking at HKEy_LOCAL_MACHINE -> SOFTWARE -> ORACLE -> ...

However, when i look at the server which has Oracle installed, there is no Oracle key in the registry. I can connect to the server from my workstation and connect to oracle, open the database on the server etc. So Oracle is definitely on the server. Where is the registry key and how do I find the oracle home then? Ultimately actually I'm just looking for the tnsnames file to check that the server can correctly connect to another server with oracle on it... (it's a windows server 2008 operating system)

Also, does this maybe mean that the oracle client is not installed? because i just found out that it isn't. And then, if the oracle client is not installed, does that mean that the server cannot connect to another server which has an oracle database?
0
Comment
Question by:AidenA
  • 6
  • 5
  • 4
15 Comments
 
LVL 1

Accepted Solution

by:
claudiodom earned 500 total points
Comment Utility
if it is an x64 bit operating system, probably it stores under the

HKEy_LOCAL_MACHINE -> SOFTWARE  > Wow6432Node > Oracle > ...


0
 

Author Comment

by:AidenA
Comment Utility
thanks found it. and just for the second part of that question... can the server connect to another server without the oracle client installed? i'm getting the impression that maybe it can, maybe as long as oracle itself is installed?
0
 
LVL 1

Expert Comment

by:claudiodom
Comment Utility
yes it can connect to another server.

0
 

Author Comment

by:AidenA
Comment Utility
sorry, that's not totally clear. you confirm that you don't need the oracle client to connect to an oracle database on another server? that to say, if you have oracle installed, there is no need for the oracle client, it serves no purpose?
0
 
LVL 1

Expert Comment

by:claudiodom
Comment Utility
sorry!!

yes you can connect to another server without the client .

0
 

Author Comment

by:AidenA
Comment Utility
ok thanks for the info!
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
>>yes you can connect to another server without the client .

Even though this is closed:  How?  

The only way I know of is JDBC Thin.  Every other way I know requires an Oracle client to connect to an Oracle database.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 1

Expert Comment

by:claudiodom
Comment Utility
slightwv:

conecting oracle server to other oracle server ? does not oracle server installation has all that client side files ? .... i though that it had ...

AidenA:
sorry for some mistake !


thank you
0
 

Author Comment

by:AidenA
Comment Utility
ok so i'm getting confused now!

so we are saying that if the server does not have the oracle client installed, then it can not connect to another oracle database on another server? (even if oracle is installed on the server... but not the client).

Yes, we are saying it cannot connect without oracle client even though oracle itself is installed?
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
>>conecting oracle server to other oracle server ?

Sorry.  I missed server to server.

>>ok so i'm getting confused now!

Sorry for the confusion.

To help clear it up:
Oracle out of the box is client/server.  Every time you log into the database server and connect through sqlplus, you are making a client/server connection.

claudiodom is 100% correct.  If you have Oracle installed on a server and are running a database then you have all the necessary client files to connect to any other Oracle database server.

I read the question to be you have a machine with nothing Oracle installed.

Again, sorry for the confusion.
0
 

Author Comment

by:AidenA
Comment Utility
ah ok, no problem.

yeah it seemed to me that the server was able to connect fine to other oracle servers but i was having trouble connecting through the website on the server. i think that's another issue though

thanks for clarification
0
 
LVL 1

Expert Comment

by:claudiodom
Comment Utility
:)

anyway, pay attention to de server that its receiving connections, must have the firewall port opened for 1521. ( this was an issue that i've had 3 days ago in a test machine with: windowsxp 32bit  )

good luck...





0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
>>must have the firewall port opened for 1521

Not entirely true.  1521 is the default port for the listener.  In production you should really never use this port.  Every hacker in the world knows it.

You also need more than that single port for a successful connection for the new port the listener opens.  It's a random high port between 1021 and 65536.  

This can be restricted through Multi-Threaded-Server, or you can force all connections to share the listener port through USE_SHARED_SOCKET.

Both of those methods have negatives.
0
 
LVL 1

Expert Comment

by:claudiodom
Comment Utility
yes... but in this case the server is intended only for an intranet with no access to public !


thank you for that explain !

0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
>>but in this case the server is intended only for an intranet with no access to public !


Then why comment on port 1521 and a firewall in the first place?
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now