OS 환경 : Oracle Linux 8.7 (64bit)
DB 환경 : Oracle Database 19.28.0.0
에러 : ORA-48128: opening of a symbolic link is disallowed
datapump로 parallel로 import시 발생하는 에러
impdp시 에러가 발생함
|
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
|
$ impdp system/oracle directory=testdir dumpfile=20260308_expdp_link_schema_%U.dmp logfile=20260308_expdp_link_schema.log parallel=4
(수행중)
..
ORA-31693: Table data object "APUSER"."DUMMY3" failed to load/unload and is being skipped due to error:
ORA-39155: error expanding dump file name "/oraimsi/20260308_expdp_link_schema_01.dmp"
ORA-48128: opening of a symbolic link is disallowed
ORA-19505: failed to identify file "/oraimsi/20260308_expdp_link_schema_01.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 7
. . imported "APUSER"."DUMMY4" 92.93 MB 810714 rows
. . imported "APUSER"."DUMMY5" 94.94 MB 325507 rows
. . imported "APUSER"."DUMMY6" 86.29 MB 1077658 rows
. . imported "APUSER"."DUMMY7" 93.68 MB 1164054 rows
. . imported "APUSER"."DUMMY8" 92.04 MB 1144852 rows
. . imported "APUSER"."DUMMY9" 86.02 MB 314745 rows
. . imported "APUSER"."DUMMY10" 87.58 MB 2427319 rows
. . imported "APUSER"."DUMMY11" 85.14 MB 479829 rows
ORA-31693: Table data object "APUSER"."DUMMY12" failed to load/unload and is being skipped due to error:
ORA-39155: error expanding dump file name "/oraimsi/20260308_expdp_link_schema_03.dmp"
ORA-48128: opening of a symbolic link is disallowed
ORA-19505: failed to identify file "/oraimsi/20260308_expdp_link_schema_03.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 7
. . imported "APUSER"."DUMMY13" 76.72 MB 1142388 rows
. . imported "APUSER"."DUMMY14" 12.15 MB 59268 rows
. . imported "APUSER"."DUMMY15" 76.47 MB 295532 rows
. . imported "APUSER"."DUMMY16" 72.63 MB 350628 rows
ORA-31693: Table data object "APUSER"."DUMMY17" failed to load/unload and is being skipped due to error:
ORA-39155: error expanding dump file name "/oraimsi/20260308_expdp_link_schema_03.dmp"
ORA-48128: opening of a symbolic link is disallowed
ORA-19505: failed to identify file "/oraimsi/20260308_expdp_link_schema_03.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 7
. . imported "APUSER"."DUMMY18" 65.33 MB 879548 rows
. . imported "APUSER"."DUMMY19" 65.07 MB 366576 rows
. . imported "APUSER"."DUMMY20" 61.11 MB 1053579 rows
|
impdp가 수행되면서 에러가 발생함
dumpfile을 읽기는 하는데 일부만 읽는것 같고 일부는 못읽는것 처럼 보임
해결 방법 : 히든 파라미터 2개 활성화 또는 물리 경로에 dumpfile 저장
경로 확인
|
1
|
$ ls -ld /oraimsi
|
조회했을때 해당 경로가 /oraimsi -> /oratest/oraimsi 이렇게 나온다면 이 경로는 링크 형태로 만들어진 경로임
오라클 19c 버전부터 심볼릭 링크로 된 경로에 datapump를 사용하면 이렇게 에러가 발생함(12cR2에서는 정상동작, 18c는 다른 에러메세지 발생)
19c 버전에서는 아래 2개 파라미터를 활성화 하면 심볼릭 링크로 된 경로에도 datapump 사용이 가능함
히든 파라미터 2개 활성화
|
1
2
3
|
SQL>
alter system set "_disable_directory_link_check"=true comment='for datapump symbolic link err' scope=spfile;
alter system set "_kolfuseslf"=true comment='for datapump symbolic link err' scope=spfile;
|
위 방법 또는 물리 경로에 dumpfile을 저장하면됨
나의 경우 물리 경로였지만 에러가 발생하였음, 위 파라미터 적용 후 정상 동작하였음
원인 : 오라클 19c 버전부터 심볼릭 링크로 된 경로에 datapump를 사용하면 이렇게 에러가 발생함
오라클 19c 버전부터 심볼릭 링크로 된 경로에 datapump를 사용하면 이렇게 에러가 발생함(12cR2에서는 정상동작, 18c는 다른 에러메세지 발생)
히든파라미터 적용시 정상적으로 사용가능함
참조 :
https://mikedietrichde.com/2019/07/15/behavior-change-in-oracle-18c-19c-no-symbolic-links-for-data-pump-directories/
https://docs.oracle.com/en/database/oracle/oracle-database/18/upgrd/initialization-parameter-changes-oracle-database-18c.html#GUID-C03F4062-9AB6-4FFE-8CF8-28F8AF014783
'ORACLE > Trouble Shooting' 카테고리의 다른 글
| ORA-27037: unable to obtain file status (0) | 2026.03.24 |
|---|---|
| ORA-12547: TNS:lost contact (0) | 2026.03.17 |
| ORA-65040 Operation is not allowed from within a pluggable database. (0) | 2026.03.01 |
| Validating glogin.sql file content (0) | 2026.03.01 |
| autoupgrade.jar UPG-1400 UPGRADE FAILED [ORA19DBFS] (0) | 2026.03.01 |
