Stuck with the error, SnapAPI kernel module is not loaded for the kernel? We can help you.
Mostly, we come across this error when we try to perform a backup.
As part of our Server Management Services, we assist our customers with several Plesk queries.
Today, let us see how to fix this error.
SnapAPI kernel module is not loaded for the kernel
Generally, there are two variants to this error.
- Unable to perform a backup via Acronis Backup extension in Plesk:
Backup Failed: The SnapAPI kernel module is not loaded for the kernel 3.10.0.1062.1.2.el7.x86_64 currently running in this system. Install the module for this kernel version, and then retry the backup.
- When we try to access the extension page at Plesk > Acronis Backup:
Error: An error has occurred. One of the services may be stopped. Go to “Scheduled Tasks” and try to run the command of the “Acronis Backup” extension manually. If this issue persists, contact the support team.
Causes & Fix
If we miss the Kernel module we require, it leads to this error.
To check whether the packages are already installed for the Acronis installation, we perform the steps below.
To find out the kernel version and the GCC version, we run:
cat /proc/version
Linux version 2.6.35.6 and gcc version 4.5.1
Then to check if we have the Make tool and the GCC compiler, we run:
make -v
gcc -v
We need to make sure that both the command result and the gcc version we got above are the same.
Now, we need to check if we have the appropriate version of the packages to build kernel modules.
To do so, in Red Hat Enterprise Linux, CentOS, and Fedora, we run:
yum list installed | grep kernel-devel
On the other hand, in Ubuntu we run the following commands:
dpkg –get-selections | grep linux-headers
dpkg –get-selections | grep linux-image
In either case, ensure that the package versions are the same as in the Linux version as in the first step.
To see if we have the Perl interpreter, we run the following command:
perl –version
If the output gives information about the Perl version, the installation is a success.
In Red Hat Enterprise Linux, CentOS, and Fedora, to see if we have the elfutils-libelf-devel, we run the following command:
yum list installed | grep elfutils-libelf-devel
The installation is successful if we see the information about the library version.
Moving ahead, in order to fix this, our Support Techs suggest the following steps:
- Connect to the server via SSH.
- Install the packages necessary to build kernel modules. For example, on CentOS:
# yum install kernel-devel gcc make
- Finally, we reinstall the Acronis backup extension.
[Need help with the fix? We’d be happy to assist]
Conclusion
In short, we saw how our Support Techs fix the Plesk error for our customers.
0 Comments