How to Fix R1Soft Backup Module Errors

May 23, 2025 / R1 Soft Backup

When using R1Soft CDP (Continuous Data Protection), you might encounter a module error that prevents backups from running. This issue often arises due to missing or mismatched kernel headers and development packages.

Common Error Output

When you run:

serverbackup-setup --get-module

You may see an error like:

Building header archive.
Failed to get a suitable module for this system: Failed to connect to a remote server.
get module failed.
Failing back to old get-module.

This indicates that the backup agent cannot build or retrieve a kernel module for your server’s current kernel.

Steps to Resolve the Module Error:

  1. Check Module Build Status using the following command:
    serverbackup-setup --get-module
    • If the module builds successfully, restart the CDP Agent, and you are done.
    • If the module fails to build, proceed with the steps below.
  2. Manually Install Kernel Headers and Development Tools:
    To manually build the kernel module, you must install the correct headers and development files for your running kernel.

    1. Identify Your Kernel Version
      uname -r
    2. Find and Download the Required RPMs
      Visit: http://rpm.pbone.net

      Search for:

      • kernel-headers
      • kernel-devel, matching your current kernel version.
    3. Download the RPMs
      Copy the download link for each required package and run:

      wget <copied-link>
    4. Install the Packages after downloading:
      rpm -ivh kernel-headers-*.rpm
      rpm -ivh kernel-devel-*.rpm

      Note: Replace *.rpm with the actual file name of the downloaded package.

  3. Restart the CDP Agent
    Once the headers and development tools are installed:

    service cdp-agent restart
  4. Check if the Module Was Built using the below command:
    lsmod | grep hcp

    If output is shown, the module was successfully built.

  5. Reboot the Server (if needed)
    If the module still isn’t loaded after restarting the agent, reboot the server:

    reboot

Final Notes

  • Always ensure your system’s kernel and development packages are compatible.
  • You can also configure your server to keep older kernel-devel versions if you’re frequently updating the kernel.

If you continue to face issues, contact our technical experts for advanced troubleshooting.

Want to create offsite backups with R1Soft? Learn How to create a backup using R1Soft’s CDP agent on an offsite server

Spread the love