Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> solution to errors on Oracle 8.1.7 & Redhat 7.1 install

solution to errors on Oracle 8.1.7 & Redhat 7.1 install

From: Kyle Hailey <oraperf_at_yahoo.com>
Date: Thu, 25 Oct 2001 18:29:25 GMT
Message-ID: <3bd857ce.91739354@newsfeeds-goliath.1usenet.net>

Here is the simple solution to a problem I had and found reported on various web sites but with out any solutions.

Problem:
Installing oracle 8.1.7 on Redhat 7.1, when running "runInstaller" , I get the error:

	The Java RunTime Environment was not found at/bin/jre. Hence,
	the Oracle Universal Installer cannot be run.
	Please visit http://www.javasoft.com and install JRE version
	 1.1.8 or higher and try again.: No such file or directory

Notice that there is no space between "at" and "/bin/jre". Changing enviroment variables and such I recieved different characters here, often getting compose characters.

Solution:
This install was done off a CDROM where I had the untared Oracles LINUX distrubution. When I untared the distribution on to the local disk as opposed to the CDROM, everything worked. I think this error also comes from installing off remotely mounted drives. I didn't look into details of why it is happening. I did copy the CDROM locally. That didn't work. I tried chmod -R 755 * on the files I had copied off the CDROM but that didn't work as well. Only when I untared the original distribution locally did it work. My main care is having a solution, so I didn't pursue farther why it happened.

Here is my whole procedure for installing Redhat 7.1 & Oracle 8.1.7


The only trick for installing Redhat 7.1 LINUX was to pick 2 button mouse, since I have a 2 button mouse, other wise cut and paste didn't work. Otherwise Linux was a snap.

After installing LINUX, install these pacakges (the "compat" packages are necessary for Oracle, the others are services for ftp,telnetd,ssh & samba)

OFF CD 1 /mnt/cdrom/RedHat/RPMS

 rpm -ivh samba-2.0.7-36.i386.rpm 
 rpm -ivh xinetd-2.1.8.9pre14-6.i386.rpm
 rpm -ivh telnet-server-0.17-10.i386.rpm
 rpm -ivh openssh-server-2.5.2p2-5.i386.rpm
 rpm -ivh wu-ftpd-2.6.1-16.i386.rpm
 rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-glibc-6.2-2.1.3.2.i386.rpm;

OFF CD 2  rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-egcs-6.2-1.1.2.14.i386.rpm;  rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-libs-6.2-3.i386.rpm;

Now, run

  ntsysv

and choose

   smb
   wu-ftp
   telnetd
   ssh

in order be able to telnet, ssh, ftp into the machine and use samba

an example a samba mount of a Win2K disk onto the LINUX machine

  smbmount "\\\\rem005047\\quest" /quest -o username=kyle_hailey   smbmount "\\\\HPPAV\\khailey" /kyle -o username=administrator

Installing Oracle


Set these enviroment variables

  unset LANG
  export LD_ASSUME_KERNEL=2.2.5
  export LDEMULATION=elf_i386_glibc21
  export GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/

and it should work.

From Oracle download

    linux81701.tar

from     

    otn.oracle.com

the direct link is (not sure if this works in direct)

http://otn.oracle.com/software/products/oracle8i/htdocs/linuxsoft.html

Untar this onto a local drive and it should work the first time through. I spent ages trying to install Oracle from a CDROM I made of the untared file. Crazy, it wouldn't install, but installs fine off a local drive. ( I was trying to save disk space since I ran out of space the first install) The error off the CDROM was like "java environment not found, /bin/jre not found"the CDROM was like "java environment not found, /bin/jre not found"

after untaring the Oracle distib

   tar xvf linux81701.tar
   cd Disk1/install/linux
   ./runInstaller

Classic bugs that shouldn't happen with the above are

    /bin/jre not found
    jre spins on CPU but nothing happens     relink errors that -lclntsh not found and lots of compiler warnings

Best Wishes
Kyle Hailey

oraperf.sourceforge.net



Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net Received on Thu Oct 25 2001 - 13:29:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US