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

在AIX6.1TL04环境下安装Oracle10g补丁时遇到java进程被使用的错误提示,通过查询metalink文档确认为OracleBUG:9227281。提供了两种解决方案:升级AIX版本或临时修改fuser命令。

作者:shenguokun
http://sinobestdba.itpub.net

1 概述
问题简述:当在aix6.1 TL04下安装oracle10g补丁时,出现java进程正在被使用的报错,安装无法继续进行。
操作系统:aix6.1 TL04
数据库:oracle10g或oracle11g

[@more@]

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 installing10.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- OUI10.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博客 ” ,链接:http://blog.itpub.net/25152497/viewspace-1044112/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/25152497/viewspace-1044112/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值