• 현상
➢ 19.7에서 ASTS(Automatic SQL Tuning Set) 기능이 기본으로 활성화되어 SYSAUX 테이블스페이스를 과도하게 소비하는 증상
➢ dba_autotask_schedule_control 의 Auto STS Capture Task가 활성화 상태로 되어 있음

• 원인 및 현상 설명
1. select to_char(max(last_schedule_time),'DD-MON-YY hh24:mi') LATEST, task_name, status,
enabled from dba_autotask_schedule_control group by task_name, status, enabled ;
2. <Note:2686869.1> Automatic SQL Tuning Sets (ASTS) 19c RU 19.7 Onwards
3. https://mikedietrichde.com/2020/05/28/do-you-love-unexpected-surprises-sys_auto_sts-in-oracle-19-7-0/

• 해결 방안
1. DB RU 19.8 이상 적용
또는

2. Auto STS Capture Task 기능 Disable
DBMS_AUTO_TASK_ADMIN.DISABLE(client_name=>'Auto STS Capture Task', operation=>NULL,window_name=>NULL);

Posted by pat98

• 현상
➢ CTAS 또는 WITH 절 내에 GROUP BY / ORDER BY 구문 사용 시 ORA-7445: [qkswcDriver] 및인스턴스 crash 또는 hang 현상 발생
➢ Create Table As Select 절에서 SELECT 문장에 GROUP BY 또는 ORDER BY 구문이 있을 경우
➢ WITH 절의 Table function으로 GROUP BY 또는 ORDER BY 구문이 있을 경우 hang 또는 instance crash 또는 ORA-7445: [qkswcDriver] 에러 발생

• 원인
➢ <Note:21217621.8> Bug.21217621 ORA-7445: [qkswcDriver] error or hang using WITH and Group by / Order by

• 해결 방안
1. Patch 21217621 을 20.1 미만 버젼에서는 적용 필요 (Fix하는 DB RU patch가 없음)
2. Workaround : Create Table As Select 절에서 Select 절을 괄호로 묶어서 “create table as select * from (select ….) 처럼 변환하여 사용

Posted by pat98

Drop Partition 구문 수행 시 SQL Plan이 변경 (19c)

• 현상
➢ DROP Partition 구문을 사용한 이후 SQL Plan이 변경되는 현상 발생 (DBA_TABLES.LAST_DDL_TIME 변경 )
➢ SQL 실행계획이 재작성되면서 Bad Execution plan이 생성될 가능성 있음

• 원인
➢ _optimizer_gather_stats_on_load=true로 되어 있음
➢ CTAS 또는 Direct path insert 수행 시 자동 통계정보 수집 여부 설정 , 이 파라미터가 true라면 CTAS, Direct
path insert 수행 시에만 동작해야 하는데 , DROP Partition 등 파티션 테이블의 DDL 구문 수행 시에도 통계정보 수집이 되는 현상이 발생하여 성능 저하 이슈 발생

• 해결 방안
1. DROP Partition 수행 시에도 SQL Plan이 변경되지 않도록 파라미터를 통해 disable시킴
_optimizer_gather_stats_on_load=false 로 변경함

2. 해당 파라미터 설정 후, DBA_TABLES.LAST_DDL_TIME이 변경되지 않음
동적 통계정보의 변경으로 인해 Worst Execution plan이 생길 수 있으므로, false 권장

Posted by pat98

• 현상
➢ Auditing 기능 활성화 시 Library cache: mutex X 대기 현상 증가
➢ AUDIT_TRAIL 파라미터가 NONE이 아닐 경우 발생

• 원인 및 현상 설명
➢ Audit_trail = NONE 으로 DB에 셋팅되어 있지 않으면 SELECT ANY TABLE 권한을 Auditing할 때에 Library cache: mutex X 대기 현상 증가
➢ 12.2보다 약 40배 Wait time 증가한 사례 있음
➢ <Note:32356628.8> Bug 32356628 - Significant increase in library cache: mutex X wait time after upgrading database to 19c

• 해결 방안
1. AUDIT_TRAIL = NONE 설정 또는
2. AUDIT_TRAIL = DB 설정 시 Patch 32356628 적용 권고
3. 19.12.0.0.DBRU:210720 (JUL 2021) DB Release Update (DB RU) 에서는 해결됨

Posted by pat98

2022. 12. 20. 15:36 오라클

Exadata SElinux 설정


Exadata Image 21.2.0 부터 host_access_control 명령어를 통해 SElinux 설정 가능
-> 기본은 SElinux 가 disable 되어있다.

- permissive Mode (SELinux가 감사로그에 위반사항을 시스템에 능동적으로 모니터링하고 정책을 기록한다. 그러나 차단되는 작업은 없다)
/opt/oracle.cellos/host_access_control selinux --permissive

- enforcing Mode (정책 위반을 적극적으로 차단하고 감사 로그에 개입 기록)
/opt/oracle.cellos/host_access_control selinux --enforcing

- relabel  (SELinux를 처음 사용하도록 설정한 경우 시스템에 파일 레이블을 다시 지정해야 한다)
/opt/oracle.cellos/host_access_control selinux --relabel
-> relabel 은 시스템 리부팅이 필요

- Disabling SELinux
/opt/oracle.cellos/host_access_control selinux --disabled

- SElinux Status 확인
/opt/oracle.cellos/host_access_control selinux --status

- Configured Status 확인
/opt/oracle.cellos/host_access_control selinux --config



Posted by pat98

Exadata 의 시스템 보안설정

# /opt/oracle.cllos/host_access_control --help

주요 설정 항목
• access             - 호스트, 네트워 크 등의 사용자 액세스 
• auditd-options     - auditd 옵션
• banner             - 로그인 배너 관리
• fips-mode          - openSSH FIPS 모드
• idle-timeout       - Shell 및 SSH 클라이언트 유휴 시간 제한시간 제어
• pam-auth           - PAM 인증 설정
• password-aging     - 현재 사용자 비밀번호의 에이징 조정
• rootssh            - 루트 사용자의 SSH 액세스 제어
• ssh-access         - 사용자 및 그룹의 SSH 액세스 허용 또는 거부
• sshciphers         - SSH 암호화 지원 제어
• ssh-macs           - SSH에서 지원되는 MAC
• sudo               - sudo로 사용자 권한 제어
• get-runtime        - 시스템 구성설정을 가져와 host_access_control 매개변수 설정파일에 저장

# /opt/oracle.cellos/host_access_control apply-defaults --strict_compliance_only

-> host_access_control 명령어로 시스템 보안설정을 누출없이 일괄 정의 가능

 

• INACTIVE=0
• 로그인 시도 실패 수를 5로 설정
• 로그인 시도를 한 번 실패한 후 계정의 lock_time을 600으로 설정
• 비 밀번호 기록(pam_unix remember)을 10으로 설정
• 암호 강도 :  pam_pwquality.so minlen=15 minclass=4 dcredit=-1 ucredit=-1 lcredit=-1 ocredit=-1 difok=8 maxrepeat=3
maxclassrepeat=4 local_users_only retry=3 authtok_type=
• PermitRootLogin no
• hard maxlogins 10
• hmac-sha2-256,hmac-sha2-512(서버와 클라이언트 모두)
• 암호 에이징 -M 60, -m 1, -W 7

 

 

 

Posted by pat98

19c 버전 기준

 

[root@ocfs1:/u01/app/19.3.0.0/grid/crs/install]# cat crsconfig_params
# $Header: has/install/crsconfig/crsconfig_params.sbs /main/69 2017/09/15 06:53:47 muhe Exp $
#
# crsconfig.lib
#
# Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
#
#    NAME
#      crsconfig_params.sbs - Installer variables required for root config
#
#    DESCRIPTION
#      crsconfig_param - 
#
#    MODIFIED   (MM/DD/YY)
#    muhe       07/27/17 - Fix bug 26421672
#    luoli      06/22/17 - Remove CDATA_ALL_DISKGROUPS
#    rdasari    05/15/17 - add RHP_PROVISIONED
#    muhe       03/09/17 - Support SIHA upgrade
#    shullur    02/12/17 - For fixing bug 25536573
#    muhe       12/09/16 - Support shared scan
#    shullur    11/18/16 - For fixing bug 25092647
#    xyuan      11/07/16 - Fix bug 25037011
#    samjo      06/17/16 - Add NAS support for CW files
#    xyuan      04/21/16 - ODA Lite/SIP/IaaS
#    bbeelamk   03/17/16 - Fix bug 22927215
#    bbeelamk   02/15/16 - Fix bug 22685861
#    ssprasad   12/05/15 - Bug 21496397: Add AFD_CONF
#    sbezawad   11/17/15 - Bug 21919798: Add cluster properties to clscfg
#    bbeelamk   08/18/15 - Set crsdeconfig log loc to dchome during deinstall
#    jmarcias   07/24/15 - Fix bug 21492602
#    jmarcias   07/21/15 - Fix bug 21471669
#    jmarcias   06/16/15 - Fix bug 21256573
#    muhe       05/08/15 - Fix bug 21039599
#    luoli      04/26/15 - Remove redundant parameter NODELIST
#    jmarcias   03/11/15 - Fix bug 20569941
#    xyuan      12/16/14 - Fix bug 20206616
#    xyuan      11/25/14 - Application Cluster
#    bbeelamk   11/03/14 - Fix bug 19849644
#    luoli      11/24/13 - write ckpts in ocr
#    rdasari    06/27/13 - add PING_TARGETS
#    rdasari    02/14/13 - XbranchMerge rdasari_bug-16101138_1 from
#                          st_has_12.1.0.1
#    rdasari    01/11/13 - disable security bug fix 9584563
#    rdasari    09/13/12 - add GNS_TYPE
#    rdasari    09/12/12 - remove auto node parameters
#    rtamezd    09/12/12 - Fix bug 14115195
#    sidshank   07/09/12 - add LISTENER_USERNAME.
#    sidshank   02/07/12 - Remove OCFS_CONFIG param
#    xesquive   01/24/12 - bug fix 13623926
#    sidshank   11/01/11 - Add MGMT_DB parameter.
#    rtamezd    09/09/11 - HUB, RIM, and AUTO_NODE_VIPS for 12g
#    xyuan      07/19/11 - BC parameters for 12c
#    rdasari    05/26/11 - add new params
#    ksviswan   09/03/10 - XbranchMerge ksviswan_bug-9723529 from st_has_11.2.0
#    dpham      05/20/10 - XbranchMerge dpham_bug-8609692 from st_has_11.2.0.1.0
#    dpham      03/17/10 - Add TZ variable (9462081
#    sujkumar   01/31/10 - CRF_HOME as ORACLE_HOME
#    sujkumar   01/05/10 - Double quote args
#    dpham      11/25/09 - Remove NETCFGJAR_NAME, EWTJAR_NAME, JEWTJAR_NAME,
#                          SHAREJAR_NAME, HELPJAR_NAME, and EMBASEJAR_NAME
#    sukumar    11/04/09 - Fix CRFHOME. Add CRFHOME2 for Windows.
#    anutripa   10/18/09 - Add CRFHOME for IPD/OS
#    dpham      03/10/09 - Add ORACLE_BASE
#    dpham      11/19/08 - Add ORA_ASM_GROUP
#    khsingh    11/13/08 - revert ORA_ASM_GROUP for automated sh
#    dpham      11/03/08 - Add ORA_ASM_GROUP
#    ppallapo   09/22/08 - Add OCRID and CLUSTER_GUID
#    dpham      09/10/08 - set OCFS_CONFIG to sl_diskDriveMappingList
#    srisanka   05/13/08 - remove ORA_CRS_HOME, ORA_HA_HOME
#    ysharoni   05/07/08 - NETWORKS fmt change s_networkList->s_finalIntrList
#    srisanka   04/14/08 - ASM_UPGRADE param
#    hkanchar   04/02/08 - Add OCR and OLRLOC for windows
#    ysharoni   02/15/08 - bug 6817375
#    ahabbas    02/28/08 - temporarily remove the need to instantiate the
#                          OCFS_CONFIG value
#    srisanka   02/12/08 - add OCFS_CONFIG param
#    srisanka   01/15/08 - separate generic and OSD params
#    jachang    01/15/08 - Prepare ASM diskgroup parameter (commented out)
#    ysharoni   12/27/07 - Static pars CSS_LEASEDURATION and ASM_SPFILE
#    yizhang    12/10/07 - Add SCAN_NAME and SCAN_PORT
#    ysharoni   12/14/07 - gpnp work, cont-d
#    jachang    11/30/07 - Adding votedisk discovery string
#    ysharoni   11/27/07 - Add GPnP params
#    srisanka   10/18/07 - add params and combine crsconfig_defs.sh with this
#                          file
#    khsingh    12/08/06 - add HA parameters
#    khsingh    12/08/06 - add HA_HOME
#    khsingh    11/25/06 - Creation
# ==========================================================
# Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
#
# crsconfig_params.sbs -   
#
# Note:
# Either have the installer instantiate the new variable or temporarily
# skip the validation for the new variable when adding a new one to
# the parameter file, otherwise the root script would abort due to no
# value set for the parameter and that would break many things
# ==========================================================

SILENT=false
ORACLE_OWNER=oracle
ORA_DBA_GROUP=dba
ORA_ASM_GROUP=dba
LANGUAGE_ID=AMERICAN_AMERICA.AL32UTF8
TZ=Asia/Seoul
ISROLLING=true 
REUSEDG=false
USER_IGNORED_PREREQ=true
INSTALL_NODE=ocfs1 

#LISTENER_USERNAME=
LISTENER_USERNAME=oracle
MGMT_DB=false
GIMR_CONFIG=
GIMR_CREDENTIALS=

BIG_CLUSTER=true
HUB_SIZE=32
HUB_NODE_LIST=ocfs1,ocfs2
RIM_NODE_LIST=
HUB_NODE_VIPS=ocfs1-vip,ocfs2-vip
PING_TARGETS=

ORACLE_HOME=/u01/app/19.3.0.0/grid
ORACLE_BASE=/u01/app/oracle
OLD_CRS_HOME=

JREDIR=/u01/app/19.3.0.0/grid/jdk/jre/
JLIBDIR=/u01/app/19.3.0.0/grid/jlib

CLUSTER_TYPE=DB
VNDR_CLUSTER=false
OCR_LOCATIONS=/vote01/ocr01,/vote02/ocr02,/vote03/ocr03
CLUSTER_NAME=ocfs-cluster
NODE_NAME_LIST=ocfs1,ocfs2
PRIVATE_NAME_LIST=
VOTING_DISKS=/vote01/vote01,/vote02/vote02,/vote03/vote03
#VF_DISCOVERY_STRING=%s_vfdiscoverystring%

# ASM consts
ASM_UPGRADE=false
ASM_SPFILE=
ASM_DISCOVERY_STRING=
ASM_CONFIG=
ASM_CREDENTIALS=
ASMCA_ARGS=
 
CRS_STORAGE_OPTION=2
CSS_LEASEDURATION=400
CRS_NODEVIPS='ocfs1-vip/255.255.255.0/enp0s3,ocfs2-vip/255.255.255.0/enp0s3'
NETWORKS="enp0s3"/192.168.56.0:public,"enp0s8"/10.10.10.0:cluster_interconnect
SCAN_NAME=ocfs-scan
SCAN_PORT=1521
GPNP_PA=
SCAN_TYPE=LOCAL
SCAN_CREDENTIALS=

# AFD consts
AFD_CONF=false

# RHP consts
RHP_CONF=false
RHP_PROVISIONED=

# GNS consts
GNS_CONF=false
GNS_TYPE=
GNS_ADDR_LIST=
GNS_DOMAIN_LIST=
GNS_ALLOW_NET_LIST=
GNS_DENY_NET_LIST=
GNS_DENY_ITF_LIST=
GNS_CREDENTIALS=

#### Required by OUI add node
NEW_HOST_NAME_LIST=
NEW_NODE_NAME_LIST=
NEW_PRIVATE_NAME_LIST=
NEW_NODEVIPS='ocfs1-vip/255.255.255.0/enp0s3,ocfs2-vip/255.255.255.0/enp0s3'

############### OCR constants
# GPNPCONFIGDIR is handled differently in dev (T_HAS_WORK for all)
# GPNPGCONFIGDIR in dev expands to T_HAS_WORK_GLOBAL
GPNPCONFIGDIR=$ORACLE_HOME
GPNPGCONFIGDIR=$ORACLE_HOME
OCRLOC=
OLRLOC=
OCRID=
CLUSTER_GUID=

CLSCFG_MISSCOUNT=

## Parameters set by the crsdeconfig plugin during deinstall
DC_HOME=

######### Application Cluster
APPLICATION_VIP=

# Data and backup disk groups parameters
CDATA_DISK_GROUP=
CDATA_FAILURE_GROUPS=
CDATA_QUORUM_GROUPS=
CDATA_DISKS=
CDATA_REDUNDANCY=
CDATA_AUSIZE=1
CDATA_SITES=
CDATA_SIZE=0

CDATA_BACKUP_DISK_GROUP=
CDATA_BACKUP_FAILURE_GROUPS=
CDATA_BACKUP_QUORUM_GROUPS=
CDATA_BACKUP_DISKS=
CDATA_BACKUP_REDUNDANCY= 
CDATA_BACKUP_AUSIZE=1
CDATA_BACKUP_SITES=
CDATA_BACKUP_SIZE=0

######### Extended Cluster
EXTENDED_CLUSTER=false
EXTENDED_CLUSTER_SITES=ocfs-cluster
EXTENDED_CLUSTER_SITE_GUIDS=

# OPC variables
OPC_CLUSTER_TYPE=
OPC_NAT_ADDRESS=
SCAN_IPS=%oracle_install_crs_OPC_SCAN_IPs%

######### Cluster Properties
CLUSTER_CLASS=STANDALONE

######### ODA variables
ODA_CONFIG=

Posted by pat98

- CFS 환경에서 ocr/voting 디스크 추가/삭제 테스트 (19c 버전)

[root@ocfs1:/root]# crsctl query crs releaseversion
Oracle High Availability Services release version on the local node is [19.0.0.0.0]
[root@ocfs1:/root]# crsctl query crs softwareversion
Oracle Clusterware version on node [ocfs1] is [19.0.0.0.0]
[root@ocfs1:/root]# crsctl query crs releasepatch
Oracle Clusterware release patch level is [724960844] and the complete list of patches [29401763 29517242 29517247 29585399 ] have been applied on the local node. The release patch string is [19.3.0.0.0].

 

1) 먼저 voting 테스트
[root@ocfs1:/root]# crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   ccf411c9c5e24facbf4f82aa5f45bc5b (/vote01/vote01) []
 2. ONLINE   9d90852f7ced4f5bbf87312e7c8af744 (/vote02/vote02) []
 3. ONLINE   60ff24c4dca64f99bfc397502d4077ce (/vote03/vote03) []
Located 3 voting disk(s).

 

1. Replace 시도...에러남

[root@ocfs1:/vote01]# crsctl replace votedisk /vote04/vote04
CRS-4263: This operation is not allowed
CRS-4000: Command Replace failed, or completed with errors.

2. 추가
crsctl add css votedisk /vote04/vote04
Now formatting voting disk: /vote03/vote03.
CRS-4603: Successful addition of voting disk /vote03/vote03.

[root@ocfs1:/root]# crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   ccf411c9c5e24facbf4f82aa5f45bc5b (/vote01/vote01) []
 2. ONLINE   9d90852f7ced4f5bbf87312e7c8af744 (/vote02/vote02) []
 3. ONLINE   60ff24c4dca64f99bfc397502d4077ce (/vote03/vote03) []
 4. ONLINE   d54845ca4c3e4f78bf6a0569303b1b41 (/vote04/vote04) []
Located 4 voting disk(s).

-> 추가는 그냥 됨. 미리 touch 로 화일 안 만들어도 자동 생성됨.

3. 삭제

crsctl delete css votedisk /vote04/vote04
CRS-4611: Successful deletion of voting disk /vote04/vote04.

[root@ocfs1:/root]# crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   ccf411c9c5e24facbf4f82aa5f45bc5b (/vote01/vote01) []
 2. ONLINE   9d90852f7ced4f5bbf87312e7c8af744 (/vote02/vote02) []
 3. ONLINE   60ff24c4dca64f99bfc397502d4077ce (/vote03/vote03) []
Located 3 voting disk(s).

-rw-r-----   1 oracle dba  20972032 Dec 20 13:11 vote04

-> 삭제하면 물리적 화일은 정보만 업데이트 되고 그냥 남아 있음.

 

2) 다음은 ocr disk 테스트

 

1. 그냥 add 하면 아래와 같이 에러발생함.

[root@ocfs1:/root]# ocrconfig -add /vote04/ocr04
PROT-30: The Oracle Cluster Registry location to be added is not usable.
PROC-50: The Oracle Cluster Registry location to be added is inaccessible on nodes ocfs1.

 

2. touch /vote04/ocr04

    chown root:dba /vote04/ocr04

 

[root@ocfs1:/root]# ocrconfig -add /vote04/ocr04
[root@ocfs1:/root]# ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          4
         Total space (kbytes)     :     491684
         Used space (kbytes)      :      84036
         Available space (kbytes) :     407648
         ID                       :  359905203
         Device/File Name         : /vote01/ocr01
                                    Device/File integrity check succeeded
         Device/File Name         : /vote02/ocr02
                                    Device/File integrity check succeeded
         Device/File Name         : /vote03/ocr03
                                    Device/File integrity check succeeded
         Device/File Name         : /vote04/ocr04
                                    Device/File integrity check succeeded
                                    Device/File not configured
         Cluster registry integrity check succeeded
         Logical corruption check succeeded

 

3. delete 및 replace  테스트

- 삭제 진행

[root@ocfs1:/vote04]# ocrconfig -delete /vote04/ocr04

[root@ocfs1:/vote04]# ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          4
         Total space (kbytes)     :     491684
         Used space (kbytes)      :      84036
         Available space (kbytes) :     407648
         ID                       :  359905203
         Device/File Name         : /vote01/ocr01
                                    Device/File integrity check succeeded
         Device/File Name         : /vote02/ocr02
                                    Device/File integrity check succeeded
         Device/File Name         : /vote03/ocr03
                                    Device/File integrity check succeeded
                                    Device/File not configured
                                    Device/File not configured
         Cluster registry integrity check succeeded
         Logical corruption check succeeded

 

- replace 진행

[root@ocfs1:/root]# ocrconfig -replace /vote03/ocr03 -replacement /vote04/ocr04
[root@ocfs1:/root]# ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          4
         Total space (kbytes)     :     491684
         Used space (kbytes)      :      84036
         Available space (kbytes) :     407648
         ID                       :  359905203
         Device/File Name         : /vote01/ocr01
                                    Device/File integrity check succeeded
         Device/File Name         : /vote02/ocr02
                                    Device/File integrity check succeeded
         Device/File Name         : /vote04/ocr04
                                    Device/File integrity check succeeded
                                    Device/File not configured
                                    Device/File not configured
         Cluster registry integrity check succeeded
         Logical corruption check succeeded

 

물리적인 화일은 남아있어서 수동으로 삭제 필요

[root@ocfs1:/vote04]# ls -al
total 22480
drwxrwxrwx   3 root   root      3896 Dec 20 23:31 .
drwxr-xr-x. 27 oracle dba       4096 Sep 10  2021 ..
drwxr-xr-x   2 root   root      3896 Sep 10  2021 lost+found
-rw-r--r--   1 root   dba  503484416 Dec 20 23:31 ocr04
-rw-r-----   1 oracle dba   20972032 Dec 20 13:15 vote04

 

결론 :

CFS 환경에서 ocr/voting add 작업시에는

1) voting 은 주어진 이름으로 바로 생성되고

2) ocr file 은 touch 로 미리 화일 생성이 되어 있어야 정상 작업이 가능하다

3) replace 도 정상적으로 잘됨.

 

 

 

Posted by pat98

https://docs.oracle.com/en/engineered-systems/health-diagnostics/autonomous-health-framework/ahfug/deprecated-legacy-orachk-and-exachk-scheduler-commands.html#GUID-8E1E97C5-DF5B-466C-94B7-DA44DB3E06AE

AHF 22.2 부터는 Exachk 명령이 살짝 바뀜.

- 기존의 해당 명령어는 deprecated 됨. (-d 옵션 먹지 않음)
exachk -d start
exachk -d stop
exachk -d status

- 신규 옵션은 아래와 같음.
exachk -autostart
exachk -autostop 
exachk -autostatus

Posted by pat98

최신 패치시 또는 applyRU 적용시 fuser 명령어 없어서 opatch 패치시 에러날때..

 

주로 RHEL7 OS 설치시 최소 minimum 옵션으로 설치시 fuser 명령어가 누락되는 듯 하다.

에러날때 opatch 로그를 보고 확인가능..

 

Prerequisite Status: FAILED, Prerequisite output: 
The details are:

 

Missing command :fuser] 

(첨부화일은 psmisc 설치하여 해결하고 싶다면 각각 RHEL7/RHEL8 용 rpm을 첨부함)

1. yum install psmisc 
또는 

2. export OPATCH_NO_FUSER=true
또는 

3. export PATH=$PATH:/tmp
cat > /tmp/fuser
또는

4. cd $GRID_HOME/bin
touch fuser
chmod 755 fuser

 

psmisc-22.20-17.el7.x86_64.rpm
0.14MB
psmisc-23.1-5.el8.x86_64.rpm
0.15MB

Posted by pat98
이전버튼 1 2 3 4 5 6 7 8 ··· 48 이전버튼

05-17 00:17
Flag Counter
Yesterday
Today
Total

글 보관함

최근에 올라온 글

달력

 « |  » 2024.5
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

최근에 달린 댓글