When installing Veeam Agent for Linux on Oracle Linux 6 or 7 with UEK kernel, the veeamsnap package fails to install with the following error:
Error! Bad return status for module build on kernel: <kernel version> Consult /var/lib/dkms/veeamsnap/<Veeam Agent for Linux version>/build/make.log for more information.
The make.log (example below) will display an error stack referencing libdtrace-ctf.so.1 and LIBDTRACE_CTF:
/var/lib/dkms/veeamsnap/<Veeam Agent for Linux version>/build/make.log
scripts/dwarf2ctf/dwarf2ctf: /usr/lib64/libdtrace-ctf.so.1: version `LIBDTRACE_CTF_1.3' not found (required by scripts/dwarf2ctf/dwarf2ctf)
make[1]: *** [/var/lib/dkms/veeamsnap/_<Veeam Agent for Linux version>_/build/.ctf/build-extmod.stamp] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [modules] Error 2
make: Leaving directory `/usr/src/kernels/<kernel version>'
This issue occurs because libdtrace-ctf, which is required to build the veeamsnap module, is not installed.
libdtrace-ctf is a dependency of the UEK kernel headers, so normally it should be present if kernel headers are also installed. You can check using this command:
Example output
<...> dependency: libdtrace-ctf >= 1.1.0 provider: libdtrace-ctf.x86_64 1.1.0-2.el7
In some cases, due to package manager or other issues, libdtrace-ctf may not be pulled properly, resulting in the kernel headers be installed but missing libdtrace-ctf.
After the libdtrace-ctf package is installed, uninstall and reinstall (online, offline) Veeam Agent for Linux.
Note: If the Oracle Linux 6 or 7 machine does not have internet access to install packages, locate the libdtrace-ctf package for your Oracle Linux version on the Oracle Linux repository and install it manually: https://yum.oracle.com
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case