OraOps.dll and Multiple Oracle Homes
Hi All,
I am writing a simple Windows Forms client app that is trying to connect to an Oracle 8.1.7 database. I am having a problem connecting with ODP.NET. The error I get is as follows:
"An unhandled exception of type 'System.DllNotFoundException' occurred in oracle.dataaccess.dll
Additional information: Unable to load DLL (OraOps.dll)."
I have gone through these forums and tried everything that the various people suggested:
1) I have made sure that process can access the OraOps.dll file (In my program I opened the dll and read a couple of bytes out of it.)
2) I have installed the 8.1 client into a seperate home from ODP.NET (8 client and OraOLEDB is in D:\Oracle\Ora81, 9 client and ODP.NET is in D:\Oracle\Ora92) I intalled the 8 client first, then the 9 client with ODP.NET.
3) I have used the Oracle Home Selector to ensure that the Oracle 9 home is current.
4) I have checked the path that the process is using to ensure that the Oracle 9 home is first in the path, which it is.
Can anyone think of any other things that might cause this problem? I'm out of ideas. :-(
Jeremy
Absolutely...make sure that you use OUI to install the additional Oracle_Homes so that the inventory would be updated (instead of copying over from the existing OHs).
We have a cluster, wherein we have about 6 different ORACLE_HOMEs (whether it's good idea to have so many OHs is a totally different question though)...and it works fine and it well supported by Oracle. As such, you can both NON-RAC and RAC OHs as well, if you prefer.
Thanks
Chandra
Similar Messages
-
Relinking Oracle binaries and multiple Oracle Homes
Hello,
My question is related to relinking Oracle binaries in the following scenario:
As part of larger migration project we are moving all the databases from one server to another. Both on old and on new server the OS is the same: HP-UX 11.23i. There are 5 databases on the source server, each with it's own Oracle Home (and Oracle binaries). All Oracle binaries for all the databases are version 10.2.0.3.
On the new server we have some of the migrated databases already in production. Now our DBA wants to move another database and, because for each database binaries are moved also from source to destination server, he has to relink the binaries on target server. Is it required to stop all the databases on the target server to perform the relink for this one DB, even if they all have separate Oracle Homes (binaries)?
Thanks for your answers
Maciej883072 wrote:
Hello,
My question is related to relinking Oracle binaries in the following scenario:
As part of larger migration project we are moving all the databases from one server to another. Both on old and on new server the OS is the same: HP-UX 11.23i. There are 5 databases on the source server, each with it's own Oracle Home (and Oracle binaries). All Oracle binaries for all the databases are version 10.2.0.3.
On the new server we have some of the migrated databases already in production. Now our DBA wants to move another database and, because for each database binaries are moved also from source to destination server, he has to relink the binaries on target server. Is it required to stop all the databases on the target server to perform the relink for this one DB, even if they all have separate Oracle Homes (binaries)?
NO! -
Here is my issue: We have a central RAC cluster that I'm being asked to run on. It is a two node cluster. I would like to have my own Oracle homes on the boxes so that I have more control over the environment and management (like patching etc...). So on the box I would have a home for ASM, a home for Clusterware, and two database homes. Is this certified so that the databases running out of my home are clustered and managed by the Clusterware?
Thanks!Absolutely...make sure that you use OUI to install the additional Oracle_Homes so that the inventory would be updated (instead of copying over from the existing OHs).
We have a cluster, wherein we have about 6 different ORACLE_HOMEs (whether it's good idea to have so many OHs is a totally different question though)...and it works fine and it well supported by Oracle. As such, you can both NON-RAC and RAC OHs as well, if you prefer.
Thanks
Chandra -
Currently we are running AIX 4.3.3 and Oracle 8.06 with about 13 instances on one box. We need to upgrade one of the 13 instances to Oracle 8.1.7.2. Is it possible to have two different versions of Oracle residing on one server with 12 databases on version 8.06 and one on 8.1.7.2???
Absolutely...make sure that you use OUI to install the additional Oracle_Homes so that the inventory would be updated (instead of copying over from the existing OHs).
We have a cluster, wherein we have about 6 different ORACLE_HOMEs (whether it's good idea to have so many OHs is a totally different question though)...and it works fine and it well supported by Oracle. As such, you can both NON-RAC and RAC OHs as well, if you prefer.
Thanks
Chandra -
Multiple Oracle home and multiple Oracle database versions on same server?
Hi all,
I want to setup a test environment on single Windows XP server with an instance
of Oracle 10g and Oracle 11g. How can I install both versions without problems?
ThanksHi,
I am facing a problem on the same..
below is the link to my thread.
Multiple Oracle Home in Windows
Please reply me how to solve this problem
Thanks
Bhavik Fuletra -
Multiple oracle homes on Windows and the "Path" environment variable
Hi There,
We have a windows 2003 database server that has few databases running oracle 10.2.0.3. We are installing oracle 11.2.0.1 on the box as well, and we were wondering, which binaries should come 1st in the path environment variable? and how does this effect the working oracle environment?
Going to the oracle home selector and swapping the 2 oracle homes around will have the same effect on the windows path variable - which will treat the 1st oracle home to be the default home - are there any general rules reg. multiple oracle homes on a server and the default home?
Should the earlier version of oracle always proceed the newer one (i.e. c:\oracle\product\10.2.0.3\bin;c:\oracle\product\11.2.0.1\bin) or should the newer oracle version comes 1st as newer oracle versions are usually backward compatible?
Your thoughts are highly appreciated.
ThanksThat isn't going to happen.
If you install 11.2 last it will appear in the PATH variable first
If you don't want that you need to Oracle Home Selector utility in the Installer to change it.
Obviously, as usual, all of this is documented.
Sybrand Bakker
Senior Oracle DBA -
Hi ,
I have some doubt which needs to be cleared.
If I will install multiple oracle home like ORACLE_HOME=/u01/app/oracle/product/10.1.0/asm
ORACLE_HOME=/u01/app/oracle/product/9.2.0
ORACLE_HOME=/u01/app/oracle/product/10.2.0
ORACLE_HOME=/u01/app/oracle/product/crs
Now in this when I will set export ORACLE_HOME then which version will be picked up.
Is ORAENV isgoing to come into picture.
Please throw some light on it.
Mkasifkabirdba wrote:
You have installed your oracle product (db,application server) using one of os user like oracle,appl,oraprod ect. When you log in to your OS by using OS user then .profile file executed automatically to export necessary environmental variables. You did not mention your OS. Normally you will find it to your OS user home directory. You can edit this file to set your desired ORACLE_HOME.
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
ORACLE_HOME=/oracle/product/102
ORACLE_SID=ogtest
LD_LIBRARY_PATH=$ORACLE_HOME/lib
TNS_ADMIN=/oracle/product/102/network/admin/
export ORACLE_HOME
export ORACLE_SID
export LD_LIBRARY_PATH
export TNS_ADMIN
export PATH=$PATH:$ORACLE_HOME/bin
Regards
Asif KabirAsif,
Your advice to hard code the Oracle environment directly into the profile is poorly thought out. And a direct carry over of 'worst practices' unfortunately taught in some Oracle related classes.
The OP did correctly identify oraenv (as described in the "Administrator's Reference for UNIX-Based Operating Systems" at http://www.oracle.com/pls/db102/portal.portal_db?selected=4) as the preferred solution. Putting THAT into the profile (using ORAENV_ASK as described in the manual) is OK.
I'll leave you to figure out why the difference - I've posted many times about that in these forums.
/Hans -
Hi everybody,
I have Oracle 9i installed on my Windows machine.
I installed Oracle Developer Suite, but could not login due to TNS errors.
I have a little idea of what the problem is. We need to edit TNSNAMES.ORA file so that it could resolve the service name.
Can u please help me out in configuring Developer Suite to work properly?
Thanks.
-- Kishore.Not quite sure why your title is Multiple Oracle Homes. Can you connect to SQLPLUS or any other product in the suite? Is it just Designer you are having hassles with? Do you have the database on the same machine and can you connect to that? If you are successful at connecting to SQLPLUS, then take a look at the tnsnames file in the Database network /admin directories.
There was a bug at one point where the tnsnames would fail if the network connect string was between 184 and 192 characters in length. You may be running into this. In which case if your tnsnames.ora contains
(CONNECT_DATA =(SID = <SID>), you can change this to use (CONNECT_DATA =(SERVICE_NAME= <SID>)
Regards
Sue -
Guidelines regarding directory structure for multiple Oracle homes on Unix!
Hi All,
Are there any guidelines published regarding directory structures that should be defined while using multiple Oracle homes on Unix/Linux box?
I am looking for guidelines regarding admin and oradata folders so that we dont accidentally mess up with the DB contents with a wrong Oracle home.
Its a development server with 8i and 10g. 11g might also get loaded on the same server in future.
Thanks in advance...
RegardsThanks Maran.
I have already checked many installation guides before posting here. All of them mention about creating folders like /admin or /oradata on various mount points but none of the naming conventions really indicate whether it is a 8i database or a 10g database.
This is required when you are having multiple Oracle installations under /opt and databases are running from different mount points.
Regards, -
Shared cluster with multiple oracle homes
Hi All,
I got to build a shared oracle RAC cluster with multiple oracle home installation ( 10g R1 , 10g R2 , and 11g R1 & 2).
Of course the cluster ware will be version 11.2, but I wondered if there is any dependency on how I install oracle software? Do I have to start with 10g installation first? can I do 11g and then 10g?
Is there anything I should be aware of ?I installed Oracle Application Server Enterprise which includes AS, Database, OID, Web Cache, SSO etc. and OSES on the same machine. Everything works except I think the windows version of OSES and AS need some patches so the crawler isn't working right. Everything does, however, install and run. I think Oracle develops everything in Linux (rumors of them now using Solaris) so on Linux everything should go smoother.
-
Regarding Multiple Oracle Homes
Hello,
Does all of the Oracle products support multiple homes ?
Can oracle 8i and oracle 8 products be kept in same oracle home ?
thanks
nullHi Raj,
To answer your first question, No, not all of Oracle products
support multiple homes. All Oracle7 products and all release
8.0.3 are non-multiple Oracle home products. Oracle 8i lite
cannot support multiple oracle homes either.
In regards to your second question, no Oracle8i and and Oracle
8.0 products cannot be kept in the same Oracle home. Releases
prior to 8.1.3 cannot be installed in an Oracle home that was
created by a release of 8.1.3, 8.1.4 or 8.1.5.
Hope that helps,
Thanks & Regards,
Sudi Narasimhan
Associate Consultant
Partner Services
Raj Thomas (guest) wrote:
: Hello,
: Does all of the Oracle products support multiple homes ?
: Can oracle 8i and oracle 8 products be kept in same oracle home
: thanks
null -
Oracle XE (Windows) Multiple Oracle Homes
I have a question in regards to Oracle Express Edition and how it maintains Oracle Home.
I currently have multiple Oracle Homes on my machine. In order for apps like SQL Developer or PLSQL Developer to see the correct TNSNAMES entries, I usually have to use the Home Selector from the Installation tools to properly obtain the correct tnsnames entries in the dropdowns.
Now, I'm a Linux DBA, not to keen on Oracle environments for Windows. But, when I installed Oracle Express Edition, none of my Applications SQL Developer or PLSQL Developer recognize the tnsnames entries for my environment. From the 9i Home Selector I see that it is in the correct environment I want it to use. But it seems Express has overriden somehow.
Can anyone lead me into the right direction to switch between my XE Environment to my 9i environments?
Thanks.
LeeI did it too, but the beta over beta software is just too dangerous.. you never know what is crashing your system :)
[]s
Marcio -
Multiple oracle homes installation
i have installed oracle 9i database on single sever where 8i is residing using multiple oracle homes.After installation some folders and files related to 9i created in 8i home directory(eg:9i admin related folder create in 8i admin folder).but i dont want to create like that.is there any way to create all files related to 9i should reside on that 9i home directory only?
You didn't specified the OS.
Assume that your OS is Unix-like (Solaris, Linux) and your user is oracle.
The answer is very simple. Use different enviroments.
create in home directory (oracle user) two files:
1. .ora_8i
2. .ora_9i
All enviroment variables related for 8i database (ORACLE_BASE, ORACLE_HOME, ORACLE_SID, LD_LIBRARY_PATH etc.) are defined in .ora _8i and all variables for 9i are defined in .ora_9i.
Now, you want working with 8i so you need apply 8i enviroment. To do that simply execute following from shell ". ~/.ora_8i". Now you decided working with 9i so simply execute the ". ~/.ora_9i" from shell.
For installation use the same way. So before you run ./runInstaller load the apropriate enviroment. -
Hi!
I have multiple oracle homes on my machine: Oracle9DB, DevsuiteHome_1 and now as I have just installed Oracle Discoverer 10g....BIToolsHome_1.
The problem is ever since I installed Discoverer, nothing is working......
Can anyone help?
Best regards,
AparnaDear Rod,
What I mean by nothing is working is I cannot connect to the dataases. I get 'No listener' error message.
Oracle Hone selector gives the following message:
The is only one Oracle Home defined on this machine and so this tool cannot be used to change your primary Oracle home.
I tried to start the listener service, however, it says:
Listener service started and then stopped.
Is there any solution to this problem?
Thanks and best regards,
Aparna -
Multiple Oracle Home support 9i and 10g
I have 9i and 10g clients installed in separate oracle homes.
When I switch to 9i home my application is still using 10g OLE DB.
Is there any way that I can activate 9i OLEDB when 9i home is active and vice-versa?
Thanks
RaviKiranHave you gone through the chapter on troubleshooting replication problems in the Advanced Replication manual? In particular, the sections on DML changes not being asynchronously propagated and diagnosing problems with materialized views?
Justin
Maybe you are looking for
-
Error in testing a new connection to Financial Consolidation
Hi. we want to create a new connection to Financial Consolidation. It works so far, but when i click on "Test connection" i'm getting the following error: Unerwarteter Fehler bei der Aktion Webdienst-URL-Verbindung validieren'. Wenden Sie sich an den
-
Why is code to get center of image not working?
Hey there. I have am trying to establish the center of the imags that load so that I can put them in the center of the stage. I am doing this as each image is a different size. Here is the code i have gotten to work before but its not working now and
-
I receive a " the maximum number of free account have been activated on this iPhone " when I want to sign in iCloud with my Apple ID on my iphone..please someone help me..
-
how to connect my iPad to HP printer through air print. do I have to download any software for that?
-
Hello, Last summer I wrote 45 classes for a program, I developed in Unix and just used emacs for text editing and scripts to compile. Now this summer I am trying to start this back up. The catch is I have to use Netbeans 3.6. It's all nice and pretty