ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 技术总结_AIX6.1 TL04下安装Oracle补丁时报java程序正在被使用问题处理总结

技术总结_AIX6.1 TL04下安装Oracle补丁时报java程序正在被使用问题处理总结

原创 Linux操作系统 作者:sinobest 时间:2010-12-29 00:17:00 0 删除 编辑

1          概述

问题简述:当在aix6.1 TL04下安装oracle10g补丁时,出现java进程正在被使用的报错,安装无法继续进行。

操作系统:aix6.1 TL04

数据库:oracle 10g或oracle 11g

作者:shenguokun

文档更新历史:

2010-07-23       创建

2          问题描述

当在aix6.1 TL04下安装oracle10补丁时,出现java进程正在被使用的报错,安装无法继续进行。报错信息如下:

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

查看操作系统的java进程,发现只有Oracle patch安装进程使用了java ,OUI安装程序做了错误的检测。

3          处理过程

3.1      查询资料

查询metalink文档980602.1 ,明确这是ORACLE BUG:9227281

Applies to:

Oracle Universal Installer - Version: 10.2.0.2.0 to 11.1.0.7 - Release: 10.2 to 11.1
IBM AIX on POWER Systems (64-bit)

Symptoms

Installing patchset on AIX 6.1 TL04 fails with:

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 itselt.

This problem has been reproduced installing 10.2.0.4 and 11.1.0.7 patchset, but it could affect to other patchsets.

Cause

This seems a IBM issue at the fuser coming with AIX 6.1 ML4 SP1.

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

 

3.2      解决方法

Solution

IBM has released AIX patch to solve the issue:
               IZ67400: FUSER GIVES INCORRECT PIDS WITH -X OPTION

Registration is required to review patch IZ67400 on IBM web site.

Also, next workaround could 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 patchset (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

 

4          总结

这是Oracle与AIX6.1之间的又一个较严重的兼容性问题,AIX6100-04-04-1014已解决。解决这个问题有两个方案:

1.      升级AIX到6100-04-04-1014以上版本

2.      临时解决方案,把fuser命令改名,安装完patch后再恢复

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/14120158/viewspace-682754/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2010-12-27

  • 博文量
    1
  • 访问量
    3891