一.问题描述
在AIX6.1(6100-01-06-0939)上升级ORACLE数据库(版本从10.2.0.4升级到10.2.0.5)时,报有一个进程(JAVA)正在在ORACLE_HOME下运行,安装无法进行下去.
错误的信息如下:
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
ps -ef|grep java,查看操作系统的java进程,发现只有Oracle patch安装进程使用了java,OUI安装程序做了错误的检测。
二.问题分析
在metalink上搜索,发现这个一个BUG,是AIX 6.1(小版本小于ML4)与ORACLE 10g patch的一个bug.具体的metalink doc_id=980602.1
文章内容大致如下:
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
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
三. 问题解决
按照metalink的980602.1文章中的解决办法,进行了处理,步骤如下:
#mv /usr/sbin/fuser /usr/sbin_fuser_renamed
#touch /usr/sbin/fuser
#chmod +x /usr/sbin/fuser
再次运行oracle patch的runinstaller ,可以正常运行了.
不过不要忘记,在oracle patch安装完成后,需要恢复fuser文件
#mv /usr/sbin/fuser_renamed /usr/sbin/fuser
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/32980/viewspace-1058731/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/32980/viewspace-1058731/