Avamar:遺失probe.xml會導致錯誤: 找不到資料庫類型或節點資源資料庫
Summary: 本文說明如果在原始位置找不到 probe.xml 檔案,該如何重新建立檔案。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Avamar Utility Node 上的基本命令,例如 dpnctl 狀態,會失敗:
範例:
dpnctl status
ERROR: no database type or no node resource database could be found with search list /usr/local/avamar/var/probe.xml, stopped at /usr/local/avamar/bin/../lib/dpnutils/node_util.pm line 756.
probe.xml檔案不存在:
ls -al /usr/local/avamar/var/probe.xml
ls: cannot access '/usr/local/avamar/var/probe.xml': No such file or directory
注意:可能存在變體:
ls -al /usr/local/avamar/var/*probe.xml*
-rw-r--r-- 1 admin admin 1050 Jan 13 13:18 probe.xml.before.resite
-rw-r--r-- 1 admin admin 1050 Jan 13 09:47 x-probe.xml
-rw-r--r-- 1 admin admin 1059 Oct 13 13:21 probe.xml-bk-20241013
-rw-r--r-- 1 admin admin 1050 Mar 23 09:47 x-probe.xml
Cause
檔案可能已重新命名。
檔案可能已錯誤移除。
取消執行 dpnnetutil 命令也可能導致probe.xml遺失。
Resolution
1.以系統管理員身分登入 Avamar 工具節點,並根據每個 Avamar 載入金鑰:如何登入 Avamar Server 並載入各種金鑰。
2.執行下列命令,以產生新的probe.xml檔案:
avmaint networkconfig --ava > /usr/local/avamar/var/new_probe.xml_`date -I`
注意: 如果沒有發生錯誤,就不會有輸出。
3.確認檔案存在:
ls -al /usr/local/avamar/var/new_probe.xml_`date -I`
ls -al /usr/local/avamar/var/new_probe.xml_`date -I` -rw------- 1 admin admin 526 Jan 23 20:21 /usr/local/avamar/var/new_probe.xml_2025-01-23
4.將檔案複製為原始probe.xml檔案:
cp -v /usr/local/avamar/var/new_probe.xml_`date -I` /usr/local/avamar/var/probe.xml
'/usr/local/avamar/var/new_probe.xml_2025-01-23' -> '/usr/local/avamar/var/probe.xml'
5.確認檔案具有正確的權限和擁有權:
ls -al /usr/local/avamar/var/probe.xml
-rw-r--r-- 1 admin admin 1050 Jan 13 13:18 probe.xml
如果檔案擁有權不正確,請執行下列命令:
chown admin:admin /usr/local/avamar/var/probe.xml
如果檔案權限不正確,請執行下列命令:
chmod 644 /usr/local/avamar/var/probe.xmlAffected Products
Avamar, Avamar ServerProducts
AvamarArticle Properties
Article Number: 000039595
Article Type: Solution
Last Modified: 28 Jan 2025
Version: 9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.