Avamar:sudoers 文件的权限不正确会导致运行状况检查脚本输出中显示“未知节点”警报
Summary: sudoers 文件的权限不正确会导致运行状况检查脚本输出中显示“未知节点”警报。
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
- 运行状况检查脚本 (
proactive_check.pl) 无法确定节点的硬件类型:
cat hc_results.txt
... WARNING: Node (0.2) Unknown node type based on disk size (5 TB), memory (32 GB) and disk partitions (3) RESOLUTION: Thoroughly check hardware status, size of partitions, number of partitions and amount of memory # --> Node Type *FAILED* # --> Node Type 1x4 gen4s-Util/Accel, gen4s-M1200, Unknown 5 TB<snip>
- 硬件命令在受影响的节点上失败:
avsysreport chassis-info
sudo: /etc/sudoers is mode 0551, should be 0440
sudo: no valid sudoers sources found, quitting
Cause
对 /etc/sudoers 文件不正确。
Resolution
1.以管理员身份登录到 Avamar 应用工具节点。
2.提升到根目录,然后加载 ssh keys。请参阅 Avamar:如何登录 Avamar Server 并加载各种密钥(英文版), 以了解更多信息。
3.检查 /etc/sudoers 所有节点的文件:
mapall --noerror --all+ --user=root 'ls -ahltr /etc/sudoers'
单节点网格的预期输出:
Using /usr/local/avamar/var/probe.xml
(0.0) ssh -q -x -o GSSAPIAuthentication=no root@10.10.10.246 'ls -ahltr /etc/sudoers'
-r--r----- 1 root root 9.9K Aug 25 22:53 /etc/sudoers
多节点网格的预期输出:
Using /usr/local/avamar/var/probe.xml
(0.s) ssh -q -x -o GSSAPIAuthentication=no root@192.168.255.1 'ls -ahltr /etc/sudoers'
-r--r----- 1 root root 8.3K Aug 17 2023 /etc/sudoers
(0.0) ssh -q -x -o GSSAPIAuthentication=no root@192.168.255.2 'ls -ahltr /etc/sudoers'
-r--r----- 1 root root 9.8K Jun 1 2022 /etc/sudoers
(0.1) ssh -q -x -o GSSAPIAuthentication=no root@192.168.255.3 'ls -ahltr /etc/sudoers'
-r--r----- 1 root root 9.8K Jun 1 2022 /etc/sudoers
(0.2) ssh -q -x -o GSSAPIAuthentication=no root@192.168.255.4 'ls -ahltr /etc/sudoers'
-r--r----- 1 root root 9.8K Jun 1 2022 /etc/sudoers
4.对于报告不正确的权限或所有权的任何节点:
一个。连接到有问题的节点。
b.根据需要修改权限或所有权:
chmod 440 /etc/sudoers
chown root:root /etc/sudoers
c. 验证硬件命令是否正确响应:
avsysreport chassis-info
=== Chassis information
Host Name : testavamar.company.com
Chassis Model : Gen4S M1200
Serial Number : FC6AV123456789
Part Number : 100-580-643
BIOS Version : SE5C600.86B.02.04.0003.102320141138
运行状况检查脚本现在应该可以运行,而不会报告警报。
Additional Information
Affected Products
Avamar, Avamar ServerProducts
AvamarArticle Properties
Article Number: 000026683
Article Type: Solution
Last Modified: 18 Aug 2025
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.