Avamar: Failed garbage collection with error MSG_ERR_BADTIMESYNC

Summary: This article provides a resolution for the issue: Symptom Code 4202 - failed garbage collection with error MSG_ERR_BADTIMESYNC

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

The Avamar garbage collection (GC) process fails with: 

ERROR: <4202> failed garbage collection with error MSG_ERR_BADTIMESYNC

Cause

Time is not synchronized between one or more Avamar data nodes and the Avamar Utility Node.

This causes Avamar maintenance activities to fail.

Resolution

1. Log in to Avamar Utility Node.

2. Load the admin keys. See Avamar: How to Log in to an Avamar Server and Load Various Keys for more information about loading keys.

3. Check that the time is synchronized across all Avamar nodes: 

mapall --all --parallel 'date'
 

Sample output where all node times are synchronized:

Using /usr/local/avamar/var/probe.xml
(0.s) ssh  -x  -o GSSAPIAuthentication=no admin@192.168.255.1 'date'
(0.0) ssh  -x  -o GSSAPIAuthentication=no admin@192.168.255.2 'date'
(0.1) ssh  -x  -o GSSAPIAuthentication=no admin@192.168.255.3 'date'
(0.2) ssh  -x  -o GSSAPIAuthentication=no admin@192.168.255.4 'date'
Sun May 12 20:26:25 UTC 2024
Sun May 12 20:26:25 UTC 2024
Sun May 12 20:26:25 UTC 2024
Sun May 12 20:26:25 UTC 2024
 

4. If the time is not synchronized, follow the Avamar: How to Change NTP on an Avamar Server Using asktime to synchronize time across all nodes.

5. Once the time is synchronized, verify that the garbage collection completes successfully.

 

Affected Products

Avamar, Avamar Server
Article Properties
Article Number: 000039525
Article Type: Solution
Last Modified: 08 Jul 2025
Version:  11
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.