2011-02-24

The Installer (OUI) Detects Processes Running on ORACLE_HOME on AIX 6.1 TL04 SP1

The Installer (OUI) Detects Processes Running on ORACLE_HOME on AIX 6.1 TL04 SP1 [ID 980602.1]
 Oracle Universal Installer - Version: 10.2.0.1.0 to 11.2.0.2 - Release: 10.2 to 11.2
IBM AIX on POWER Systems (64-bit)

Symptoms

When installing Oracle10g Release 2 (10.2), Oracle11g Release 1 (11.1), Oracle11g Release 2 (11.2) or any patchset on AIX 6.1 TL04 SP1 the installer fails with the error:

INFO: Oracle Universal Installer has detected that there are processes running in the currently selected Oracle Home. The following processes need to be shutdown before continuing:
java

The java process running is the installer itself (OUI)

Alternatively, you may see the following processes listed:

java ksh perl runInstaller sh

Cause

There is a problem with the /usr/sbin/fuser command supplied with AIX 6.1 TL04 SP1.

NOTE:

To check the TL and SP version of an AIX server, run the command "oslevel -s"

If the output starts with "6100-04-01" then the AIX server is running AIX 6.1 TL04 SP1

When called with the '-x' option the command detects incorrect process id's

OUI trace file (truss) shows fuser is run with -x option:

    639014: execve("/usr/sbin/fuser", 0x0000000112BA7DD0, 0x000000011000E0D0) argc: 6
    639014: argv: /usr/sbin/fuser -f -x -f -x
    639014: /ora/oracle/product/11.1/db_1/bin/oracle

Two Oracle bugs were created to investigate this issue:

Bug.9227281 - OUI 10.2.0.4 DETECTS JAVA PROCESS RUNNING ON ORACLE_HOME AIX 610
Unpublished Bug.9228329 - 11.1.0.7 OUI FAILS TO DETECT RUNNING PROCESSES CORRECTLY ON AIX 6.1 ML 4 SP1

Solution

IBM has released AIX patch to solve the issue:

   IZ67400: FUSER GIVES INCORRECT PIDS WITH -X OPTION

This APAR is a duplicate of IZ71207.

Registration is required to review patches IZ67400 and/or IX71207 on IBM web site.

Alternatively, the following workaround can be used:

As root:
1) rename fuser 
   mv /usr/sbin/fuser /usr/sbin/fuser_renamed
2) touch /usr/sbin/fuser
3) chmod +x /usr/sbin/fuser

As oracle software owner:
1) Try to install the Oracle software (fuser can now return nothing, hence the Installer should continue)

After successful install, as root:
1) rename fuser back to its original name
  mv /usr/sbin/fuser_renamed /usr/sbin/fuser

Niciun comentariu:

Trimiteți un comentariu