1 概述
问题简述:当在aix6.1 TL04下<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />补丁时,出现进程正在被使用的报错,安装无法继续进行。<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
操作系统:aix6.1 TL04
:oracle或oracle
作者:shenguokun
文档更新历史:
创建
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:
D m xj p:{.l0java
查看操作系统的java进程,发现只有Oracle patch安装进程使用了java,OUI安装程序做了错误的检测。
3 处理过程3.1 查询资料
查询metalink文档980602.1,明确这是ORACLE BUG:9227281
Applies to:
Oracle Universal Installer - Version:.2.0 to 11.1.0.7 - Release: 10.2 to 11.1
`3A8~ V){ F r0IBM on POWER Systems (64-bit)
Symptoms
Installing patchset on AIX 6.1 TL04 fails with:ITPUB个人空间 f k n1~4K t i
i O9|1t o$f6R0INFO: 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:ITPUB个人空间 [ u h ? A
javaITPUB个人空间 u E Q Q)j2WQ P0\)~
ITPUB个人空间 J7k6b S!H-D(P {
The java process running is the Installer itselt.
5s } k M N @%r;G0
H)c p;}4_0This problem has been reproduced installing.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.ITPUB个人空间&p L4k V ?6s9u4W
a'L RA _ g A3S:u0Two Oracle bugs were created to investigate this issue:ITPUB个人空间*J-H o.C8{ N.d E4r B
$u([$[+\ X } w u w L0Bug.9227281- OUI.4 DETECTS JAVA PROCESS RUNNING ON ORACLE_HOME AIX 610ITPUB个人空间 p,s ?,I V ~
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:ITPUB个人空间 d7? [%V#E y
IZ67400: FUSER GIVES INCORRECT PIDS WITH -X OPTIONITPUB个人空间 T ~ f \ F | E
k,t-a y U2g9F O0Registration is required to review patch IZ67400 on IBM site.ITPUB个人空间 C w"~-m J8H P6P B'U
e D @ \9@"Z X W0Also, next workaround could be used:
ITPUB个人空间6G H8l*|/d.Y)O
As root:ITPUB个人空间 r Y)V p4q m t
1) rename fuser
e+p1} R*n a!J D0 mv /usr/sbin/fuser /usr/sbin/fuser_renamed
V,E(q f%w5|:m!Y02) touch /usr/sbin/fuser
},A;P8p Y t03) chmod +x /usr/sbin/fuser
y i(w m-~1d(b z4u0
@9A z7E A3P0As oracle software owner:
&j U A L5]9Z01) Try to install the patchset (fuser can now return nothing, hence the Installer should continue)ITPUB个人空间6@ y4P g p o _ n
ITPUB个人空间.t U C H v `'J ] f)| } Z }
After successful install, as root:
c G ^ d h r#C01) rename fuser back to its original name
E V Q v H'Q(s%y/o ?0 mv /usr/sbin/fuser_renamed /usr/sbin/fuser
4 总结
这是Oracle与AIX6.1之间的又一个较严重的兼容性问题,AIX-1014已解决。解决这个问题有两个方案:
1. 升级AIX到-1014以上版本
2. 临时解决方案,把fuser命令改名,安装完patch后再恢复