OS환경 : Oracle Linux 7.4 (64bit)
DB 환경 : Oracle Database 19.6.0.4
에러 : AHF-00014: AHF Data Location /app/oracle/oracle.ahf/data is not owned by root in directory hierarchy
ahf 설치 시 ahf log 저장 경로를 지정할 때 발생하는 메세지
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
|
# cd /home/oracle/media/ahf/
# ./ahf_setup
AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_211100_12784_2021_12_25-23_10_11.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 21.1.1 Build Date: 202104230128
Default AHF Location : /opt/oracle.ahf
Do you want to install AHF at [/opt/oracle.ahf] ? [Y]|N : y <-- y입력
AHF Location : /opt/oracle.ahf
AHF Data Directory stores diagnostic collections and metadata.
AHF Data Directory requires at least 5GB (Recommended 10GB) of free space.
Please Enter AHF Data Directory : /app/oracle <-- $ORACLE_BASE 경로를 입력함(oracle 유저 소유경로)
AHF Data Directory : /app/oracle/oracle.ahf/data
[ERROR] : AHF-00014: AHF Data Location /app/oracle/oracle.ahf/data is not owned by root in directory hierarchy
|
AHF-00014이 발생함
해결 방법 : root 소유의 경로를 ahf 로그 경로로 지정
root 유저로 ahf 로그용 경로 생성
1
|
# mkdir -p /ora_ahf
|
ahf 재설치
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# ./ahf_setup
AHF Installer for Platform Linux Architecture x86_64
AHF Installation Log : /tmp/ahf_install_211100_13363_2021_12_25-23_11_05.log
Starting Autonomous Health Framework (AHF) Installation
AHF Version: 21.1.1 Build Date: 202104230128
Default AHF Location : /opt/oracle.ahf
Do you want to install AHF at [/opt/oracle.ahf] ? [Y]|N : y <-- y입력
AHF Location : /opt/oracle.ahf
AHF Data Directory stores diagnostic collections and metadata.
AHF Data Directory requires at least 5GB (Recommended 10GB) of free space.
Please Enter AHF Data Directory : /ora_ahf <-- root 소유의 경로 입력
AHF Data Directory : /ora_ahf/oracle.ahf/data
Do you want to add AHF Notification Email IDs ? [Y]|N : n
Extracting AHF to /opt/oracle.ahf
Configuring TFA Services
Discovering Nodes and Oracle Resources
Successfully generated certificates.
Starting TFA Services
Created symlink from /etc/systemd/system/multi-user.target.wants/oracle-tfa.service to /etc/systemd/system/oracle-tfa.service.
Created symlink from /etc/systemd/system/graphical.target.wants/oracle-tfa.service to /etc/systemd/system/oracle-tfa.service.
.--------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID |
+------+---------------+-------+-------+------------+----------------------+
| oel7 | RUNNING | 14580 | 17211 | 21.1.1.0.0 | 21110020210423012809 |
'------+---------------+-------+-------+------------+----------------------'
Running TFA Inventory...
Adding default users to TFA Access list...
.-------------------------------------------------------.
| Summary of AHF Configuration |
+-----------------+-------------------------------------+
| Parameter | Value |
+-----------------+-------------------------------------+
| AHF Location | /opt/oracle.ahf |
| TFA Location | /opt/oracle.ahf/tfa |
| Orachk Location | /opt/oracle.ahf/orachk |
| Data Directory | /ora_ahf/oracle.ahf/data |
| Repository | /ora_ahf/oracle.ahf/data/repository |
| Diag Directory | /ora_ahf/oracle.ahf/data/oel7/diag |
'-----------------+-------------------------------------'
Starting orachk scheduler from AHF ...
AHF binaries are available in /opt/oracle.ahf/bin
AHF is successfully installed
Moving /tmp/ahf_install_211100_13363_2021_12_25-23_11_05.log to /ora_ahf/oracle.ahf/data/oel7/diag/ahf/
|
정상적으로 설치됨
원인 : root 소유가 아닌 oracle 소유의 경로를 ahf 로그 경로로 지정해 발생한 메세지
ahf 로그는 root 소유의 경로에 생성되야함
참조 :
https://positivemh.tistory.com/791
https://positivemh.tistory.com/747
'ORACLE > Trouble Shooting' 카테고리의 다른 글
Error 4 opening dom ASM/Self in 0x4d78040 (0) | 2022.01.01 |
---|---|
오라클 19c RAC GRID_HOME relink 시 발생하는 메세지 (0) | 2021.12.30 |
오라클 19c SYSAUX 테이블스페이스 SM/ADVISOR 용량증가 시 대처방안 (6) | 2021.12.17 |
ORA-28040: No matching authentication protocol (0) | 2021.12.09 |
WARNING: inbound connection timed out (ORA-3136) (0) | 2021.11.24 |