10gR2 – RH5 Checking installer requirements… Failed and other Problems

Tux, the Linux penguin

Image via Wikipedia

Problemas de Configuración Oracle runinstaller

Cuando queremos implementar 10gR2 en un sistema operativo RedHat Linux 5 podemos encontrarnos con un problema a la hora de ejecutar oui.
Al correr el runinstaller, este abortara por que hace un chequeo previo de pre-requisitos y no ecunetra el OS RHE5.

Este prerequisito se encuentra detallado junto a otros más en el script componente /install/oraparam.ini

[oracle@sdat1102lx database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Failed <<<<

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2010-07-07_10-59-01AM/installActions2010-07-07_10-59-01AM.log

Para ello podemos realizar dos workarounds.

  • El primero consiste en ejecutar runinstaller agregando el wildacard -ignoreSysPrereqs.

[oracle@sdat1102lx database]$ ./runInstaller -ignoreSysPrereqs

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Failed <<<< >>> Ignoring required pre-requisite failures. Continuing...

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-07-07_10-59-08AM. Please wait ...[oracle@sdat1102lx database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

El segundo workaround consiste en modificar el script /install/oraparam.ini y agregar el nombre del operativo en la siguiente linea.

Cambiar la linea
[Certified Versions] Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2
por
[Certified Versions] Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,redhat-5

Otro problema que podemos encontrar es , que al intentar ejecutar el runinstaller nos encontremos con el error libXp.so.6: cannot open shared object file, y este ocurre comunmente por que el rpm xorg-x11-deprecated-libs y libXp no se encuentran instalados.

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-07-07_10-59-08AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-07-07_10-59-08AM/jre/1.4.2/lib/i386/libawt.so: libXp.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.(Unknown Source)
	at java.awt.Component.(Unknown Source)
	at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.(OiifmGraphicInterfaceManager.java:222)
	at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
	at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
	at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)
	at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)
	at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
Exception in thread "main" java.lang.NoClassDefFoundError
	at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.(OiifmGraphicInterfaceManager.java:222)
	at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
	at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
	at oracle.sysman.oii.oiif.oiifm.OiifmAlert.(OiifmAlert.java:151)
	at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)
	at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

Este error se encuentra documentado en la nota [ID 763143.1], que fue recientemente modificada, ya que estas librerias no se encuentran en los chequeos de pre-requisitos.

# yum install xorg-x11-deprecated-libs
# yum install libXp

Una vez aplicados los cambios el OUI arrancara sin problemas.

About Juan Andres
Consultant | Oracle DBA & IT Specialist | LinuxUnix Administrator | Father | Musician | Farmer | Environmentalist | Writer | Builder | Buenos Aires · burzaco.wordpress.com

One Response to 10gR2 – RH5 Checking installer requirements… Failed and other Problems

  1. Hi everyone, it’s my first go to see at this web page, and piece of writing is really fruitful in support of me,
    keep up posting these articles or reviews.

%d bloggers like this: