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,183 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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
 
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

808 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