Women in Technology

Hear us Roar



Article:
  Installing Oracle 9iR2 on Red Hat 9
Subject:   Oracle9iR2 postinstallation procedure in a shrink-wrapped Red Hat 9 and the freely downloadable version.
Date:   2004-07-21 01:28:40
From:   infxdba
Just follow [1]:


1.Download from from redhat.com required version of src.rpm for glibc, supposedly glibc-2.3.2-11.9.src.rpm


2. rpm -i glibc-2.3.2-11.9.src.rpm


3. cd /usr/src/redhat/SOURCES


4 bzip2 -dc glibc-2.3.2-20030313.tar.bz2 | tar xf - -C /tmp


5.cd /tmp/glibc-2.3.2-20030313/locale


6. Comment out all compat_symbols lines in file lc-ctype.c


7. cd ../ctype


8. Comment out all compat_symbols lines in file ctype-info.c


9. cd ..;cd ..;pwd
/tmp


10. tar cvf glibc-2.3.2-20030313.tar glibc-2.3.2-20030313


11. bzip2 glibc-2.3.2-20030313.tar


12. cp glibc-2.3.2-20030313.tar.bz2 /usr/src/redhat/SOURCES


13. cd /usr/src/redhat/SPECS


14. vi glbc-9.spec


15. Add to the end of glibcrelease line (line 1) .oracle.
(11.9 now looks as 11.9.oracle)
and save


15. rpmbuild ûba /usr/src/redhat/SPECS/glbc-9.spec


In my case at the end rpms were written to /usr/src/redhat/RPMS/i386 folder


16.Download from [1]:


Updated i386 RPMS


glibc-2.3.2-27.9.7.oracle.i386.rpm
glibc-common-2.3.2-27.9.7.oracle.i386.rpm
glibc-debug-2.3.2-27.9.7.oracle.i386.rpm
glibc-debuginfo-2.3.2-27.9.7.oracle.i386.rpm
glibc-debuginfo-common-2.3.2-27.9.7.oracle.i386.rpm
glibc-devel-2.3.2-27.9.7.oracle.i386.rpm
glibc-profile-2.3.2-27.9.7.oracle.i386.rpm
glibc-utils-2.3.2-27.9.7.oracle.i386.rpm
nscd-2.3.2-27.9.7.oracle.i386.rpm


AND


Updated i686 RPMS
glibc-2.3.2-27.9.7.oracle.i686.rpm


Start rmps upgrade:


[root@ServerDBS inst_patch]# rpm -Uvh glibc-2.3.2-27.9.7.oracle.i686.rpm \
> glibc-common-2.3.2-27.9.7.oracle.i386.rpm \
> glibc-utils-2.3.2-27.9.7.oracle.i386.rpm \
> glibc-debug-2.3.2-27.9.7.oracle.i386.rpm \
> glibc-devel-2.3.2-27.9.7.oracle.i386.rpm


Preparing... ########################################### [100%]
1:glibc-common ########################################### [ 20%]
2:glibc ########################################### [ 40%]
Stopping sshd:[ OK ]
Starting sshd:[ OK ]
3:glibc-devel ########################################### [ 60%]
4:glibc-utils ########################################### [ 80%]
5:glibc-debug ########################################### [100%]


[root@ServerDBS inst_patch]# rpm -Uvh glibc-debuginfo-2.3.2-27.9.7.oracle.i386.rpm \
> glibc-debuginfo-common-2.3.2-27.9.7.oracle.i386.rpm


Preparing... ########################################### [100%]
1:glibc-debuginfo-common ########################################### [ 50%]
2:glibc-debuginfo ########################################### [100%]


[root@ServerDBS inst_patch]# rpm -Uvh glibc-profile-2.3.2-27.9.7.oracle.i386.rpm \
> nscd-2.3.2-27.9.7.oracle.i386.rpm


Preparing... ########################################### [100%]
1:nscd ########################################### [ 50%]
2:glibc-profile ########################################### [100%]


At this point run as oracle:
make -f ORACLE_HOME/network/lib/ins_oemagent.mk install


This time you will be succeed due patched rpms installed.


Then grap from $ORACLE_HOME/root.sh all commands required
to install right permissions for dbsnmp and dependent directories and
run them as root.
Next steps:
$agentctl start
$oemctl start oms


You are ready to run OEM console.

References:


1. http://mlug.missouri.edu/~jmcintosh/computers/oracle/redhat/9/rpms/