Motivation
Ce patch est connu (surtout à  l'époque) pour corriger de nombreux bugs notamment au niveau du support pour InterMedia...Suite à  ma documentation pour installation sur GNU/Linux par chroot sur une woody publiée au mois d'Octobre - que je désignerai par la suite par [Documentation]-, je propose donc un billet pour procéder à  la mise à  jour
Oà ¹ se le procurer?
Sà »rement pas sur le site d'Oracle car il est introuvable! Donc un petit coup de Google sur ""p2376472_8174_LINUX.zip""
Prendre le premier lien proposé à  savoir: http://www.filewatcher.com/m/p2376472_8174_LINUX.zip.134488241.0.0.html. Une fois dans cette page, prendre donc le deuxième lien à  savoir: ftp://ftp.scn.ru/pub/soft/unix/p2376472_8174_LINUX.zip. Ou plus simplement, comme la base de mon chroot est dans /mnt/toto/woody-chroot
(voir [Documentation])
cd /mnt/toto/woody-chroot/home/oracle
wget ftp://ftp.scn.ru/pub/soft/unix/p2376472_8174_LINUX.zip
Maintenant on chroot sur /mnt/toto/woody-chroot/
et on change de propriétaire pour le fichier zippé
chroot /mnt/toto/woody-chroot/
chown oracle ~oracle/p2376472_8174_LINUX.zip
Installation
Il faut commencer par arrêter les instances Oracle.. Une fois celà  fait on peut continuer
Toujours dans le terminal de chroot, on devient oracle et on décompresse ce fichier
oracle@bremko:~$ unzip p2376472_8174_LINUX.zip
Archive: p2376472_8174_LINUX.zip
inflating: README.html
inflating: lnx32_8174_patchset.tar
oracle@bremko:~$tar xvf lnx32_8174_patchset.tar
Ce qui produira le répertoire stage
à  savoir /home/oracle/stage - répertoire utilisé pour la suite dans l'installeur -
Dans un terminal normal,on effectue les autorisations nécessaires
xhost +localhost
Dans le terminal chrooté d'oracle, on modifie la valeur de DISPLAY et on lance l'installeur
export DISPLAY=localhost:0.0
cd /home/oracle/Disk1/install/linux
./runInstaller
Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
L'installeur se lance. On clique sur 'Next'... C'est la valeur de Source qu'il faut modifier pour que l'installeur pointe vers le bon fichier





On applique à  nouveau le patch habituel pour les derniers links (voir [Documentation])
oracle@bremko:~/Disk1/install/linux$ cd $ORACLE_HOME
oracle@bremko:/u01/app/oracle/product/8.1.7$ ./setup_stubs.sh
Setting up patch files...done.
Patching makefiles as necessary:
checking file '/u01/app/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/rdbms/demo/ociucb.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/rdbms/lib/ins_rdbms.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/rdbms/lib/env_rdbms.mk'...patched.
checking file '/u01/app/oracle/product/8.1.7/network/lib/ins_net_client.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/network/lib/env_network.mk'...patched.
checking file '/u01/app/oracle/product/8.1.7/network/lib/ins_cman.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/network/lib/ins_names.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/network/lib/ins_oemagent.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/network/lib/env_oemagent.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/network/lib/ins_net_server.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/network/lib/ins_nau.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/plsql/lib/env_plsql.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/plsql/lib/ins_plsql.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/plsql/demo/demo_plsql.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/precomp/lib/ins_precomp.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/precomp/lib/env_precomp.mk'...patched.
checking file '/u01/app/oracle/product/8.1.7/ldap/lib/env_ldap.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/ldap/lib/ins_ldap.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/ldap/demo/demo_ldap.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/sqlplus/lib/env_sqlplus.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/sqlplus/lib/ins_sqlplus.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/ord/im/lib/env_ordim.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/ord/img/demo/demo_ordimg.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/ord/ts/demo/oci/src/demo_ordts.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/ord/ts/demo/proc/src/demo_ordts.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/ord/ts/lib/env_ordts.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/md/demo/examples/demo_sdo.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/md/demo/unix/motif/src/demo_motif.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/md/demo/unix/motif/src/db_src/demo_dbsrc.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/md/demo/unix/motif/src/main_src/demo_mainsrc.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/otrace/demo/atmoci.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/otrace/lib/env_otrace.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/otrace/lib/ins_otrace.mk'...OK.
checking file '/u01/app/oracle/product/8.1.7/ctx/lib/env_ctx.mk'...patched.
checking file '/u01/app/oracle/product/8.1.7/ctx/lib/ins_ctx.mk'...OK.
Rebuilding client shared library...done.
Relinking executables:
running 'ins_rdbms.mk'...done.
running 'ins_net_client.mk'...done.
running 'ins_cman.mk'...done.
running 'ins_names.mk'...done.
running 'ins_oemagent.mk'...done.
running 'ins_net_server.mk'...done.
running 'ins_nau.mk'...done.
running 'ins_plsql.mk'...done.
running 'ins_precomp.mk'...done.
running 'ins_ldap.mk'...done.
running 'ins_sqlplus.mk'...done.
running 'ins_otrace.mk'...done.
running 'ins_ctx.mk'...done.
Redémarrage manuel des services
Avant de continuer,le mieux est de redémarrer la machine!!! J'ai eu l'erreur
ORA-01081: cannot start already-running ORACLE
J'ai donc redémarrer ma machine pour passer outre cette erreur.
On checke que c'est Ok pour le listener
oracle@monroe:~/Disk1/install/linux$ lsnrctl start
LSNRCTL for Linux: Version 8.1.7.4.0 - Production on 17-NOV-2009 22:14:51
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Lancement de /u01/app/oracle/product/8.1.7/bin/tnslsnr: Veuillez patienter...
TNSLSNR for Linux: Version 8.1.7.4.0 - Production
Le fichier de paramètres système est /u01/app/oracle/product/8.1.7/network/admin/listener.ora
Messages de journalisation écrits dans /u01/app/oracle/product/8.1.7/network/log/listener.log
Ecoute sur : (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=monroe.davidgis.fr)(PORT=1521)))
Ecoute sur : (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Connexion à  (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=monroe)(PORT=1521)))
STATUT du LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 8.1.7.4.0 - Production
Date de départ 17-NOV-2009 22:14:51
Durée d'activité 0 jours 0 heures 0 min. 0 sec
Niveau de trace off
Sécurité OFF
SNMP OFF
Fichier de paramètres du listener /u01/app/oracle/product/8.1.7/network/admin/listener.ora
Fichier journal listener /u01/app/oracle/product/8.1.7/network/log/listener.log
Récapitulatif services...
ORACLEDB \ 1 gestionnaires de services
PLSExtProc \ 1 gestionnaires de services
WEBMEDIA \ 1 gestionnaires de services
WEBSTATS \ 1 gestionnaires de services
La commande a réussi
On redémarre les instances
oracle@monroe:~$ dbstart
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 2000, Oracle Corporation. Tous droits réservés.
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
SVRMGR> Connecté
SVRMGR> Instance ORACLE démarrée
Zone globale système (SGA) totale de 482095264 octets
Fixed Size 73888 octets
Variable Size 465072128 octets
Database Buffers 16777216 octets
Redo Buffers 172032 octets
Base de données montée
Base de données ouverte
SVRMGR>
Server Manager terminé
Database "WEBMEDIA" warm started.
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 2000, Oracle Corporation. Tous droits réservés.
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
SVRMGR> Connecté
SVRMGR> Instance ORACLE démarrée
Zone globale système (SGA) totale de 482095264 octets
Fixed Size 73888 octets
Variable Size 465072128 octets
Database Buffers 16777216 octets
Redo Buffers 172032 octets
Base de données montée
Base de données ouverte
SVRMGR>
Server Manager terminé
Database "WEBSTATS" warm started.