Avamar: Un'autorizzazione errata per il file sudoers causa la visualizzazione di un avviso "Unknown Node" nell'output dello script del controllo integrità

Summary: Un'autorizzazione errata per il file sudoers causa la visualizzazione di un avviso "Unknown Node" nell'output dello script del controllo integrità.

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

  • Lo script del controllo integrità (proactive_check.pl) non riesce a determinare il tipo di hardware di un nodo: 
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>
 
  • I comandi hardware hanno esito negativo sul nodo interessato: 
avsysreport chassis-info
sudo: /etc/sudoers is mode 0551, should be 0440
sudo: no valid sudoers sources found, quitting 

Cause

Le autorizzazioni nell' /etc/sudoers file non sono corretti.

Resolution

1. Accedere all'utility node Avamar come admin. 

2. Elevare a root e caricare il ssh keys. Scopri Avamar: Per ulteriori informazioni, sezione Come accedere a un Avamar Server e caricare varie chiavi.

3. Controllare le autorizzazioni di /etc/sudoers File per tutti i nodi: 

mapall --noerror --all+ --user=root 'ls -ahltr /etc/sudoers'
 

Output previsto da una griglia a nodo singolo: 

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
 

Output previsto da una griglia a più nodi:

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. Per qualsiasi nodo che segnala autorizzazioni o proprietà errate:

un. Connettersi al nodo in questione.

b. Modificare le autorizzazioni o la proprietà in base alle esigenze:

chmod 440 /etc/sudoers
chown root:root /etc/sudoers
 

c. Verificare che i comandi hardware rispondano in modo appropriato:

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
 

Lo script del controllo integrità dovrebbe ora essere eseguito senza segnalare l'avviso.

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.