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,139 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
ID: 34968919
if it is an x64 bit operating system, probably it stores under the

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


0
 

Author Comment

by:AidenA
ID: 34969090
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
ID: 34969131
yes it can connect to another server.

0
 

Author Comment

by:AidenA
ID: 34969140
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
ID: 34969170
sorry!!

yes you can connect to another server without the client .

0
 

Author Comment

by:AidenA
ID: 34969218
ok thanks for the info!
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34969451
>>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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 1

Expert Comment

by:claudiodom
ID: 34969717
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
ID: 34969928
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)
ID: 34970205
>>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
ID: 34970593
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
ID: 34970662
:)

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)
ID: 34972028
>>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
ID: 34972213
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)
ID: 34972600
>>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

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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…

930 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