AIX6.1上打10G PATCH時報有Java程式在執行的錯誤解決
一.問題描述
在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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 打 patch 報錯:corrupt patch at line 36
- 執行 PHP artisan migrate 時報長度錯誤的解決辦法?PHP
- idea執行java專案main方法報build failure錯誤的解決方法IdeaJavaAIUI
- Excel宏執行時提示錯誤1004的三個解決方法Excel
- IDEA在執行maven打war的時候報錯:Cannot access defaults field of PropertiesIdeaMaven
- Flutter: 解決執行時錯誤 java.lang.UnsatisfiedLinkError...couldn't find "libflutter.so"FlutterJavaError
- flink1.14.0在yarn上執行報錯--類載入錯誤--問題Yarn
- npm 執行時報錯“因為在此係統上禁止執行指令碼”解決辦法NPM指令碼
- 解決java5 發行錯誤最好的方法Java
- 在IDEA上執行成功,打包成jar包後,執行報錯,程式自動退出IdeaJAR
- IDEA啟動時報Failed to create JVM錯誤的解決IdeaAIJVM
- win10執行com+應用程式編錄錯誤提示錯誤程式碼80040154-沒有註冊類怎麼解決Win10
- IIS 7.5 解析錯誤 命令執行漏洞解決方案
- 在Java程式中列印java執行時引數Java
- IDEA發生“Error:java: 錯誤: 不支援發行版本 5”錯誤的解決方案IdeaErrorJava
- Laravel Mix執行時關於es2015報錯解決方案Laravel
- dbfread報錯ValueError錯誤解決方法Error
- Qt報Multiple definition錯誤的解決QT
- java:錯誤:不支援發行版本1.4解決方案Java
- 轉存——Quartus II FPGA程式模擬執行時出現錯誤“error occurred during modelsim simulation”的解決方法FPGAError
- steam確認錯誤執行此操作時出現問題怎麼解決
- win10執行jade提示399錯誤怎麼辦_win10執行jade提示399錯誤的解決方法Win10
- Win7 IIS7.5執行ASP時出現500錯誤的解決辦法Win7
- idea上執行scala報錯Idea
- Mac上搭建chromedriver的錯誤解決方法MacChrome
- 解決java.lang.NoSuchMethodError錯誤JavaError
- Docker Hello World容器執行報錯的解決辦法Docker
- yii執行phpunit時報錯PHP
- Larabel遷移檔案時報SQLSTATE[42000]錯誤的解決方法SQL
- 解決 Angular 官網下載的庫 Schematics 執行 npm run build 時遇到的編譯錯誤AngularNPMUI編譯
- LINUX 的patch 製作,及打patchLinux
- Laravel Mix - 執行 NPM install 報錯解決辦法LaravelNPM
- 解決Arch Linux安裝AndroidStudio連結不上Android,執行adb devices出現no permissions的錯誤LinuxAndroiddev
- 執行錯誤集
- 執行VMWare虛擬機器報錯“打不開 /dev/vmmon:斷裂管道”的問題解決之法虛擬機dev
- Nginx報504 gateway timeout錯誤的解決方法NginxGateway
- steam商店打不開怎麼解決 steam商店錯誤程式碼-118-1怎麼解決
- 關於 IIS 上執行 ASP.NET Core 站點的“HTTP 錯誤 500.19”錯誤ASP.NETHTTP
- JAVA web ServletFileUpload檔案上傳遇到大量50+錯誤的解決方法JavaWebServlet