Skip to content

Instantly share code, notes, and snippets.

@xoner
Last active November 22, 2023 08:40
Show Gist options
  • Save xoner/6ad9ffda2a65af5cde4b606bf215e261 to your computer and use it in GitHub Desktop.
Save xoner/6ad9ffda2a65af5cde4b606bf215e261 to your computer and use it in GitHub Desktop.
Solve [error] Neither [blksnap] nor [veeamsnap] module was found on Oracle linux

When running veeam agent for linux free on a freshly intalled oracle linux with uek kernel machine I got the error:

[error] Neither [blksnap] nor [veeamsnap] module was found

I'v discovered that the blksnap module not was loaded, it had an error at compilation time, this error was due to the fact that installing veeam through dnf installed dependend kernel-devel package, but the package needed to compile this module on this kind of installations is kernel-uek-devel.

In order to get veeam running execute:

dnf install kernel-uek-devel -y

# Recompile blk snap module
# version number can be get with: sudo veeamagent -v
dkms build -m blksnap -v 6.0.3.1221

# Install blksnap module
dkms install -m blksnap -v 6.0.3.1221

Now veeam jobs should run without problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment