Avamar: Replication Fails to Start Due to Avagent Being Down
Summary: Replication fails with Timed-Out-Start.
Symptoms
Replication does not run or goes into a "Waiting-Client" status.
Replication fails to start, stays in waiting-client status due to the avagent being down.
1. Log in to Avamar Utility Node as admin.
2. Elevate to root.
3. Check the avagent status with the following systemctl or service command:
root@avamar:~/#: systemctl status avagent
● avagent.service - Avamar Unix backup/restore agent (avagent)
Loaded: loaded (/usr/lib/systemd/system/avagent.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2024-04-25 11:21:42 CDT; 3 weeks 3 days ago
Main PID: 1998 (avagent.bin)
Tasks: 9
CGroup: /system.slice/avagent.service
└─1998 /usr/local/avamar/bin/avagent.bin --bindir="/usr/local/avamar/bin" --vardir="/usr/local/avamar/var/client" --sysdir="/usr/local/avamar/etc/client" --logfile="/usr/local/...
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
root@avamar:~/#: service avagent status
* avagent.service - Avamar Unix backup/restore agent (avagent)
Loaded: loaded (/usr/lib/systemd/system/avagent.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2024-04-25 11:21:42 CDT; 3 weeks 3 days ago
Main PID: 1998 (avagent.bin)
Tasks: 9
CGroup: /system.slice/avagent.service
`-1998 /usr/local/avamar/bin/avagent.bin --bindir="/usr/local/avamar/bin" --vardir="/usr/local/avamar/var/client" --sysdir="/usr/local/avamar/etc/client" --logfile="/usr/local/avamar/var/client/avagent.log"
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
If the avagent is running but still showing the waiting-client status, then there is a failed avagent.
The /usr/local/avamar/var/client/avagent.log must be checked to confirm:
root@avamar:~/usr/local/avamar/var/client#: tail avagent.log
2015/01/21-20:29:48.89689 [agent_main] | 0000002a95678790
2015/01/21-20:29:48.89689 [agent_main] | 0000002a9649329d
2015/01/21-20:29:48.89690 [agent_main] | 0000002a96494a9e
2015/01/21-20:29:48.89691 [agent_main] | 0000002a95676f61
2015/01/21-20:29:48.89692 [agent_main] | 0000000000578201
2015/01/21-20:29:48.89692 [agent_main] | 0000002a95672317
2015/01/21-20:29:48.89693 [agent_main] | 0000002a9652f263
2015/01/21-20:29:48.89694 [agent_main] ERROR: <0316> handlefatal exiting thread pid=17536, sig=6
2015-01-21 15:29:48 avagent Error <5891>: handlefatal: exiting thread pid=17536, sig=6
2015-01-21 15:29:48 avagent Info <5321>: Unable to connect to Management Console (avamar), sleep 38 minutes, 54 seconds before retryCause
The avagent is down, or it was unresponsive and is down.
Resolution
If the log shows that the avagent as been unresponsive or has not been contacted in some time, then restart the avagent using one of the methods described below:
root@avamar:~/#: service avagent restart avagent Info: Stopping Avamar Client Agent (avagent)... avagent Info: Client Agent stopped. avagent Info <5008>: Logging to /usr/local/avamar/var/client/avagent.log avagent Info <5417>: daemonized as process id 41734 avagent Info: Client Agent started.
root@avamar:~/#: systemctl restart avagent
Wait for 180 seconds (3 minutes) for the next job is picked up.
If avagent starts successfully, the waiting-client replication job changes to a "running" status.