Avamar : hfscheck échoue avec l’erreur MSG_ERR_CMD_FAIL

Summary: La validation du point de contrôle échoue avec l’erreur suivante : « Last hfscheck failed with result MSG_ERR_CMD_FAIL »

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

L’activité de maintenance Avamar affiche un échec hfscheck, ce qui empêche la validation du point de contrôle. 
 

# status.dpn

Last checkpoint: cp.20260121214733 finished Wed Jan 21 16:47:51 2026 after 00m 18s (OK)
Last GC: finished Wed Jan 21 08:00:49 2026 after 00m 05s >> recovered 21.08 KB (OK)
Last hfscheck failed with result MSG_ERR_CMD_FAIL : started Wed Jan 21 16:47:59 2026 ended Wed Jan 21 16:48:07 2026, nodes queried/replied/total(1/1/1)


Présentation de l’erreur d’affichage des journaux GSAN. 
 

/data01/cur/gsan.log
2026/01/21-21:48:07.92035 {0.0} [cprecovery:133]  checkpoint::dnscontext::resetdns using alternate stripedns srcdir=recover_do_not_touch/cp.20260121214733.1769032053.20260121T214807x920059 dns=cur
2026/01/21-21:48:07.92038 {0.0} [manage:1279]  negotiator::request exception server_exception(MSG_ERR_CMD_FAIL)
2026/01/21-21:48:07.92038 {0.0} [manage:1279]  dpncheckmanager::dpncheckcontext::revert
2026/01/21-21:48:07.92041 {0.0} [cprecovery:133]  stripetab::stripetab sizeof(stripelistitem) = 160
2026/01/21-21:48:07.92042 {0.0} [cprecovery:133]  stripetab::stripetab sizeof(stripeitemtype) = 168
2026/01/21-21:48:07.92042 {0.0} [cprecovery:133]  nodetab::nodetab sizeof(nodelistitem) = 496
2026/01/21-21:48:07.92043 {0.0} [cprecovery:133]  nodetab::nodetab sizeof(nodeitemtype) = 512
2026/01/21-21:48:07.92043 {0.0} [manage:1279]  samthread::call server_exception server_exception(MSG_ERR_CMD_FAIL) REQUESTDP

Cause

L’observation de «home/admin" est applicable dans ce cas. 

root@hop-ave-81-v1912:/home/#: ls -la
total 4
drwxr-xr-x  7 root   root     69 Mar  3  2025 .
drwxr-xr-x  4 root   root     32 Mar  3  2025 ..
drwxr-x--- 17 root   admin  4096 Jan 21 09:01 admin
drwxr-xr-x  8 avi    avi     204 Dec 17  2024 avi
drwxr-x---  3 dpn    admin   119 Apr 11  2025 dpn
drwxr-xr-x  8 tomcat tomcat  198 Sep 26 13:52 tomcat
drwxr-xr-x  6 vauser vauser  141 Dec 17  2024 vauser

 

  • Contrôles stricts de
    propriété Les bilans de santé et la logique des points de contrôle d’Avamar valident l’environnement d’exécution, notamment :

    • Propriété de /home/admin et tout le contenu doit être admin:admin.
    • Les ressources SSH (par exemple, /home/admin/.ssh/authorized_keys, keys) doivent être détenues par admin et avoir des perms strictes (pas d’écriture pour le groupe/autres).
    • Certains scripts et états d’exécution écrits sous /home/admin doit être accessible par le admin utilisateur et n’appartient pas à root.

    Changer root:admin, dpncheck/cprecovery détectent les propriétaires inattendus et se sauvent par mesure de sécurité.

  • Dépendance du négociateur/de la direction vis-à-vis du domicile
    de l’administrateur Le négociateur et les processus de gestion d’Avamar s’appuient sur admin Contexte du compte pour l’authentification et l’orchestration. Si les fichiers sous /home/admin ne sont pas détenues par admin, vous pouvez voir :

    • Échecs d’authentification SSH ou exécution ignorée en raison de perms non sécurisées.
    • Les scripts refusent de s’exécuter lorsqu’ils détectent le mauvais propriétaire (défense en profondeur).
    • Les échecs de commande qui en résultent apparaissent comme suit : MSG_ERR_CMD_FAIL.

Resolution

  1. Connectez-vous en tant qu’utilisateur root pour modifier /home/admin autorisations. 
# su -
# chmod root:admin /home/admin

root@hop-ave-81-v1912:/home/#: ls -la
total 4
drwxr-xr-x  7 root   root     69 Mar  3  2025 .
drwxr-xr-x  4 root   root     32 Mar  3  2025 ..
drwxr-x--- 17 admin  admin  4096 Jan 21 09:01 admin
drwxr-xr-x  8 avi    avi     204 Dec 17  2024 avi
drwxr-x---  3 dpn    admin   119 Apr 11  2025 dpn
drwxr-xr-x  8 tomcat tomcat  198 Sep 26 13:52 tomcat
drwxr-xr-x  6 vauser vauser  141 Dec 17  2024 vauser
Article Properties
Article Number: 000245683
Article Type: Solution
Last Modified: 04 شعبان 1447
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.