#1 Global Leader in Data Protection & Ransomware Recovery

Installing DKMS in SLES

KB ID: 4053
Product: Veeam Agent for Linux | 4.0 | 5.0 | 6.0 | 6.1
Published: 2020-11-19
Last Modified: 2021-04-20
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

On SUSE Linux Enterprise Server (SLES), a non-precompiled veeamsnap module requires the dkms package, but the dkms package cannot be found.

 

Cause

The dkms package is not available within the Packman repository for SLES.

 

Solution

Install the OpenSUSE dkms package on the SLES system.

 

Example for SLES12 SP3

The example below is based in part on a thread from Veeam's R&D Forums: https://forums.veeam.com/veeam-agents-for-linux-mac-aix-solaris-f41/sles-and-dkms-dependancy-how-to-t69902.html

  1. In /etc/modprobe.d/10-unsupported-modules.conf, set allow_unsupported_modules to 1.
  2. Save and exit the file.
  3. Determine a repository for the openSUSE version which kernel matches your SLES version most closely (go to https://ftp.gwdg.de/pub/linux/misc/packman/suse/ to identify the correct repository folder).
  4. Add the appropriate repository as a zypper repository.

    For SLES12 SP3 (with 4.4.73 kernel), the closest openSUSE release would be openSUSE Leap 42.3 (with 4.4.76 kernel).
zypper ar -cfp 90 https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.3/ packman
  1. Refresh the package manager. Select a to accept the key forever. Otherwise, the next command will not work.
zypper refresh
  1. Install the dkms package.
zypper -n install --force dkms
  1. Install the veeamsnap module.
  2. If required, detach the Packman repository after the veeamsnap module installation.
zypper rr packman

More information

Make sure there is also an appropriate kernel-devel package installed. For details, see the Installing Veeam Agent for Linux section of the Veeam Agent for Linux User Guide.

 

To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.