12c GRID PATCH 시 fuser 오류 해결방법

2018. 7. 5. 10:28·과거자료/Oracle - Admin
반응형

 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를 생성해주는 방법도 소개된 글이 있는데 해당 방법으로는 해결이 안됨. 위와 같은 방법으로 해결




제 블로그의 내용이 도움이 되셨나요?

여러분의 공감과 댓글이 아잇티에게 큰 힘이됩니다 :)

▼▼▼▼▼▼▼▼▼▼▼



반응형
저작자표시 (새창열림)

'과거자료 > 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
'과거자료/Oracle - Admin' 카테고리의 다른 글
  • DBMS_DATAPUMP를 이용한 AWS to OCI 데이터 이관 - 1부
  • Oracle Cloud Wallet으로 SQL Developer 접속
  • Oracle 12c R2 Pluggable Database 생성, 접속, 삭제
  • 아카이브 로그 관리 방법
라이의 부자로 가는길
라이의 부자로 가는길
< 돈 / 건강 / 재테크 / AI > 관심이 많은 라이
    반응형
  • 라이의 부자로 가는길
    돈이 Money
    라이의 부자로 가는길
  • 전체
    오늘
    어제
    • 분류 전체보기 (103)
      • 블로그가 Money (3)
        • WordPress (0)
        • Tistory (18)
      • 유튜브가 Money (2)
        • 유용한 사이트 (2)
      • AI가 Money (2)
        • [AI] - ChatGPT (1)
        • [AI] - 이미지 (1)
        • [AI] - 사운드 (0)
      • 돈이 Money (3)
        • 경제 한스푼 (2)
        • 재테크 (0)
        • 돈되는 정보 (1)
      • 건강이 Money (2)
        • 건강 클리닉 (2)
        • 운동 & 다이어트 (0)
      • Blah Blah (1)
        • 라이의 Blah Blah (1)
        • 찬반 Blah Blah (0)
      • 과거자료 (72)
        • OS - Linux (7)
        • OS - Windows (2)
        • Oracle - Engine (6)
        • Oracle - Admin (13)
        • Oracle - Objects (2)
        • 지름신 강림 (13)
        • 내 일상... 주절주절 (2)
        • 코인이야기 (1)
        • IT 관련 잡지식 (4)
        • 유용한 앱 & 소프트웨어 (14)
        • 애드센스 집중탐구 (4)
        • 티스토리 초대장 (4)
  • 최근 글

  • 인기 글

  • 최근 댓글

  • 블로그 메뉴

    • 지역로그
    • 태그로그
    • 방명록
  • 링크

  • 공지사항

  • 태그

    모니터 크기 비교
    티스토리 초대장
    오라클동기화
    WINDOWS ORACLE
    테이블동기화
    별플레이어
    oracle 12c 설치
    모모플레이어
    챗gpt
    티스토리
    oracle asm
    oracle 12c install
    웨일 브라우저 설치
    중소기업 tv
    linux 7
    애드센스 수익
    애드센스
    티스토리 초대장 배부
    티스토리 홈화면 변경
    oracle
  • hELLO· Designed By정상우.v4.10.3
라이의 부자로 가는길
12c GRID PATCH 시 fuser 오류 해결방법
상단으로

티스토리툴바