Install Oracle (any version!!!!!!) on RHEL 4

Hi all,

  So far, I have tried Oracle 11gR1, 10gR1, 10gR2, and 9i installations on my RHEL 4 box unsuccessfully (downloaded from Oracle's website).  It is one problem after another.  I will award the points to anyone who can give me: the version that will work with my OS, and at least a link to NON-COMPLEX install instructions.  I am NOT knowledgeable about Linux, and this is simple task is proving to be almost impossible.  PLEASE only respond if you are sure you are giving 100% correct information.    Thanks in advance!
patricio26Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nabeelmoiduCommented:
I've done this many times for Oracle 10gR2 on RHEL4 and RHEL5. As far as the system side is concerned in http://nmkuttiady.blogspot.com/2008/01/oracle-10g-installation-on-rhel4-as.html, check the section under " Oracle Database 10g Release 2 installation."
The rest is via the Oracle installer gui.
If you can give us an idea of the type of issues you faced, we can be more helpful.
0
patricio26Author Commented:
OK, I get to #9:

9. Copy the oracle database installation file 10201_database_linux_x86_64.cpio
to /tmp and extract it
#cpio -idmv <>10. Start the installation by running runinstaller and proceed with the installation.

And when I type:

#cpio -idmv <>10, the terminal tells me:  
cpio: premature end of archive

I wonder what that means and why I am getting it?
0
nabeelmoiduCommented:
well, its a typo there,

it should be cpio -idmv <10201_database_linux_x86_64.cpio

the <>10 is actually the next line no. sorry for that
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

patricio26Author Commented:
If navigate to the tmp directory where the cpio archive is located, and do it the way you have it:

 cpio -idmv <10201_database_linux_x86_64.cpio
I get cpio: premature end of archive

And if I enclose the whole file name in angle brackets, like:
cpio -idmv <10201_database_linux_x86_64.cpio>
I get  bash: syntax error near unexpected token 'newline'

And if I use both angle brackets and put them before the file name, like this:
cpio -idmv <>10201_database_linux_x86_64.cpio
I get: cpio: premature end of archive

 I can't believe that a simple software installation can be so difficult.  Any suggestions?
0
patricio26Author Commented:
Oh, also, if I try it without any angle brackets:

cpio -idmv 10201_database_linux_x86_64.cpio

The terminal just returns to a blinking cursor, and nothing happens; no installer seems to be extracted or anything.
0
nabeelmoiduCommented:

Try a checksum of the downloaded file. The way you are doing is correct. see if your downloaded file is corrupt.

cksum 10201_database_linux_x86_64.cpio

Also this link might help you better
http://steveski.com/Oracle/InstallingOracle10gonLinux/tabid/113/Default.aspx
0
nabeelmoiduCommented:
try the cpio with a space after teh angle brackets also...
cpio -idmv < 10201_database_linux_x86_64.cpio

0
patricio26Author Commented:
checksum yeilds:

 4294967295 0 10201_database_linux_x86_64.cpio

Also, this machine is 32-bit architecture, if I'm not mistaken.  Maybe this is the wrong install file (for 64-bit)?
0
patricio26Author Commented:
The Oracle website shows that the checksum should be cksum - 2921604215  .  Was my file corrupted, or it that the checksum for the .gz archive?
0
nabeelmoiduCommented:
uname -a will give you the architecture of your system. If its 32-bit then the downloaded file is wrong. the oracle website mentions the corresponding version clearly.  
And yes, the checksum is for the zip.

0
patricio26Author Commented:
Now, when I go to installe the 32-bit version (it is 32-bit architecture), after I extract and ./runInstaller from the terminal window, I get the following.  Any ideas? :

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinu x-1.0, asianux-1 or asianux-2
                                      Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-07-13_10- 48-01PM. Please wait ...bash-3.00$ Exception in thread "main" java.lang.Unsatisfi edLinkError: /tmp/OraInstall2009-07-13_10-48-01PM/jre/1.4.2/lib/i386/libawt.so: l ibXp.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.security.action.LoadLibraryAction.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
        at sun.awt.DebugHelper.<clinit>(Unknown Source)
        at java.awt.Component.<clinit>(Unknown Source)
bash-3.00$
0
nabeelmoiduCommented:
nice to know you're moving ahead

did u check the required packages before running that ?
Do you have libXp package installed ?
0
patricio26Author Commented:
Well, the libXp package is the problem.  It doesn't look like it's installed (bash-3.00$ find /usr -iname "*libXp.so.6*" yields nothing), I've tried installing libXp.so.6 vie yum installer (nothing), and I'm not sure where to get it.  

I've tried XFree86-4.1.0-50.src.rpm (doesn't install), along with many other suggestions I found while Googling.  Do you know of a definitive source for the package I need, for my RHEL4 32-bit setup?
0
nabeelmoiduCommented:
I think its  xorg-x11-deprecated-libs . check if you've got that
0
patricio26Author Commented:
The package and other dependencies allowed me to run the installer.  Now I get the error:  'unable to find any user group' when running the installer.  I have clearly created the oracle user, which belongs to the dba and oinstall groups, and all other groups, for good measure.  Result of  cat /etc/group:

root:x:0:root,oracle
bin:x:1:root,bin,daemon,oracle
daemon:x:2:root,bin,daemon,oracle
sys:x:3:root,bin,adm,oracle
adm:x:4:root,adm,daemon,user
tty:x:5:oracle
disk:x:6:root,oracle
lp:x:7:daemon,lp,oracle
mem:x:8:oracle
kmem:x:9:oracle
wheel:x:10:root,oracle
mail:x:12:mail,oracle
news:x:13:news,oracle
uucp:x:14:uucp,oracle
man:x:15:oracle
games:x:20:oracle
gopher:x:30:oracle
dip:x:40:oracle
ftp:x:50:oracle
lock:x:54:oracle
nobody:x:99:
users:x:100:oracle
dbus:x:81:oracle
floppy:x:19:oracle
vcsa:x:69:oracle
rpm:x:37:oracle
utmp:x:22:oracle
haldaemon:x:68:oracle
slocate:x:21:oracle
pcap:x:77:oracle
nscd:x:28:oracle
named:x:25:oracle
netdump:x:34:oracle
sshd:x:74:oracle
rpc:x:32:oracle
mailnull:x:47:oracle
smmsp:x:51:oracle
rpcuser:x:29:oracle
nfsnobody:x:65534:
xfs:x:43:oracle
ntp:x:38:oracle
gdm:x:42:oracle
user:x:500:oracle
Oracle:x:501:
oinstall:x:502:oracle
dba:x:503:oracle


0
nabeelmoiduCommented:
You should never add oracle to all groups...anyway
your group name begins with a capital O and the username has all small letters
Linux is case sensitive.
0
patricio26Author Commented:
OK, I redid the grouping, and now:


Error in invoking target 'ntcontab.o' of makefile
'/u01/oracle/product/10.2.0.1
/oracle/product/10.2.0
/db_4/netowrk/lib/ins_net_client.mk'.  See
'/u01/oracle/product/10.2.0.1
/oraInventory/log/installActions2009-07-15_10-15-09PM.log' for details

But this log doesn't exist!  I didn't find much helpful when Googling.  Any ideas?
0
patricio26Author Commented:
OK, I did find the install make.log, and it does contain some relevant info:

usr/bin/make-f ins_net_client.mk mkldflagsORACLE_HOME=/u01/oracle/product/10.2.0.1/oracle/product/10.2.0/db_4//usr/bin/make-f ins_net_client.mk ntcontab.oORACLE_HOME=/u01/oracle/product/10.2.0.1/oracle/product/10.2.0/db_4/rm-f ntcontab.*
(if [ "compile" = "compile" ] ; then \
  /u01/oracle/product/10.2.0.1/oracle/product/10.2.0/db_4/bin/gennttab > ntcontab.c ;\
  /usr/bin/gcc  -c ntcontab.c ;\
  rm -f /u01/oracle/product/10.2.0.1/oracle/product/10.2.0/db_4/lib/ntcontab.o ;\
  mv ntcontab.o /u01/oracle/product/10.2.0.1/oracle/product/10.2.0/db_4/lib/ ;\
/usr/bin/ar rv/u01/oracle/product/10.2.0.1/oracle/product/10.2.0/db_4/lib/libn10.a/u01/oracle/product/10.2.0.1/oracle/product/10.2.0/db_4/lib/ntcontab.o; fi)
ntcontab.c:7:23: error: sys/types.h: No such file or directory
mv: cannot stat `ntcontab.o': No such file or directory
/usr/bin/ar: /u01/oracle/product/10.2.0.1/oracle/product/10.2.0/db_4/lib/ntcontab.o: No such file or directory
make: *** [ntcontab.o] Error 1
0
nabeelmoiduCommented:
please post output of
  rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common gnome-libs \
         libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio
 
0
patricio26Author Commented:
OK, so, I'm guessing I need to install the below that show as not installed (compat-db, gnome-libs, libstdc++-devel, pdksh, sysstat, and xscreensaver)?

binutils-2.15.94.0.2.2-2
package compat-db is not installed
control-center-2.10.1-6
gcc-4.0.0-8
gcc-c++-4.0.0-8
glibc-2.3.5-10
glibc-common-2.3.5-10
package gnome-libs is not installed
libstdc++-4.0.0-8
package libstdc++-devel is not installed
make-3.80-7
package pdksh is not installed
package sysstat is not installed
package xscreensaver is not installed
libaio-0.3.104-2
[root@localhost ~]#
0
nabeelmoiduCommented:
its obvious....
Try again and let us know how its going
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
patricio26Author Commented:
See, this is what I'm talking about, installation is simply NOT possible.  These packages have dependencies, which have sub-dependencies, which themselves have sub-dependencies, almost ad infinitum.  I've tried installing all of these packages, but some of them tell me that I don't have the required dependencies when I clearly do, as evidenced bythe output of:
rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common gnome-libs \
        libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio

If I reinstall RHEL4, and choose to install everything, will this install these misisng packages?  I simply do not have a month to dedicate full-time to this problem, and can't believe that a simple software install could be so difficult.
0
nabeelmoiduCommented:
can you do these and post the output
uname -a

cat /etc/issue

 rpm -qa  --queryformat %-{name}-%{version}-%{release}-%{arch}"\n" binutils compat-db \ control-center gcc gcc-c++ glibc glibc-common gnome-libs \
        libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio

0
patricio26Author Commented:
[root@localhost ~]# cat /etc/issue
Fedora Core release 4 (Stentz)
Kernel \r on an \m

>        libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio
gnome-libs-1.4.1.2.90-32-i386
glibc-common-2.3.5-10-i386
binutils-2.15.94.0.2.2-2-i386
libaio-0.3.104-2-i386
libstdc++-4.0.0-8-i386
gcc-4.0.0-8-i386
gcc-c++-4.0.0-8-i386
sysstat-9.0.4-1-i586
glibc-2.3.5-10-i686
make-3.80-7-i386
pdksh-5.2.14-30.3-i386
[root@localhost ~]#
0
nabeelmoiduCommented:
uname -a
0
patricio26Author Commented:
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux
0
nabeelmoiduCommented:
First thing, 
Unless you follow the procedures step by step, you won't complete a successful installation.
If you look back, first the downloaded file was wrong, then the user was mentioned with a wrong case, a few packages were missing. There was a definite reason each time you were stuck . Things have to be done the way it should be done, frustration won't help. The first time installations like these are done, it will be a little tough. Next time you won't repeat the errors you faced once so it will be fast.
You are still missing quite a few packages. If you've got a yum configuration all dependencies will be automatically. You've to check /etc/yum.repos.d/ folder to see if you have any repositories configured.
If you want a reinstall go ahead, it might save you some time. But since you are using Fedora Core 4 and not RHEL 4, better follow the document for that. Its possible that between the versions some packages have been merged/renamed/dropped etc.
http://www.orafaq.com/wiki/Oracle_10g_R2_(10.2.0.1.0)_on_Fedora_Core_Linux_2,_3_and_4

If you want the exact clone of Red Hat Enterprise Linux you can use CentOS. Fedora is not a clone of RHEL. 
0
patricio26Author Commented:
 I've got to install this, as it's for school, so I'm going to have to forge ahead.  The article you linked to first gave me the filename of the file to install, and it was the 64-bit version.  Maybe I should have caught that, but I didn't at first.  The user was indeed capitalized (Oracle), and it must have been a slip of the fingers while typing.  A few packages are missing, yes, but the problems is all of the dependencies.  There are so many that it simply is not possible to install them all (I wonder why Linux is made up of pieces like this???).  I realize that frustration won't help, but I've been at this now for a few weeks, and keep hitting brick walls, no matter which version I try to install.  
  I was unaware that I had Fedora 4; the book I got from B&N told me it was RHEL4, and not having used linux before, I wouldn't know the difference.  It doesn't matter to me, though; I don't have to use any one version over another.  
  I do have the yum installer, but was unawaret that I could set up repositories.  I'll try this when I get home, and as a last resort, I'll try a full reinstall.
 
0
patricio26Author Commented:
I'm accepting this as the solution because these infinite dependencies and clashing dependencies (states that I'm lacking packages that I acutally have) are not your fault.  This is the only thing standing in my way from a successful install at this point, so you've done all you can and guided me to a solution.  I'm going to try my luck with Ubuntu, a colleague of mine told me that it is considerably easier to install with that distro.  I do appreciate all of your help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.