Can't install veeamsnap rpm becouse of kernel version

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

Can't install veeamsnap rpm becouse of kernel version

Veeam Logoby B0ris » Mon Dec 05, 2016 10:56 am

I want to install Veeam Linux agent (beta version) to a CentOS 7.2 machine.
During rpm installation I got an error:

Building for 3.10.0-229.7.2.el7.x86_64
Module build for kernel 3.10.0-229.7.2.el7.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

I have newest kernel installed on my machine (version 3.10.0.327).

Any suggestions ?
B0ris
Lurker
 
Posts: 2
Liked: never
Joined: Mon Dec 05, 2016 10:50 am
Full Name: Boris Virc

Re: Can't install veeamsnap rpm becouse of kernel version

Veeam Logoby vmniels » Mon Dec 05, 2016 11:22 am

You will need to install the kernel headers as they are a requirement. These can be installed by using:
yum install kernel-devel
VCP-DCV
Veeam Certified Architect (VMCA)
http://foonet.be
vmniels
Veeam Software
 
Posts: 1583
Liked: 349 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

[MERGED] Agent Problem install on Centos 6.5

Veeam Logoby o0BackupDude0o » Mon Dec 05, 2016 2:25 pm

I cannot install VEEAm agent.. getting error:

[root@www veeam]# rpm -ivh veeamsnap-1.0.0.678-1.noarch.rpm
Preparing... ########################################### [100%]
1:veeamsnap ########################################### [100%]
Loading new veeamsnap-1.0.0.678 DKMS files...
Building for 3.10.104-1.el6.elrepo.x86_64
Module build for kernel 3.10.104-1.el6.elrepo.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

[root@www veeam]# uname -r
3.10.104-1.el6.elrepo.x86_64
[root@www veeam]#

any advice?
Oskar Gawron
Veeam VMCE #VEEAM1475207944136
o0BackupDude0o
Service Provider
 
Posts: 7
Liked: 1 time
Joined: Mon Jan 25, 2016 2:46 pm
Full Name: Oskar Gawron

Re: Can't install veeamsnap rpm becouse of kernel version

Veeam Logoby o0BackupDude0o » Mon Dec 05, 2016 10:33 pm

did that
[root@www ~]# yum install kernel-devel
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package kernel-devel-2.6.32-642.11.1.el6.x86_64 already installed and latest version
Nothing to do

still getting the same error. What's next?
Oskar Gawron
Veeam VMCE #VEEAM1475207944136
o0BackupDude0o
Service Provider
 
Posts: 7
Liked: 1 time
Joined: Mon Jan 25, 2016 2:46 pm
Full Name: Oskar Gawron

Re: Can't install veeamsnap rpm becouse of kernel version

Veeam Logoby vmniels » Mon Dec 05, 2016 10:51 pm

You have the wrong kernel headers installed. Your kernel is 3.10.104-1.el6.elrepo.x86_64 and you don't have these headers. You can find the matching rpm's for them via http://ftp.colocall.net/pub/elrepo/kern ... 6_64/RPMS/

Install elrepo-release rpm:
rpm -Uvh elrepo-release*rpm
Install kernel-lt-headers rpm package:
yum --enablerepo=elrepo-kernel install kernel-lt-headers
VCP-DCV
Veeam Certified Architect (VMCA)
http://foonet.be
vmniels
Veeam Software
 
Posts: 1583
Liked: 349 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Can't install veeamsnap rpm becouse of kernel version

Veeam Logoby B0ris » Tue Dec 06, 2016 10:04 am

Solved the problem !
When updating kernel to newest version, there was not enough disk space on /boot partition, so new kernel-headers was sucessfully installed, and kernel wasn't. There was difference between current kernel and updated kernel-headers.
Now I have both on same version and it's OK.
B0ris
Lurker
 
Posts: 2
Liked: never
Joined: Mon Dec 05, 2016 10:50 am
Full Name: Boris Virc


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 3 guests