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.提升至 root,然後載入 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 Server

Products

Avamar
Article 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.