반응형
Linux7 기반 12c Single ASM 설치 메뉴얼을 작성하다 grid patch 시에 발생되는 오류로 인한 참고문서이다. 필자의 경우 설치 시 마지막 requirement 체크시에 걸리는 부분들만 그때그때 적용을 하기 때문에 놓친 패키지가 있어 발생한 오류로 보인다. oracle 공식 문서에서 제공되는 requirement에 필수 패키지인지는 모르겠으나 아래 설명되는 패키지가 없을 때 grid 패치 시 fuser 관련 오류가 발생한다.
친절한 아잇티에게 무엇이든 물어보세요!
글, 사진 ▶ 아잇티
# 사진을 제외한 제 블로그의 모든 글들은 공유 가능합니다.
# 공유 시 출처 및 댓글은 센스있게 부탁드립니다.
# 해당 포스팅 내용 외에 궁금한 점이나 추가사항은 댓글 부탁드립니다.
# 저는 친절합니다. 다가오세요... 해치지 않아요!
Step 1. grid patch error
grid 패치 시 아래와 같은 오류가 발생
[root@test ~]# opatchauto apply /sw/patch/27468969/ -oh /sw/grid/
OPatchauto session is initiated at Thu Jul 5 04:45:06 2018
System initialization log file is /sw/grid/cfgtoollogs/opatchautodb/systemconfig2018-07-05_04-45-08AM.log.
Session log file is /sw/grid/cfgtoollogs/opatchauto/opatchauto2018-07-05_04-45-10AM.log
The id for this session is NZIK
Executing OPatch prereq operations to verify patch applicability on home /sw/grid
Patch applicability verification failed on home /sw/grid
Execution of [OPatchAutoBinaryAction] patch action failed, check log for more details. Failures:
Patch Target : test->/sw/grid Type[siha]
Details: [
---------------------------Patching Failed---------------------------------
Command execution failed during patching in home: /sw/grid, host: test.
Command failed: /sw/grid/OPatch/opatchauto apply /sw/patch/27468969/ -oh /sw/grid -target_type has -binary -invPtrLoc /sw/grid//oraInst.loc -jre /sw/grid/OPatch/jre -persistresult /sw/grid/OPatch/auto/dbsessioninfo/sessionresult_analyze_test_siha.ser -analyze -online -prepare_home
Command failure output:
==Following patches FAILED in analysis for apply:
Patch: /sw/patch/27468969/27674384
Log: /sw/grid/cfgtoollogs/opatchauto/core/opatch/opatch2018-07-05_04-45-15AM_1.log
Reason: Failed during Analysis: CheckSystemCommandsAvailable Failed, [ Prerequisite Status: FAILED, Prerequisite output:
The details are:
Missing command :fuser]
After fixing the cause of failure Run opatchauto resume
]
OPATCHAUTO-68061: The orchestration engine failed.
OPATCHAUTO-68061: The orchestration engine failed with return code 1
OPATCHAUTO-68061: Check the log for more details.
OPatchAuto failed.
OPatchauto session completed at Thu Jul 5 04:45:17 2018
Time taken to complete the session 0 minute, 11 seconds
opatchauto failed with error code 42
Step 2. psmisc RPM install
아래와 같이 psmisc RPM을 설치해준다.
[root@test tmp]# yum install psmisc
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
ol7_latest | 4.1 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package psmisc.x86_64 0:22.20-15.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
psmisc x86_64 22.20-15.el7 ol7_latest 141 k
Transaction Summary
====================================================================================================================================
Install 1 Package
Total download size: 141 k
Installed size: 475 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : psmisc-22.20-15.el7.x86_64 1/1
Verifying : psmisc-22.20-15.el7.x86_64 1/1
Installed:
psmisc.x86_64 0:22.20-15.el7
Complete!
patch 재시도
[root@test tmp]# opatchauto apply /sw/patch/27468969/ -oh /sw/grid/
OPatchauto session is initiated at Thu Jul 5 04:49:34 2018
System initialization log file is /sw/grid/cfgtoollogs/opatchautodb/systemconfig2018-07-05_04-49-36AM.log.
Session log file is /sw/grid/cfgtoollogs/opatchauto/opatchauto2018-07-05_04-49-37AM.log
The id for this session is 6MIP
Executing OPatch prereq operations to verify patch applicability on home /sw/grid
Patch applicability verified successfully on home /sw/grid
Bringing down CRS service on home /sw/grid
Prepatch operation log file location: /log/grid/crsdata/test/crsconfig/hapatch_2018-07-05_04-49-45AM.log
CRS service brought down successfully on home /sw/grid
Start applying binary patch on home /sw/grid
포스팅을 마치며
그 외에 touch 명령을 통해 fuser를 생성해주는 방법도 소개된 글이 있는데 해당 방법으로는 해결이 안됨. 위와 같은 방법으로 해결
제 블로그의 내용이 도움이 되셨나요?
▼▼▼▼▼▼▼▼▼▼▼
여러분의 공감과 댓글이 아잇티에게 큰 힘이됩니다 :)
반응형
'Run? Learn! > Oracle - Admin' 카테고리의 다른 글
DBMS_DATAPUMP를 이용한 AWS to OCI 데이터 이관 - 1부 (0) | 2023.03.22 |
---|---|
Oracle Cloud Wallet으로 SQL Developer 접속 (0) | 2023.03.21 |
Oracle 12c R2 Pluggable Database 생성, 접속, 삭제 (0) | 2017.12.22 |
아카이브 로그 관리 방법 (0) | 2017.11.28 |
ORACLE COLUMN 추가, 삭제, 변경 (0) | 2017.11.14 |