首页 > 其他分享 >DIA-48448: This command does not support multiple ADR homes

DIA-48448: This command does not support multiple ADR homes

时间:2023-04-24 18:45:00浏览次数:43  
标签:homes ADR rdbms 48448 support test multiple

在使用adrci命令清空日志时遇到错误:“DIA-48448: This command does not support multiple ADR homes”如何解决呢?如下所示

$ adrci
ADRCI: Release 19.0.0.0.0 - Production on Mon Apr 24 17:13:32 2023
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
ADR base = "/opt/oracle19c"
adrci> purge -age 10080 -type incident
DIA-48448: This command does not support multiple ADR homes

其实遇到这个错误是因为ADR的home目录有多个,我们需要指定某一个具体的home目录,才能清理日志,如下所示

adrci> show homes;
ADR Homes:
diag/rdbms/test/ctest
diag/rdbms/test/gsp
diag/rdbms/test/kerry
diag/rdbms/test/mydb
diag/rdbms/kerry/kerry
adrci>
adrci> set home diag/rdbms/test/kerry
adrci> purge -age 10080 -type incident
adrci>

标签:homes,ADR,rdbms,48448,support,test,multiple
From: https://www.cnblogs.com/kerrycode/p/DIA-48448.html

相关文章