Finding oracle_home in linux

hi all am developing a desktop application under linux and for the login screen
the user will enter the database name and the program has to go to the tnsnames.ora and get the url...
so the thing is that i want to find the oracle_home under O.S which may differ ??

You are right you can't simply move the ORACLE_HOME as you wouldn't be able to apply patches or make change with the Installer. As the location of the ORACLE_HOME is stored in binaries under oraInventory, and there is no way to change these without reinstalling.
As for whether you should, depends on why the database is on the SAN in the first place.
If it is for performance or capacity then there isn't a major issue as the binaries are loaded into memory and referenced from disk relatively infrequency. Personally if I was performing a new installation I'd want the binaries with the database, but whether I would bother to moved it if it was already configured that way, I'm not sure.
However if the SAN is also providing enhanced resilience and DR then I'd definitely want the binaries with the database files. I recently built a Veritas cluster for a customer, we put the binaries on the SAN with the database. We could fail the database over to any cluster node knowing that the binaries matched the database plus the SAN replicated it all to DR for us.

Similar Messages

  • Arch 0.8 CD - "Could not find kernel image: linux"

    I only get
    Unknown keyword in config file.
    Unknown keyword in config file.
    Could not find kernel image: linux
    when I try to boot the arch 0.8 base installer.
    I checked md5 of the iso I downloaded and it seems to be correct:
    1e0e9f3715d3c51129395570e01b9bc2 Archlinux-i686-0.8-Voodoo.base.iso
    What can be done?
    Last edited by Galdona (2007-04-13 18:34:53)

    I wonder if the CD is defective or if it was burnt at a high speed that your CD cannot read.
    In other words, may be you are reading from a coaster.
    R

  • Cannot find an Oracle Linux installation for 32 bit machines

    Can anyone show me where to find a linux oracle 11g or 10g installation for a 32 bit machine.
    The ones I downloaded from oracle are all for x86 64bit machines.
    Thanks

    On following page
    http://www.oracle.com/technology/software/products/dat
    abase/index.html
    this is the link
    http://download.oracle.com/otn/linux/oracle11g/linux_x
    86_11gR1_database.zipWhat I actually said is that the link provided is for 64bits linux machines.
    When I try running uname -r on my linux bash prompt, I get the i3686 tellin g me that I am running a 32bit machine.
    On the other hand, installation guide specifies that we should check the kernel version and system architecture.
    I don't think I should continue installation on seeing that I am trying to install a 64bit product on a 32bit system.
    Regards,
    Michael
    Message was edited by:
    okmich

  • [SOLVED] Where do I find "applets" for linux?

    Hi, do you know those things we put on linux desktop that measure cpu, memory, disk usage, network, etc? So, how are they called: applets, gadgets, monitors, icons, plugins?
    I think they are so cool!! They make the system really beatiful, and there are many of them that we can customize a lot.
    I'm looking for some to use with WindowMaker, AfterStep and LXDE.
    But I don't know where to find them (neither how to call them), so, could anyone please tell where to find them?
    Thanks!!
    Last edited by ILoveJapaneseGirls (2009-10-21 20:00:46)

    Yeah, that's it, maybe widgets is a better name to describe them.
    Actually what I was looking for is a site specialized on it, that contains lots of them. Do you know any?
    After a quick search on google, i found this one: http://www.instantfundas.com/2007/10/8- … tform.html. I'll try them to see which are better.
    Widgets are pretty cool, and they would be a strong reason for me to move from LXDE to WindowMaker or Afterstep, as they can make these WMs look very nice.
    Well, I'm moving this topic to SOLVED. From now on, if I need more help I can find by myself.
    So, thanks for the suggestions guys.
    Last edited by ILoveJapaneseGirls (2009-10-21 20:00:13)

  • Finder to remote linux machine communication

    Amongst other things, I'm using my mac as a display for jobs being run on a remote linux workstation via X11. That all works great. I have the linux machine mounted on my mac and can navigate it via the Finder. What I'd like to be able to do in the Finder is navigate to a specific kind of file (whose extension is 'use') on the linux box and double click on it and have the linux machine start a job on that file and display it back to the mac. If I double click on such a file, can I invoke a shell script (or whatever) on the mac which takes the full path name of the double clicked file as an argument. That shell script would basically contain something like:
    xhost + linux_machine
    rsh linux_machine -l myuserid linux_script fullfilename
    where linux_script is a script that would run on the linux box which would start the desired job and xdisplay it back to the mac.
    Ideally the script that runs on the mac would not bring up any transient terminal windows etc.
    Any ideas on the best way to accomplish this?
    Many thanks,
    Mick.

    Hi Michael,
    I'm (mostly) all up and running now. I wrote an AppleScript based application that does all the shell script commands (ssh etc) based on the file and path name passed into it from the Finder when I double-click on my *.use files. I have tried to set up all *.use files to be operated on by my AppleScript application via the GetInfo window but, infuriatingly, the GetInfo window refuses to accept the application when I click on Change All. When I do that the Open With application just changes to <None>. I tried removing my ~/Library/Preferences/com.apple.LaunchServices.plist file and letting it regenerate itself, but the system stubbornly refuses to accept the application binding. I can do the bindings individually, but not globally. I have hundreds of these files...
    If anybody know their way around this Finder bug (I think it's a bug) then I'm all ears.
    Thanks.

  • Could not find i386-glibc21-linux.env.sh

    I need to install Oracle 816 for RedHat 7.1.
    But when I check file under /usr. There is no i386-glibc21-linux
    directory. Anyone know why??
    Also, how do I install package?? (rpm??) I need to install
    compat-egcs, compat-glibc and compat-libs (6.2 compatibility
    package)..thanks..

    u haven't installed the rpms so
    u cant see the i386---.sh file
    to install a rpm.
    use
    rpm -ivh <rpm-file>
    or if u have access to X then
    either use kpackage or gnomrpm
    they are graphical front ends to rpm

  • I disabled Java script, went back onto my email, found I need it and cannot figure out how to re-enable it. Please, someone, help! Where do I find it on Linux?

    Cannot find the menu I had pulled up to edit Java script, please, let me know where it is.

    See:
    * http://kb.mozillazine.org/Javascript#Enabling_JavaScript

  • Program can't find Java in Linux

    Even though I installed Java, a program that needs it cannot find it. I think it might have had a different version on my computer before. I saw a post relating to this on here earlier but now I can't find it. It had something to do with editing a config file or something like that.
    Thanks

    Ah, I see. The solution is ... or something like that.
    That's about as specific an answer as is possible, given the lack of specificity of the question. If you wish assistance, please state the details of the problem that you're having. The more information you give, the better the responses...

  • I can't find megastick 527 linux driver

    Hi!, i need help with linux drivers for megastick 527, the original drivers cd don't have it, but in the product review web page say "OS:[...],Linux..." so, where are the drivers?, thanks
    Manu from Argentina

    MSI test department have tested RedHat Linux 7.3 above edition, thus what is your linux system edition?? And it shouldn’t have any driver!!

  • Finding the Arch Linux installation guide...

    ...is not the most obvious thing. Couldn't/shouldn't there be a link on the main web page to the Arch Installation Guide, or at least to the docs page?
    I've just tried Arch (0.7.2) for the first time, and am finding my way with it quite well so far - but just found it a little irritating to have to hunt around the web site for the installation guide from a 2nd machine (where it wasn't bookmarked yet) while I was installing Arch on another.

    smoon wrote:
    I'm not sure what you mean. The Installation Guide is two clicks away from http://www.archlinux.org/
    http://www.archlinux.org/ -> "Documentation English" -> "Installation & First Steps"
    Ok, now that I made a fuss about this, it's time to admit that I just didn't see that Documentation section on the home page - thanks for pointing it out - time for some sleep I guess :-)

  • Trouble finding .so in linux

    I'm having problems running a JNI hello-world (native part in an .so (C)) example in Linux that i previously compiled and runned flawless on Windows with the native being written in C (DLL).
    The code is very simple:
    [JNIHelloWorld.java]
    public class JNIHelloWorld {
    public native void displayHelloWorld();
    static {
    System.loadLibrary("hello");
    public static void main(String[] args) {
    new JNIHelloWorld().displayHelloWorld();
    public JNIHelloWorld() {
    System.out.println("JAVA - HelloWorld!");
    [hello.c]
    #include <jni.h>
    #include "JNIHelloWorld.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL
    Java_JNIHelloWorld_displayHelloWorld(JNIEnv *env, jobject obj)
    printf("C (.so) - HelloWorld!\n");
    return;
    Note: i compiled JNIHelloWorld.java and created the JNIHelloWorld.h with "javah -jni JNIHelloWorld". Then i created hello.so with "gcc -o hello.so -shared hello.c".
    I have these files in /home/pfeito/java.
    I created a /home/pfeito/java/lib to where i copied hello.so
    I edited /etc/ld.so.conf and added /home/pfeito/java/lib and i edited ~/.bash_profile where i inserted these lines:
    LD_LIBRARY_PATH=/home/pfeito/java/lib
    export LD_LIBRARY_PATH
    and then i executed "source ~/.bash_profile" so changes are made.
    When i execute "echo $LD_LIBRARY_PATH", i correctly get "/home/pfeito/java/lib" so im sure LD_LIBRARY_PATH is set.
    Then i even rebooted the machine because i wasn't sure if /etc/ld.so.conf changes are automatically in use after editing.
    Finally i went to /home/pfeito/java and executed the application with "java JNIHelloWorld" but i got:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no hello.so in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:832)
    at JNIHelloWorld.<clinit>(JNIHelloWorld.java:16)
    No matter what verifications and minor changes i made to this, i always got this error.
    What am i doing wrong ?
    I underline again that this same code runned flawless in windows environment.
    Thanks in advance,
    pfeito

    You should name your shared library libhello.so , not hello.so
    So the command for building your shared library goes like
    "gcc -o libhello.so -shared
    Sbile

  • How do Mac and Linux find the JFX runtime?

    I've been searching the documentation without success for the answer to what ought to be a simple question -- how do I point Mac or Linux at the 2.2 runtime? It's no problem if I'm running in an IDE (NetBeans, e(fx)clipse), where I can tell the IDE where I unpacked the SDK. But what if I want to run a jar file, such as produced by the ant tasks?
    You'd think this would work (on Linux, where I unpacked the SDK into /opt):
    java -cp /opt/javafx-sdk2.2.0-beta/rt/lib/jfxrt.jar:. -jar MyProgram.jar But it doesn't -- I get a popup saying "This application requires a newer version of the Java runtime. Please download and install the latest Java runtime from java.com. Then restart the application" (I'm running with 1.7.0_05-b05 from Oracle).
    The only thing at all close I find in the Linux installation instructions is it says to unpack the samples as a subdirectory of the SDK, wherever I happened to put it, and then I should be able to run the examples with a simple "java -jar filename.jar". But even that's not quite true -- it only works if I first cd to the samples directory. But it's a start, so I tried...
    cd /opt/javafx-sdk2.2.0-beta/rt
    java -jar ~/dist/MyProgram.jarThat succeeds in finding the runtime, but my program doesn't work, because it doesn't find my dependent libraries. So I tweaked the command a little bit:
    cd /opt/javafx-sdk2.2.0-beta/rt
    java -cp ~/dist/MyProgram.jar -jar ~/dist/MyProgram.jarThat actually works. But it can't possibly be the right answer -- you shouldn't have to run a javafx program with the runtime directory as your working directory.
    And even that doesn't work on Mac. There, Java knows how to find the runtime that's installed with JDK 7 update 5 for Mac. But if I want to test a program with the 2.2 runtime, what do I do? Setting -classpath on the command line still uses the 2.1 runtime. And if I try the trick of connecting to javafx-sdk2.2.0-beta/rt first, it doesn't work at all -- it doesn't find my libraries, and it throws up a "java quit unexpectedly" window after getting a segfault.
    So what's a developer to do? Am I supposed to use the native packaging procedure instead?

    JavaFX 2.2 is first version where Linux/Mac are supported as runtime (and not just SDK).
    However, you need to install JavaFX Runtime that is part of JRE 7u6 (you can get beta from jdk7.java.net or wait for FCS version of it).
    Installing JRE is the only way to get JavaFX runtime installed on Mac and Linux (and eventually on Windows too).
    rt folder in the SDK is "private" copy of the runtime. It is not supposed to be used to run arbitrary JavaFX applications by default.
    You can still force to use it as
    java -Djavafx.runtime.path=/opt/javafx-sdk2.2.0-beta/rt/lib/jfxrt.jar -jar MyProgram.jar
    or
    java -cp ~/dist/MyProgram.jar:/opt/javafx-sdk2.2.0-beta/rt/lib/jfxrt.jar com.javafx.main.Main
    Note that if you use "-jar" then "-cp" is ignored by java launcher. This is not JavaFX specific behavior.
    JavaFX specific part is that properly packaged JavaFX main jar file will include copy of launcher class (com.javafx.main.Main)
    and this is what will be run when you double click on jar or use "java -jar". Launcher will try to locate JavaFX runtime to use,
    it knows how to find runtime in the SDK if it is sample located in the SDK itself and it also knows how to find installed version of runtime.
    If JavaFX is not found then it will show you message you observed.

  • Runtime Environment + Linux + the "find" command

    Hi everybody,
    I want to write a small program which makes it easy for me to use the find command with Linux. I have experience with Java but I have never used the runtime environment before. I am not sure how to best execute the "find" command. I tried this:
        public static void main(String[] args)
            String command = "find -name \"*\"";
            execute(command);
        private static void execute(String p_command)
            // Show the executed command.
            System.out.println(p_command);
            // Get the runtime object and handle the command.
            Runtime rt = Runtime.getRuntime();
            try
                // Execute the command.
                Process proc = rt.exec(p_command);
                // Show the output of the command.
                InputStream stdin = proc.getInputStream();
                InputStreamReader isr = new InputStreamReader(stdin);
                BufferedReader br = new BufferedReader(isr);
                String line = null;
                System.out.println("<OUTPUT>");
                while ( (line = br.readLine()) != null) System.out.println(line);
                System.out.println("</OUTPUT>");
                // Show the exit value of the process.
                int exitVal = proc.waitFor();
                System.out.println("Process exitValue: " + exitVal);
            catch (Exception e)
                System.out.println("Could not excecute: " + p_command);
        }This piece of code returns this:
    find -name "*"
    <OUTPUT>
    </OUTPUT>
    Process exitValue: 0This is not correct, because it should return something like this:
    [jethro@laptop FindNix]$ find -name "*"
    ./nbproject
    ./nbproject/project.xml
    ./nbproject/project.properties
    ./nbproject/private
    ./nbproject/private/private.properties
    ./nbproject/build-impl.xml
    ./nbproject/genfiles.properties
    ./build.xml
    ./src
    ./src/findnix
    ./src/findnix/Main.java
    ./test
    ./manifest.mf
    ./build
    ./build/classes
    ./build/classes/findnix
    ./build/classes/findnix/Main.classDoes anybody know what I am doing wrong?
    Best regards,
    Jethro Borsje

    It looks like you doing all correctly. I don't know what does Runtime.exec() do with passed arguments, but if specify command in following way:
    String command = "find -name *";
    'find' executed through Runtime.exec() behaves as if it was executed from command line with arguments -name "*".

  • 9i install on Linux

    Hi,
    I am attempting to install Oracle 9.0.1 for Linux on a SUN LX50 machine and am running into a number of problems during the Linking portion of the install. During the "copying my_window.sql" part of the install, I am receiveing these errors:
    Error in invoking target relink of makefile.
    /home/ora9i/precomp/lib/ins_precomp.mk
    /home/ora9i/network/lib/ins_net_client.mk
    /home/ora9i/sqlplus/lib/ins_sqlplus.mk
    /home/ora9i/network/lib/ins_oemagent.mk
    /home/ora9i/ldap/lib/ins_ldap.mk
    /home/ora9i/ctx/lib/ins_ctx.mk
    /home/ora9i/network/lib/ins_net_server.mk
    /home/ora9i/precomp/lib/ins_precomp.mk
    /home/ora9i/otrace/lib/ins_otrace.mk
    /home/ora9i/rdbms/lib/ins_rdbms.mk
    With each of these popup errors I select "ignore". At which point the SQL*Net configuration just hangs. I exitted out of the installer and at the shell prompt, I ran "relink all" which produces the error
    "/usr/bin/ld: cannot find -lclntsh"
    My Linux configuration is as follows:
    Kernel version - 2.4.9-31enterprise
    GLIBC version - glibc-2.2.4-24
    BINUTILS version - binutils-2.11.90.0.8-12
    I do have my ORACLE_HOME, ORACLE_BASE, ORACLE_SID, LD_LIBRARY_PATH and LD_ASSUME_KERNEL variables set correctly. Am I missing an RPM package or not setting a variable[i]Long postings are being truncated to ~1 kB at this time.

    Jon
    For most Linux distributions see http://www.puschitz.com/OracleOnLinux.shtml#11 and scroll down until you see errors. Basically you have to remove "-z defs" from any files in the make process.
    Oracle's solution for Redhat Advanced Server is at http://otn.oracle.com/software/products/oracle9i/files/binutils_readme.html

  • Total DB in ORACLE_HOME

    Hi All,
    How do i find the total number of database in my ORACLE_HOME on Linux and Windows ? Is there any file available ?
    Regards,
    Vish

    Hello,
    You can check at $ORACLE_HOME/dbs
    here check out the initxxx.ora files with combination of ps -ef | grep pmon.
    and if you want to dig up more you can look in to pfiles and check the physical existance if any db is thier and not started or purposefully kept down.
    oratab entry are made for startdb automatically with physical server restart and not always reliable.
    Regards,
    Ajay

Maybe you are looking for

  • Problem with volume handle and external SWF

    Hello I'm having 2 problems. The first is that when loading an external swf in my main SWF I get this in the output window: TypeError: Error #1009: Cannot access a property or method of a null object reference. at audio_fla::list_1/frame1() at flash.

  • Performance Issue: FAT32 vs Mac OS Extended vs Mac OS Extended (Journaled)

    I am new to Mac and wondered if there are any performance issues I should be aware of when formatting new external drives. Does Mac OS 10.4 process a HFS or HFS+ formatted drive better/faster than a a FAT32 formatted drive? The only reason I would fo

  • BB iMac G3 Won't Boot From CD

    I can't seem to get my friend's G3 iMac (Bondi Blue) that to boot from a CD. It's spent it's life as part of a corporate network so on boot it tries to load something from the network called "Macintosh Manager." Because it is no longer connected to t

  • Detail screen in

    I am carrying out an excercise in DMS ,where it states:- Create the following document structure in the document: Document: PLM ## Document type: FOL Document part: 000 Document version: 00 Change number: No entry Valid from date: Today.s date You ca

  • Rename a group of photos.

    Does anybody know a simple way to rename a batch of photos in 'Photos'? I want to rename 50+ photos with one name + sequential of numbers e.g. Garden 001.....Garden 053, but there doesn't seem to be a simple way. I used to do the change in Aperture,