Skip to content

R1Soft agent troubleshooting on a cPanel host

When the R1Soft agent stops talking to the Backup Manager, common causes (kernel module mismatch, network, daemon crash) and the diagnostic flow that finds the real one.

The R1Soft Backup Manager UI shows the cPanel host as “Disconnected” and the last successful backup was 36 hours ago. The agent is supposed to maintain a persistent connection — when it doesn’t, the cause is usually one of three things: a kernel module that didn’t load after the last kernel update, a daemon crash, or a firewall rule change blocking the registration port.

What’s happening

The cdp-agent on the cPanel host opens an outbound connection to the Backup Manager on TCP 1167 by default. The Backup Manager initiates backup runs and queries agent status over this connection. A disconnected agent means the TCP connection has dropped and is not being re-established. The CDP kernel module also needs to be loaded for the agent to read the changed-block stream — without the module, the agent might be running but useless.

How to verify

On the cPanel host:

systemctl status cdp-agent
serverbackup-setup --status
lsmod | grep r1soft
ss -tn dst :1167
journalctl -u cdp-agent --since '2 hours ago'
ls /lib/modules/$(uname -r)/extra/r1soft 2>/dev/null

The kernel module check is critical after any kernel update. The ss check confirms whether the outbound TCP connection is established.

The fix

  1. If the kernel module is missing, rebuild it: r1soft-setup --kernel-module-install. If the kernel headers package is missing, install it first (yum install kernel-devel-$(uname -r)). Reboot is rarely needed; module load is dynamic.
  2. If the cdp-agent service is stopped or in a crashloop, check the log: journalctl -u cdp-agent --since '1 day ago'. Common crash causes: ran out of memory under heavy IO, agent version mismatch with the Backup Manager.
  3. If the network connection is missing, confirm the Backup Manager is reachable: nc -zv <manager-host> 1167. Firewall rules sometimes change without anyone documenting; check both ends.
  4. If everything looks healthy locally but the Backup Manager still shows disconnected, restart the agent: systemctl restart cdp-agent and wait two minutes. The agent re-registers with the Backup Manager on startup.
  5. Document the resolution in the runbook. The same failure pattern recurring three times means the underlying cause hasn’t been addressed.

Stack Harbor monitors R1Soft agent health alongside backup success under environment management.