Find oracle home

Hi,
DB : 8i and 10g and 11g
OS : Redhat 5 and AIX 6
We have 5 db in a test server with same user name and different oracle home.Some times people wrongly started the db from other oracle home.How to find a instance using which oracle home in the server?
How to find it?
Thanks & Regards,
VN
Edited by: user3266490 on Apr 24, 2012 4:41 PM

some times we started db with pfile from non default location?How to find where that pfile located?you cannot find the nondefault location of pfile ..
When we have more than one oracle homes in a server,How to find A instance using which oracle home?Use the above command from the on prompt
--neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How To Find Oracle Home Directory Path...

    Hello,
    I am working on deployment of java web service on Oracle Application Server(LINUX) 10g, EBS - R12.
    I am working on other system and i want to deploy web service remotely on application server.
    And i am not getting the oracle home directory path. I want to find the home directory path remotely.
    so suggest me how to find out path of that.
    or weather i have to install jdevloper on server system and than i have to deploy it,
    or any other alternative way is available.
    Reply as soon as possible......

    Thanks for your reply.
    It's precisely the registry key which got tampered, and there's no ORACLE_HOME environmental variable(Or that too is tampered)
    Now,how to set it to one of the Oracle home directories?
    Regards,
    Bhagat
    !!!!!!!!!!!!!!!!!!!!

  • How to Find Oracle Home Name

    Hi All,
    I am trying to find what is the name provided for ORACLE HOME NAME for SSO Midtier.
    The install log files are not available. Now when i try to patch the SSO it is prompting for the Oracle home name and path, for which I donot know the value for Oracle Home Name.
    Is there any file apart from install log will have this value or is there any way i can see it from the OEM console?
    Regards,
    Balaji

    Hi,
    The server has:
    1 SSO
    1 MidTier
    But have been installed with the same Oracle Home Name - oracleas
    Now I have to patch the SSO to 10.1.2.2.0
    During patching if I give oracelas1 as oracle home name it automatically changes its path to Mid Tier path.
    If i manually change it to SSO path it throws an error.
    If i give a new Oracle Home Name manually and type the oracle home for SSO, it says this SSO doesnot need the patch 10.1.2.2.0 but the SSO still runs on 10.1.2.0.2
    Let me know if i am clearly.
    Regards,
    Balaji

  • Database Instance Install - Does not find Oracle Home

    I'm installing SolMan on distributed servers. Oracle 10.20.2 was installed /oracle/product/10.2 (shared db server for sandbox environment); I've set $ORACLE_HOME=/oracle/product/10.2; but SAPINST does not detect and wants to install Oracle under /oracle.
    What can I do to have SAPINST see $ORACLE_HOME=/oracle/product/10.2? Is the /oracle hard-coded in the installation? Any suggetsion would be great.

    you probably have not installed Oracle with SAP parameters because your ORACLE_HOME should be set as /oracle/[SID]/102_64

  • Finding the path to Oracle home

    Hi
    I am trying to get the value of "oracle home" (e.g OraDb11g_home1) and display it within my java program, not sure how to do this. One possible way it to parse the ContentsXML/inventory.xml file. The only drawback I can think of is that a user may change the directories from default during installation resulting in the program unable to find the file. Some feedback will be appreciated.
    Thanks

    875864 wrote:
    The program will display a list of all "oracle home" names within a combo box and some input fields for authentication e.g. username and password to log in. Until they login a user will not have access to the database therefore no interaction between the user and database will take place. I am looking for an OS Level solution. The Registry option looks feasible but its not perfect as it depends on the version name to get this info, which could be an issue since not all versions store the data in same place or under the same key.Knowing ORACLE_HOME has nothing to do with connecting to a database. Why not just ask for their credentials and try to connect? If they have a valid account, they'll be connected. If they don't have a valid account, they won't be connected? Why is the app trying to add extra layers?

  • Oracle DB 11g Express Edition Find directory home path in Windows 7

    Hello,
    I am working through a PL/SQL Programming book and I am on PROGRAM UNIT DEPENDENCIES. As I work through the examples it asks me to use the Dependency Tree Utility by running this script in SQL*Plus: @<path to Oracle Home directory>\rdbms\utldtree
    However, no matter where I look on my computer (Win7 Home) I cannot figure out the directory path. I looked elsewhere and it was suggested that Windows stores the directory in the registry. I went to regedit and followed Hkey_Local_Machine\Software\Oracle....and found 'c:\oraclexe\app\oracle\product\l11.2.0\server'
    I tried that as the directory path, but no luck. Plus I cannot even find any file folders for the DB that contains 'rdbms'.
    So my question is, is there a directory HOME or BASE path in windows 7 for Oracle database 11g Express Edition and or does the 11g Express Edition have the utldtree.sql file somewhere?
    Thanks in advance for any help,
    Warren

    I have a lot of utl*.sql files, including the one you named, in C:\oracle\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin.
    You should also be able to reach the location when running in sqlplus, via "?" shortcut, e.g.
    SQL> @?/rdbms/admin/utldtree
    There's also a way to print top dir of Oracle Home in sqlplus - e.g. path inside square brackets below:
    SQL> @.[%oracle_home%].
    SP2-0310: unable to open file ".[C:\oracle\oraclexe\app\oracle\product\11.2.0\server]..sql"

  • Where can I find the Oracle Home Directory

    hi,
    When i try to setup SALT g10R3, I will have to specifiy the oracle home directory. I have a global variable $ORACLE_HOME which contains this path : /produits/oracle/product/10.2.0 !
    I try to validate but this message appears :
    =========================================================================
    Choose Oracle Home Directory
    1- Specify an Oracle Home
    Enter a number: 1
    Specify an Oracle Home directory: /produits/weblogic
    Path must be absolute and have write permission!
    Specify an Oracle Home directory: /produits/oracle/product/10.2.0
    =========================================================================
    Check Prerequisite
    Cannot get registry information from the given Oracle Home Directory:
    /produits/oracle/product/10.2.0
    Tuxedo has not been installed in this directory, or the registry.xml file has
    been manually removed or corrupted.
    Type 'back' to select another Oracle Home Directory
    Type 'quit' to cancel this installation
    [back | quit]: /produits/tuxedo
    Type 'back' to select another Oracle Home Directory
    Type 'quit' to cancel this installation
    [back | quit]: /produits/tuxedo/tuxedo9.1
    Type 'back' to select another Oracle Home Directory
    Type 'quit' to cancel this installation
    [back | quit]: quit
    =========================================================================
    I don't know how can I solve this problem, someone can help me ?
    Thanks

    Hi Todd,
    I see a similar error while installiing TSAM 10gR3. Please find the error below. I have Tuxedo 8.1 installed on a Linux base, where i am trying to also install TSAM 10gR3. But when i give the PATH/Location, where Tuxedo 8.1 is installed, it throws the following error. Can you please advise?
    ===============================================================================
    Choose Tomcat Feature
    Do you want to install the bundled Tomcat Server?
    ->1- Install Tomcat
    2- Do not install Tomcat
    ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS <ENTER> TO ACCEPT THE DEFAULT:
    ===============================================================================
    Oracle Home directory selection
    Specify Oracle Home directory: /opt/tuxhome/tuxdom2
    registry.xml does not exist in Folder: /opt/tuxhome/tuxdom2
    Specify Oracle Home directory: /opt/tuxedo/v81
    Error:TUXEDO 10gR3 is not found in the specified directory.
    Specify Oracle Home directory:

  • How to find the oracle home directory of a particular database ?

    Hi all,
    There are multiple databases in our machine server ; there are many oracle9i and many oracle10g databases.
    I forgot the directory where I installed a particular database so I want to know how to know the directory path where its oracle_home was. For example C:\Orant\Bin.
    Thank you very much indeed

    Yea friend .
    I m agree with u . Because In my Linux server There are 2 database . I have to use Automatic run script (use dbstart) for Database so that Datbase will be auto up during startup. My default oracle Home for Oracle user is "/ORACLE" and also mention it i Oracle ".bash_profile" .
    I give the entry into "/etc/oratab " Like following :
    vi /etc/oratab
    test1::/oracle:Y
    test2::/oracle:Y
    But One database (test1) is up during startup the server but another (test2) is not . I dont understand the problem .... can anybody give me some suggestion ?
    In this pint , If Oracle Home is the problem then How can I find the Oracle Home regarding these two databases ?

  • How to find out difference between IAS Oracle Home patches and 10.1.2 Oracl

    How to find out difference between IAS Oracle Home patches and 10.1.2 Oracle Home patches.
    I have read me document but i could not able to understand.
    Please help me

    user10721329 wrote:
    How to find out difference between IAS Oracle Home patches and 10.1.2 Oracle Home patches.
    I have read me document but i could not able to understand.
    Please help meWhat docoument you are referring to?
    If you source the application env file APPS<CONTEXT_NAME>.env file under $APPL_TOP directory then this will set ORACLE_HOME to 10.1.2
    If you source the application env file <CONTEXT_NAME>.env file under $INST_TOP/ora/10.1.3 directory then this will set ORACLE_HOME to 10.1.3
    Environment Settings
    http://docs.oracle.com/cd/E18727_01/doc.121/e12841/T120505T120509.htm#F_92659x3Ax20H1x20Head1x3Ax20Environmentx20Settings
    Thanks,
    Hussein

  • Need of Two Oracle Home in R12

    I am a newbie apps dba and was going through the oracle documentation. Where I learnt that in r12 there are two ORACLE_HOME 10.2.0 and 10.3.0. I tried to research regarding the same but couldn't find anything conclusive enough that would clear my fundamentals regarding the need for having 2 ORACLE_HOME. Of what I have understood , 10.2.0 is Developer Home which hosts the Apache, forms server etc and 10.3.0 hosts the JAVA/html server etc. Is my understanding correct regarding the same ? and what is the use and advantage of having two Oracle Homes? Do explain me in laymen terms as I am still a newbie!

    BhaviSavla;
    I guess you dint understand what I have said!!! I HAVE ALREADY READ THAT THOUSAND TIMES!!! Please think double&triple time while you are talking wiht Hussein Sawwan about EBS related questions. I am sure about Hussein Sawwan  understand your question as he understand other questions and already he has been answered your question(If you have ability to understand what you read)
    I strongly suggest you about TO BE KIND-RESPECT with forum users which are trying to help other people here.
    And I am still not able to understand the actual advantage of having TWO ORACLE_HOME...After read something, If you still understand than dont blame forum users. Choose easy way... Rise SR!
    Kindly do not post just to increase your number of posts on this forum!! If you cannot help me in anyway with this, kindly do not post!If you dont follow OTN forum site consistently than DO NOT MAKE COMMENT about people here If the topic is Hussein Sawwan.
    I must remind you something... He has more than 50k post wiht 51k points which mean he made post here like your_post_count*1500times... Wiht other words, his each post equal to 1 point, which mean his each post has meaning which are helpful!
    Do you have capability to calculate how mch time he spend here?
    Dont thing so!
    Moderator, I belive this question is already answered If the poster read notes! Please close or lock this thread!
    Thanks
    Helios

  • Multiple Oracle home

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

    asifkabirdba 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

  • Multiple Instances on single oracle home

    Hi,
    If i have multiple instances in a single oracle home
    How can i know which instance is running (up)
    to which table i fire query to find instances status
    how to start single instance out of multiple instances
    Thanks,
    Mustang

    mustang4455 wrote:
    Hi,
    If i have multiple instances in a single oracle home
    How can i know which instance is running (up)
    to which table i fire query to find instances status
    how to start single instance out of multiple instances
    These questions show a certain lack of knowledge about Oracle - which immediately says that you also do not know what you are doing ito performance and scalability of a Oracle and that server platform by running multiple instances on it.
    In most case, running multiple instances is the wrong thing to do. It degrades performance. It does not and cannot scale. It is an exception to the basic fundamentals of client-server. And not just for Oracle.
    You need sound technical justification for running multiple instances on a server. What is yours?

  • Forms installation problem - how do I create a new default Oracle home?

    I am new to Oracle so please forgive my utter ignorance. My impression of Oracle because of how an installation
    has to be done is taking a nosedive. I thought Microsoft was bad with all the re-booting but the explanation that I
    read in Anubhav Seth's post about installing Dev 6i before 8i and the suggestion (not a requirement) to format the
    harddisk and reinstall Windows just leaves me with my jaw hanging open. I'm having a little trouble swallowing that
    one.
    Here's my situation... I'm running 8i at home and I am using it for the Oracle courses that I am taking at a local
    university. So 8i with its SQL*Plus has been all I have needed to date. Now we have a project to do that involves forms.
    So I go to the OTN page for downloads and downloaded file 6irel2nt.exe which is 264 MB in size. This file, I assume,
    has forms in it -- what else I don't know because things are not explained all that well on the web site or I don't know
    where to look (which implies poor organization of the web pages).
    I run the 6irel2nt.exe file and end up with 11,128 new files on my computer. That's nice. I run the setup file and a step or
    two into it it complains that my 'Ora81' home is already being used and that I need to install it into another Oracle Home.
    Now I'm trying to find out how I create another Oracle Home. I perform a search in GOOGLE on "creat default Oracle
    home" and basically get nowhere. My $50+ "Oracle 8i A Beginner's Guide" from Oracle Press mentions Oracle Home
    on one page (pg. 170) but is completely useless in this case. My $184 worth of Oracle University manuals (which
    are really PowerPoint slides) is useless too. My next step will be to comb through the FAQs. All this because I cannot
    believe that I have to totally uninstall one product to get another to install and then reinstall the first one. That is INSANE!
    If I have gone way off track please feel free to blast me but if this is true then all I can say is that the folks at Oracle need
    a lesson in KISS (Keep It Simple Stupid)! Computers and computer software are supposed to make our lives simpler
    not complicate the holy hell out of them. I'll get off my soapbox now. Sorry about the whining.

    I ended up uninstalling 8i and then I installed Dev 6i (Forms) and then I reinstalled 8i. I had some problems
    installing Dev 6i because of this error "path.vrf(86): Unbound variable 'path_too_long_prompt'". Right after this error
    appears I get a dialog that states, "The Oracle Installer cannot update the system path variable to %new_path%
    because it is too long. Please restrict your system path to 127 characters and make sure D:\Oracle\OraWin95\bin
    is included in your path."
    The path D:\Oracle\OraWin95 was what I set up for this installation.
    What I did to work around this problem was this...
    (1) Go to Start - Accessories - System Tools - System Information.
    (2) Click on the Tools menu
    (3) Select System Configuration Utility
    (4) Select the Autoexec.bat tab
    (5) I added D:\Oracle\OraWin95\bin to my PATH variable and unchecked the checkbox next to one of the several
    lines that I have that build my PATH variable. (I have several PATH lines that simply add a path to the system
    variable %path%). After the installation is complete you can go back and turn back on the paths that you had disabled.
    After installing 8i I did have a problem connecting to the database. I got this error:
    Error: ORA-01034 Oracle not available
    I believe this happened because I had forgotten to turn back on some of my PATH information that I mentioned
    earlier. After checking one of my PATH variables and rebooting, this problem disappeared.
    When reinstalling 8i and when the installation asks for an SID and you enter the SID you had used in the original
    installation you may get a notice that says the SID already exists. I think this happens because the uninstall does not
    clean up the registry totally, so I entered a different one. Later on, after the installation has been completed and you
    are connecting to your database, you will be prompted to select an SID -- just make sure that you select the SID from
    the latest installation.
    I should've mentioned first that in preparing for this whole ridiculous exercise I created a directory under my Oracle
    directory that I was going to use as the new 'Oracle home.' So I guess that's all one has to do to create a new Oracle
    home -- just have another directory ready to install 'stuff' into.
    All in all, this a pretty asinine exercise. Oracle really needs to fix this mess. I honestly thought Microsoft was bad but
    this takes the cake. I wonder if SQL Server is this screwed up.

  • Error while appying patch set 4 (10.1.3.4.0) to oracle home (10.1.3.1.0 )

    Hi,
    I am trying to apply patch set 10g Release 3 (10.1.3) Patch Set 4 (10.1.3.4.0) to 10g Release 3 (10.1.3.1.0) oracle home. As the pre - installation steps describes I have run the script ‘upgrade_10131_10134_oracle.sql’ for both ESB and BPEL. Also we need to delete the line <data id="java-bin" value="/myhost/jdk1.4.2/bin/java" />from the ‘ORACLE_HOME/opmn/conf/opmn.xml’ file. But when I have checked that file, the line was not present there.
    But when I am running the installer, it is showing error like
    Error
    --> Process (index=1,uid=418288051,pid=30220)
    failed to start a managed process after the maximum retry limit
    Log:
    C:\Oracle\Soa_OFMPractice\SOATESTING\opmn\logs\\HTTP_Server~1.log
    Configuration assistant "OPMN Configuration Assistant" failed.
    When I checked the log I got the error message like
    08/12/05 14:00:10 Start process
    Syntax error on line 278 of c:/oracle/soa_ofmpractice/soatesting/apache/apache/conf/httpd.conf:
    Cannot load c:/oracle/soa_ofmpractice/soatesting/apache/apache/modules/apachemoduleossl.dll into server: (127) The specified procedure could not be found:
    Does anybody know how to fix this problem?
    Thanks & Regards,
    Anju

    There is a quick fix for this
    There are 2 lines you need to comment form the c:/oracle/soa_ofmpractice/soatesting/apache/apache/conf/httpd.conf
    A comment is done with a #
    If you look in the C:\Oracle\Soa_OFMPractice\SOATESTING\opmn\logs\HTTP_Server~1.log file it will tell you.
    Find the line that has apachemoduleossl in it. When you try and restart it will fail again the C:\Oracle\Soa_OFMPractice\SOATESTING\opmn\logs\HTTP_Server~1.log should tell you what line to comment
    sorry can't be of much more help but dont have access to an environement at the moment.
    cheers
    James

  • How to know the list of patches applied to iAS Oracle home and 8.0.6 Home

    Hi,
    Please help me for the steps to know the list of patches applied to iAS Oracle home
    and 8.0.6 Home;
    as we can use ad_bugs, ad_applied_patches, OAM Applied Patches for Oracle Applications Patches list
    and we can use opatch lsinventory for Oracle Database patches applied list

    Thanks for sharing the answer. BTW, there are some exceptions like, determining Developer 6i patchset applied, and Oracle 9iAS version:
    How to find the developer version
    Re: how to find the developer version
    Note: 186981.1 - Oracle Application Server with Oracle E-Business Suite Release 11i FAQ
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186981.1

Maybe you are looking for

  • I would like to know how to extract my old contacts from the iTunes backup? Please explain in basic english i am a beginner

    I have had my old Iphone 5s replaced with a new one but I would like to know how to extract my old contacts from the iTunes backup? Please explain in basic english i am a beginner

  • Problem opening pdf's with one user

    Hello, We deployed adobe reader X on a terminal server 2008 with about 10 users, which login directly via an rdp session (no broker). With one user, we have the problem that when she tries to open a pdf (either directly, in a browser, from outlook, w

  • JavaMail - Send Attachements

    Can anyone please check the following code for me. I'm trying to send attachments but I did not get anything. The attachments I'm getting is from a jsp file by using <input type="file" name="photo1..3">. When I hit the submit button, it just show a b

  • How to create a POREQ

    HI Friends, I am trying to create a PO REQUISITION in the middle i got one message like DOCUMENT NOT AN OUTLINE AGREEMENT PLEASE ENTER OUTLINE AGREEMENT . HOW TO CREATE POREQ  AND WHILE CREATING PO WITH REFERENCE TO THIS POREQ 2 FILEDS ARE NOT POPULA

  • Text has jagegd edges

    I've recently upgraded from FCP-3 to the most recent FCP-Suite. While building a project similar to work I had done in the older version of FCP I'm finding that many of my graphics have jagged edges when exporting the project to a movie. This is most