Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
Daniel505
Novice
Posts: 3
Liked: never
Joined: Sep 20, 2016 10:19 pm
Contact:

Veeamsnap fails to install

Post by Daniel505 »

Odd stuff happening with RHEL6. Can't progress with the installation of veeamsnap despite having the correct kernel-headers.

Code: Select all

[user@box rpm]$ sudo rpm -ivh --force veeamsnap-1.0.0.678-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:veeamsnap              ########################################### [100%]
Removing old veeamsnap-1.0.0.678 DKMS files...

------------------------------
Deleting module version: 1.0.0.678
completely from the DKMS tree.
------------------------------
Done.
Loading new veeamsnap-1.0.0.678 DKMS files...
Building for 2.6.32-573.12.1.el6.x86_64
Module build for kernel 2.6.32-573.12.1.el6.x86_64 was skipped since the
kernel headers for this kernel does not seem to be installed.
WARNING: Package not configured! See output!
warning: %post(veeamsnap-1.0.0.678-1.noarch) scriptlet failed, exit status 1
[user@box rpm]$ rpm -qa | grep kernel-headers
kernel-headers-2.6.32-573.12.1.el6.x86_64
[user@box rpm]$ uname -r
2.6.32-573.12.1.el6.x86_64
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Veeamsnap fails to install

Post by PTide »

Hi,

Please check what's inside /usr/src/ directory, also check if there is a symlink to /usr/src/kernels/$(uname -r) in /lib/modules/$(uname -r)/build

Thanks
Daniel505
Novice
Posts: 3
Liked: never
Joined: Sep 20, 2016 10:19 pm
Contact:

Re: Veeamsnap fails to install

Post by Daniel505 »

So, the only entry in /usr/src/kernels is for a different revision, 2.6.32-642.4.2.el6.x86_64. But it is not a symlink. /lib/modules has a folder for the correct version.
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Veeamsnap fails to install

Post by PTide »

Something must have gone wrong during installation, have you tried to reinstall headers?
nielsengelen
Product Manager
Posts: 5619
Liked: 1177 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Veeamsnap fails to install

Post by nielsengelen »

It might be related to the headers not loaded. This happens in rare occasions and a reboot should resolve it.

However I have seen other things as well which require the following:
- remove veeam packages
- remove headers
- install headers
- reboot
- install veeam packages

I don't know if you can reboot the server but if possible please try the above and see if it works.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
Daniel505
Novice
Posts: 3
Liked: never
Joined: Sep 20, 2016 10:19 pm
Contact:

Re: Veeamsnap fails to install

Post by Daniel505 »

No joy.

Code: Select all

[user@box ~]$ sudo yum reinstall kernel-headers
Loaded plugins: product-id, subscription-manager
Setting up Reinstall Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-573.12.1.el6 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch     Version               Repository                Size
================================================================================
Reinstalling:
 kernel-headers   x86_64   2.6.32-573.12.1.el6   rhel-6-server-eus-rpms   3.9 M

Transaction Summary
================================================================================
Reinstall     1 Package(s)

Total download size: 3.9 M
Installed size: 2.6 M
Is this ok [y/N]: y
Downloading Packages:
kernel-headers-2.6.32-573.12.1.el6.x86_64.rpm            | 3.9 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : kernel-headers-2.6.32-573.12.1.el6.x86_64                    1/1
  Verifying  : kernel-headers-2.6.32-573.12.1.el6.x86_64                    1/1

Installed:
  kernel-headers.x86_64 0:2.6.32-573.12.1.el6

Complete!

[user@box kernels]$ sudo ln -s /lib/modules/2.6.32-573.12.1.el6.x86_64/kernel /usr/src/kernels/2.6.32-573.12.1.el6.x86_64
[user@box kernels]$ ll
total 4
lrwxrwxrwx  1 root root   40 Sep 22 16:06 2.6.32-573.12.1.el6.x86_64 -> /lib/modules/2.6.32-573.12.1.el6.x86_64/kernel
drwxr-xr-x 22 root root 4096 Sep  2 13:15 2.6.32-642.4.2.el6.x86_64
[user@box kernels]$ sudo rpm -e veeamsnap-1.0.0.678

------------------------------
Deleting module version: 1.0.0.678
completely from the DKMS tree.
------------------------------
Done.
[user@box kernels]$ sudo rpm -ivh ~/x64/rpm/veeamsnap-1.0.0.678-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:veeamsnap              ########################################### [100%]
Loading new veeamsnap-1.0.0.678 DKMS files...
Building for 2.6.32-573.12.1.el6.x86_64
Module build for kernel 2.6.32-573.12.1.el6.x86_64 was skipped since the
kernel headers for this kernel does not seem to be installed.
WARNING: Package not configured! See output!
warning: %post(veeamsnap-1.0.0.678-1.noarch) scriptlet failed, exit status 1
That is the build error we've been getting consistently. Same issue after removing veeamsnap, restarting, and trying to install veeamsnap after.
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Veeamsnap fails to install

Post by PTide »

Please try to erase everything including dkms. Afterwards install dkms from scratch, cd to the directory where veeamsnap rpm is and try install it via yum install ./veeamsnap*, that should let yum to pull and install all dependencies automatically.
coreyfire
Novice
Posts: 4
Liked: never
Joined: Sep 30, 2016 11:26 pm
Full Name: Corey Bussard
Contact:

Re: Veeamsnap fails to install

Post by coreyfire »

I have been looking around for this! Excellent, and thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests