By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,321 Members | 1,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,321 IT Pros & Developers. It's quick & easy.

Oracle install and Java problems

P: n/a
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

Jul 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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" <in***********@guestwho.com> wrote in message
news:3f********@news.iprimus.com.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


Jul 19 '05 #2

P: n/a
>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
Jul 19 '05 #3

P: n/a
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.
"Aquarius2431" <aq**********@yahoo.com> wrote in message
news:c2**************************@posting.google.c om...
"Skeleton Man" <in***********@guestwho.com> wrote:
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 (aq**********@yahoo.com)

Jul 19 '05 #4

P: n/a
aK
try this

http://puschitz.com/InstallingOracle9i.shtml

the best resources ever.
"users" <us***@spank.com> wrote in message
news:UbB4b.10707$QT5.7809@fed1read02...
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.
"Aquarius2431" <aq**********@yahoo.com> wrote in message
news:c2**************************@posting.google.c om...
"Skeleton Man" <in***********@guestwho.com> wrote:
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 (aq**********@yahoo.com)


Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.