Veeamsnap fails to install

Backup agent for Linux servers and workstations on-premises or in the public cloud

Veeamsnap fails to install

Veeam Logoby Daniel505 » Tue Sep 20, 2016 10:25 pm

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
Daniel505
Novice
 
Posts: 3
Liked: never
Joined: Tue Sep 20, 2016 10:19 pm

Re: Veeamsnap fails to install

Veeam Logoby PTide » Wed Sep 21, 2016 10:11 am

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
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm

Re: Veeamsnap fails to install

Veeam Logoby Daniel505 » Wed Sep 21, 2016 4:38 pm

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.
Daniel505
Novice
 
Posts: 3
Liked: never
Joined: Tue Sep 20, 2016 10:19 pm

Re: Veeamsnap fails to install

Veeam Logoby PTide » Thu Sep 22, 2016 9:00 am

Something must have gone wrong during installation, have you tried to reinstall headers?
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm

Re: Veeamsnap fails to install

Veeam Logoby vmniels » Thu Sep 22, 2016 11:16 am

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.
VCP-DCV
Veeam Certified Engineer
http://foonet.be
vmniels
Veeam Software
 
Posts: 1505
Liked: 325 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Veeamsnap fails to install

Veeam Logoby Daniel505 » Thu Sep 22, 2016 10:45 pm

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.
Daniel505
Novice
 
Posts: 3
Liked: never
Joined: Tue Sep 20, 2016 10:19 pm

Re: Veeamsnap fails to install

Veeam Logoby PTide » Fri Sep 23, 2016 10:30 am

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.
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm

Re: Veeamsnap fails to install

Veeam Logoby coreyfire » Fri Sep 30, 2016 11:27 pm

I have been looking around for this! Excellent, and thanks!
coreyfire
Novice
 
Posts: 4
Liked: never
Joined: Fri Sep 30, 2016 11:26 pm
Full Name: Corey Bussard


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 2 guests