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 status)失败:
示例:
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.