Oracle install and Java problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Skeleton Man

    Oracle install and Java problems

    Hi,
    Upon installing Oracle 9i (9.2.0.1.0) on a Debian box, the whole install
    process completes,
    but when I get to the very end and it trys to setup configuration
    assistants, all three fail with the following error:

    "jre was not found in /ora/9iR2/oracle.swd.jre/bin/i386/native_threads/jre"

    I have tried symlinking the i386 and i686 directories as has been suggested
    from a search of forums..
    The result is that I get a variety of messages, ranging from "jre cannot be
    found" to "Error: Cannot find libjava.so".

    I've tried copying these files to places where it expects to find them and
    end up with looping:
    e.g. paths like this: i386/bin/i386/bin/lib

    Why is it looking in i386 anyway when "uname" returns i686 (not sure of the
    exact hardware, I can check if necessary) ?

    Regards,
    Chris





  • GT Jeff Cherer

    #2
    Re: Oracle install and Java problems

    sounds like the p4 problem.
    do a google on it. there is a file something like syncjet.dll (vaguely
    close). you rename it and a lot of java related problems disappear. if its
    on an install cd, copy the works to a disk, rename that file, and run your
    stuff from the disk.

    then again, i could be wrong.
    "Skeleton Man" <invalid_email@ guestwho.comwro te in message
    news:3f0147fb_1 @news.iprimus.c om.au...
    Hi,
    Upon installing Oracle 9i (9.2.0.1.0) on a Debian box, the whole install
    process completes,
    but when I get to the very end and it trys to setup configuration
    assistants, all three fail with the following error:
    >
    "jre was not found in
    /ora/9iR2/oracle.swd.jre/bin/i386/native_threads/jre"
    >
    I have tried symlinking the i386 and i686 directories as has been
    suggested
    from a search of forums..
    The result is that I get a variety of messages, ranging from "jre cannot
    be
    found" to "Error: Cannot find libjava.so".
    >
    I've tried copying these files to places where it expects to find them and
    end up with looping:
    e.g. paths like this: i386/bin/i386/bin/lib
    >
    Why is it looking in i386 anyway when "uname" returns i686 (not sure of
    the
    exact hardware, I can check if necessary) ?
    >
    Regards,
    Chris
    >
    >
    >
    >
    >

    Comment

    • Skeleton Man

      #3
      Re: Oracle install and Java problems

      >sounds like the p4 problem.
      >do a google on it. there is a file something like syncjet.dll (vaguely
      close).
      >you rename it and a lot of java related problems disappear.
      Considering it was a dual PIII system, running Debian, that's actually
      irrelevant (but thanks anyway).
      (The issue is with P4 and Oracle on windows)

      My problem appeared to be that I hadn't symlinked awk, basename, and sort
      (which reside in /usr/bin),
      so Oracle was expecting to find them in /bin and couldn't..

      Once I fixed the symlinks and re-ran the installer the problem dissapeared.

      My problem now is that when I run DBCA, it gets to the end and starts to
      create the database,
      and pops up with the following error: "ORA-03113: end-of-file on
      communications channel".

      I hit ignore to that error, and I get "ORA-01109: database not open", which
      just keeps popping up untill I kill DBCA.
      I have tried using DBCA to create the setup scripts and then run the
      scripts, but the result is much the same.

      I was told that lack of memory may be the cause, but the server has 320MB
      RAM and a 1.5GB swap...

      Regards,
      Chris


      Comment

      • users

        #4
        Re: Oracle install and Java problems

        Don't set your classpath in the .bash_profile. Leave the classpath out, then
        try it again.
        You only need a few parameters to install a database,
        and 9i doesn't need classpath.


        "Aquarius24 31" <aquarius2431@y ahoo.comwrote in message
        news:c2d830c4.0 307310240.4a43f 262@posting.goo gle.com...
        "Skeleton Man" <invalid_email@ guestwho.comwro te:
        >
        My problem appeared to be that I hadn't
        symlinked awk, basename, and sort (which
        reside in /usr/bin), so Oracle was expecting
        to find them in /bin and couldn't..
        >
        I am getting the same error that you initially reported (see below)
        When I run dbca.
        >
        jre was not found in
        /opt/oracle/oracle.swd.jre/bin/i386/native_threads/jre
        >
        >
        Once I fixed the symlinks and re-ran the
        installer the problem dissapeared.
        >
        I installed Oracle 9.2.0.1.0 on Redhat Linux 8.0 and none the above
        seems relevant there? At least the non-existence of these symbolic
        links doesn't appear to be the problem (the first is linked correctly,
        and the second two are in /bin so don't require to be linked).
        >
        >
        I was told that lack of memory may be the cause,
        but the server has 320MB RAM and a 1.5GB swap...
        >
        I think you were reporting the above against a later error. But I have
        2 Gb of RAM on a Pentium P4 and haven't got this to work yet.
        >
        On the initial Oracle install I got a generic error when it should
        have run dbca to create the database. I suspect it is an environment
        issue (something I haven't set up correctly). If anyone has seen this
        or knows the cause I would surely appreciate hearing from you! :)
        >
        Thanks!,
        >
        Lawrence Kennon (aquarius2431@y ahoo.com)

        Comment

        • aK

          #5
          Re: Oracle install and Java problems

          try this



          the best resources ever.


          "users" <users@spank.co mwrote in message
          news:UbB4b.1070 7$QT5.7809@fed1 read02...
          Don't set your classpath in the .bash_profile. Leave the classpath out,
          then
          try it again.
          You only need a few parameters to install a database,
          and 9i doesn't need classpath.
          >
          >
          "Aquarius24 31" <aquarius2431@y ahoo.comwrote in message
          news:c2d830c4.0 307310240.4a43f 262@posting.goo gle.com...
          "Skeleton Man" <invalid_email@ guestwho.comwro te:
          My problem appeared to be that I hadn't
          symlinked awk, basename, and sort (which
          reside in /usr/bin), so Oracle was expecting
          to find them in /bin and couldn't..
          I am getting the same error that you initially reported (see below)
          When I run dbca.

          jre was not found in
          /opt/oracle/oracle.swd.jre/bin/i386/native_threads/jre

          Once I fixed the symlinks and re-ran the
          installer the problem dissapeared.
          I installed Oracle 9.2.0.1.0 on Redhat Linux 8.0 and none the above
          seems relevant there? At least the non-existence of these symbolic
          links doesn't appear to be the problem (the first is linked correctly,
          and the second two are in /bin so don't require to be linked).

          I was told that lack of memory may be the cause,
          but the server has 320MB RAM and a 1.5GB swap...
          I think you were reporting the above against a later error. But I have
          2 Gb of RAM on a Pentium P4 and haven't got this to work yet.

          On the initial Oracle install I got a generic error when it should
          have run dbca to create the database. I suspect it is an environment
          issue (something I haven't set up correctly). If anyone has seen this
          or knows the cause I would surely appreciate hearing from you! :)

          Thanks!,

          Lawrence Kennon (aquarius2431@y ahoo.com)
          >
          >

          Comment

          Working...