Solved

"Neither [blksnap] nor [veeamsnap] module was found" on fresh Debian install


Userlevel 1

Hello!

I’ve been using Veeam to back up a client’s servers, so decided to try out the Linux client on a little server of my own. 

The server is running:
Debian GNU/Linux 11 bullseye (x86-64)

The kernel version is:
Linux 5.10.0-23-amd64 x86_64

Configuration went fine. But when I try to run the backup job, I get the following output:

17:29:15         Job BackupName started at 2023-08-25 23:29:15 UTC
17:29:15         Preparing to backup
17:29:16         [error] Failed to create volume snapshot
17:29:16         [error] Failed to take volume snapshot
17:29:16         [error] Failed to perform backup
17:29:16         [error] Neither [blksnap] nor [veeamsnap] module was found
17:29:16         [error] Processing finished with errors at 2023-08-25 23:29:16 UTC

I’ve found on article in here that seems to address this somewhat, but didn’t actually help me. I’m not sure what I’m looking for in the logs, or what information would help diagnose what’s going on. I’m very sorry to be so vague. Any help, or even guidance on what would help others help me would be welcome.

Thank you!

icon

Best answer by Jahli_Grene 3 September 2023, 20:52

View original

17 comments

Userlevel 7
Badge +21

Here is an article on the community where they had the same issue and what the solution was -

https://community.veeam.com/blogs-and-podcasts-57/veeam-agent-for-linux-failed-to-create-volume-snapshot-failed-to-load-module-veeamsnap-505

 

Userlevel 7
Badge +22

Thanks for sharing my article 👍

 

@Jahli_Grene if you need to ask further questions let us know how you get on 🙂

Userlevel 7
Badge +21

Thanks for sharing my article 👍

 

@Jahli_Grene if you need to ask further questions let us know how you get on 🙂

Absolutely as it was the first thing that popped up in my search 🤣

Userlevel 1

Thanks for the great responses. I had actually been through those, but I wasn’t sure that they were relevant because (1) the error message wasn’t quite the same, (2) Veeam has never worked successfully on this system, and (3) the steps outlined don’t solve my problem. Mostly because of number three, I was hoping that I was missing something, and the problem I’m encountering was something else.

So, returning to the referenced articles (both Veeam’s and @MicoolPaul‘s) I have been completely unable to find any Linux headers that match my kernel. I even went through the whole process again today. The version of Debian that I have installed is 11.7 (so the most recent one on Debian 11.) And Debian isn’t a distro that has many releases. Again, my kernel version is:
Linux 5.10.0-23-amd64 x86_64

If I attempt to use:

sudo apt install linux-headers-$(uname -r)

The output is:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-5.10.0-23-amd64
E: Couldn't find any package by glob 'linux-headers-5.10.0-23-amd64'

I’ve even looked at places like mirrors.kernel.org looking for matching headers, but without success. Are there other places I should be looking? Should I try upgrading to Debian 12 perhaps? I would think that Debian would be easy to keep up with because there are comparatively few releases.

Any other ideas or suggestions? Am I missing something?

Thanks again!

Userlevel 7
Badge +22

Assuming you’ve done the usual sudo apt-get update && sudo apt-get upgrade

what happens when you install sudo apt-get install linux-headers-generic ?

Userlevel 1

Thanks for getting back to me. Update, upgrade, then attempting to install generic headers results in the following:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-headers-amd64' instead of 'linux-headers-generic'
linux-headers-amd64 is already the newest version (5.10.191-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

If I try this:

apt search linux-headers

Nothing comes back. If I try:

apt search linux-headers

The following list is returned (it’s pretty long, but perhaps someone will see something useful here...):

Sorting... Done
Full Text Search... Done
linux-headers-5.10.0-20-amd64/oldstable 5.10.158-2 amd64
Header files for Linux 5.10.0-20-amd64

linux-headers-5.10.0-20-cloud-amd64/oldstable 5.10.158-2 amd64
Header files for Linux 5.10.0-20-cloud-amd64

linux-headers-5.10.0-20-common/oldstable 5.10.158-2 all
Common header files for Linux 5.10.0-20

linux-headers-5.10.0-20-common-rt/oldstable 5.10.158-2 all
Common header files for Linux 5.10.0-20-rt

linux-headers-5.10.0-20-rt-amd64/oldstable 5.10.158-2 amd64
Header files for Linux 5.10.0-20-rt-amd64

linux-headers-5.10.0-22-amd64/oldstable 5.10.178-3 amd64
Header files for Linux 5.10.0-22-amd64

linux-headers-5.10.0-22-cloud-amd64/oldstable 5.10.178-3 amd64
Header files for Linux 5.10.0-22-cloud-amd64

linux-headers-5.10.0-22-common/oldstable 5.10.178-3 all
Common header files for Linux 5.10.0-22

linux-headers-5.10.0-22-common-rt/oldstable 5.10.178-3 all
Common header files for Linux 5.10.0-22-rt

linux-headers-5.10.0-22-rt-amd64/oldstable 5.10.178-3 amd64
Header files for Linux 5.10.0-22-rt-amd64

linux-headers-5.10.0-25-amd64/oldstable-security,now 5.10.191-1 amd64 [installed,automatic]
Header files for Linux 5.10.0-25-amd64

linux-headers-5.10.0-25-cloud-amd64/oldstable-security 5.10.191-1 amd64
Header files for Linux 5.10.0-25-cloud-amd64

linux-headers-5.10.0-25-common/oldstable-security,now 5.10.191-1 all [installed,automatic]
Common header files for Linux 5.10.0-25

linux-headers-5.10.0-25-common-rt/oldstable-security 5.10.191-1 all
Common header files for Linux 5.10.0-25-rt

linux-headers-5.10.0-25-rt-amd64/oldstable-security 5.10.191-1 amd64
Header files for Linux 5.10.0-25-rt-amd64

linux-headers-amd64/oldstable-security,now 5.10.191-1 amd64 [installed]
Header files for Linux amd64 configuration (meta-package)

linux-headers-cloud-amd64/oldstable-security 5.10.191-1 amd64
Header files for Linux cloud-amd64 configuration (meta-package)

linux-headers-rt-amd64/oldstable-security 5.10.191-1 amd64
Header files for Linux rt-amd64 configuration (meta-package)

linux-libc-dev-alpha-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-amd64-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-arm64-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-armel-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-armhf-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-hppa-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-i386-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-m68k-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mips-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mips64-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mips64el-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mips64r6-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mips64r6el-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mipsel-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mipsn32-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mipsn32el-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mipsn32r6-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mipsn32r6el-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mipsr6-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-mipsr6el-cross/oldstable 5.10.28-1cross1 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-powerpc-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-ppc64-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-ppc64el-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-riscv64-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-s390x-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-sh4-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-sparc64-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

linux-libc-dev-x32-cross/oldstable 5.10.13-1cross4 all
Linux Kernel Headers for development (for cross-compiling)

Nothing that seems to match the kernel in use. Any thoughts?

Again, thanks so much!

Userlevel 7
Badge +21

I wonder if you need to clean up the old kernels on the system?  I know I have had to do that before.

Userlevel 1

Sorry for the delay. I had removed old kernels already. I really think that the issue was that the specified headers don’t exist. Perhaps this has something to do with the way that Debian does releases?

At any rate, I solved the problem by upgrading to Debian 12. I also commented out in sources.list those sources that only provide updates prior to full release points. Again, due to the nature of Debian, I hope this will help in the future, though there are likely folks more knowledgeable than me here.

Again, thank you for all the great responses.

Userlevel 7
Badge +21

Sorry for the delay. I had removed old kernels already. I really think that the issue was that the specified headers don’t exist. Perhaps this has something to do with the way that Debian does releases?

At any rate, I solved the problem by upgrading to Debian 12. I also commented out in sources.list those sources that only provide updates prior to full release points. Again, due to the nature of Debian, I hope this will help in the future, though there are likely folks more knowledgeable than me here.

Again, thank you for all the great responses.

Great to hear you resolved it. 👍

Userlevel 1

hello Thank for your Help. unfortunatly i can’t solve my problem like you. i have an application on this server can’t go to Debian 12. 

 

So if you have any other idea i’m Open to know

 

Sorry for english

Hi all, I have the same problem only on fedora 38/39. I updated from 38 to 39 yesterday. I hoped this would fix my problem. 

 

When I installed veeam Agent I see blksnap in the list of to be installed packages. But when I try to start my job it failed with the same error (neither blksnap nor veeamsnap was found). 

 

Some any idea?

Thanks. 

Userlevel 7
Badge +21

Hi all, I have the same problem only on fedora 38/39. I updated from 38 to 39 yesterday. I hoped this would fix my problem. 

 

When I installed veeam Agent I see blksnap in the list of to be installed packages. But when I try to start my job it failed with the same error (neither blksnap nor veeamsnap was found). 

 

Some any idea?

Thanks. 

Did you go through the community article I linked in the first reply above?  Also check all other things mentioned in this post?

I checked for Linux headers. I seems to me that the newest are installed. 

 

I am not so good in Linux. I think I also checked everything. 

Userlevel 7
Badge +21

I checked for Linux headers. I seems to me that the newest are installed. 

 

I am not so good in Linux. I think I also checked everything. 

Check the other link to the article Michael Paul wrote (1st reply to this thread).  That should also help otherwise you might need to open a support ticket.  Also check the forums - https://forums.veeam.com

 

I checked for Linux headers. I seems to me that the newest are installed. 

 

I am not so good in Linux. I think I also checked everything. 

Check the other link to the article Michael Paul wrote (1st reply to this thread).  That should also help otherwise you might need to open a support ticket.  Also check the forums - https://forums.veeam.com

 

I tried to follow the post and want to install my kernel-headers but get an errot

 

dnf install kernel-headers-$(uname -r)
Letzte Prüfung auf abgelaufene Metadaten: vor 3:29:08 am Di 21 Nov 2023 07:04:32 CET.
Keine Übereinstimmung für Argumente: kernel-headers-6.5.11-300.fc39.x86_64

Can not find my kernel-headers. But I think I found an other solution for my setup.

Userlevel 7
Badge +21

I checked for Linux headers. I seems to me that the newest are installed. 

 

I am not so good in Linux. I think I also checked everything. 

Check the other link to the article Michael Paul wrote (1st reply to this thread).  That should also help otherwise you might need to open a support ticket.  Also check the forums - https://forums.veeam.com

 

I tried to follow the post and want to install my kernel-headers but get an errot

 

dnf install kernel-headers-$(uname -r)
Letzte Prüfung auf abgelaufene Metadaten: vor 3:29:08 am Di 21 Nov 2023 07:04:32 CET.
Keine Übereinstimmung für Argumente: kernel-headers-6.5.11-300.fc39.x86_64

Can not find my kernel-headers. But I think I found an other solution for my setup.

Glad you found a possible solution be sure to post back here if it works and the details for others that may encounter this issue.

Userlevel 3
Badge

Assuming you’ve done the usual sudo apt-get update && sudo apt-get upgrade

what happens when you install sudo apt-get install linux-headers-generic ?

Hi @Jahli_Grene ,

You also should run apt dist-upgrade command and then search and install linux-headers (regarding Debian 11).

Rovshan. 

Comment