SnapAPI kernel module is not loaded for the kernel








Sometimes after SnapAPI kernel module update, it is not loaded for kernel version currently running on the affected system.

Are you facing the error, SnapAPI kernel module is not loaded for the kernel ? We can help you.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related Plesk queries.


Nature of SnapAPI kernel module is not loaded for the kernel

Generally, there are two variants to this error.

1. 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.

2. 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.


Ways to fix SnapAPI kernel module is not loaded for the kernel issue ?

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.

To fix this error, do the below steps:

1. Connect to the server via SSH.

2. Install the packages necessary to build kernel modules. For example, on CentOS:

# yum install kernel-devel gcc make

3. Finally, we reinstall the Acronis backup extension.


[Need help with the fix to Plesk errors? We'd be happy to assist. ]



Conclusion

This article covers methods to fix the Plesk error, "The SnapAPI kernel module is not loaded for the kernel currently running on the system".


For Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on LinuxAPT.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com