Linux News
The world is talking about GNU/Linux and Free/Open Source Software
Oracle9iR2 post installation procedure on a shrink-wrapped Red Hat 9 and the freely downloadable version.
Start with rpmbuild of glibc-2.3.2-11.9.rmp following [1]:
1.Download 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-200313.tar.bz2 | tar xf - -C /tmp
5.cd /tmp/glibc-2.3.2-200313/locale
6. Comment out all compat_symbols lines from lc-ctype.c
7. cd ../ctype
8. Comment out all compat_symbols lines from ctype-info.c
9. cd ..;cd ..;pwd
/tmp
10. tar cvf glibc-2.3.2-200313.tar glibc-2.3.2-200313
11. bzip2 glibc-2.3.2-200313.tar
11. cp glibc-2.3.2-200313.tar.bz2 /usr/src/redhat/SOURCES
12. cd /usr/src/redhat/SPECS
13. vi glbc-9.spec
14. Add to the end of glibcrelease line (line 1) .oracle.
(11.9 now looks like 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 based on predefined dependencies.
There are no any warnings in [1] regarding i386.rpms and i686rpms
dependencies:
[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%]
Now rpm will report you:-
# rpm -q glibc
glibc-2.3.2-27.9.7.oracle
At this point two fix steps should be performed by oracle .
First one is well known and described in [2] and [3].
Second one is silently skipped in both [1] and [2].
Second step is linking dbsnmp daemon and cannot be missed,
unless you have glibc-2.3.2-5 on your Red Hat 9 distribution CD's set
Please, view [3] for details about glibc-2.3.2-5.i686.rpm in Red Hat 9
box distribution CD's set and another suggestion to perform the same
Work Around as preinstallation step.
My Red Hat 9 box CD's set containes the only glibc-2.3.2-11.9.i686.rpm
First:
$ cd $ORACLE_HOME/network/lib
$ make -f ins_net_client.mk install
Edit $ORACLE_HOME/ctx/lib/ins_ctx.mk file.
Change lines 13-14 from:
ctxhx: $(CTXHXOBJ)
$(LINK) $(CTXHXOBJ) $(INSO_LINK)
to
ctxhx: $(CTXHXOBJ)
$(LINK) -ldl $(CTXHXOBJ) $(INSO_LINK)
$ make -f $ORACLE_HOME/ctx/lib/ins_ctx.mk install
Second:
$make -f $ORACLE_HOME/network/lib/ins_oemagent.mk install
This time Second Step should be OK due to patched rpms have been installed.
Now dbsnmp is properly linked and brings back to life "Intelligent Agent"
Then grab 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/
2.http://www.linuxdevcenter.com/pub/a/linux/2003/09/04/oracle_install.html?page=2
3.http://www.puschitz.com/InstallingOracle9i.html
|
You cannot post until you login.