Problems with Installation

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

Problems with Installation

Veeam Logoby tommmoe » Thu Aug 04, 2016 4:45 am

Hi,

I'm having a bit of trouble installing the veeamsnap rpm, I have installed all dependencies but still receive the following error.

Code: Select all
Loading new veeamsnap-1.0.0.499 DKMS files...
Building for 2.6.32-573.22.1.el6.x86_64
Module build for kernel 2.6.32-573.22.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.499-1.noarch) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package veeamsnap-1.0.0.499-1.noarch
rhel-6-server-rpms/productid                                                                                                                                                                                          | 1.7 kB     00:00
  Verifying  : veeamsnap-1.0.0.499-1.noarch                                                                                                                                                                                              1/1

Installed:
  veeamsnap.noarch 0:1.0.0.499-1

Complete!


Code: Select all
uname -r
2.6.32-573.22.1.el6.x86_64


Code: Select all
rpm -qa | grep kernel-headers
kernel-headers-2.6.32-573.22.1.el6.x86_64


If anyone could give me a hand on this it would be much appreciated.
tommmoe
Influencer
 
Posts: 20
Liked: 1 time
Joined: Tue Jul 05, 2016 11:27 pm
Full Name: Tom

Re: Problems with Installation

Veeam Logoby vmniels » Thu Aug 04, 2016 11:06 am

Can you try to do the following:
Code: Select all
yum install kernel-devel


Then re-install both veeamsnap & veeam.

If possible could you also try to do a reboot to see if the headers are loaded correctly?
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: Problems with Installation

Veeam Logoby tommmoe » Thu Aug 04, 2016 11:48 pm

Hi Niels,

I've previously installed kernel-devel, but for the sake of testing I reinstalled it and also kernel-headers-$(uname -r)

Rebooted the server and tried the veeamsnap reinstall with yum reinstall veeamsnap-1.0.0.499-1.noarch.rpm but still get the same error.
tommmoe
Influencer
 
Posts: 20
Liked: 1 time
Joined: Tue Jul 05, 2016 11:27 pm
Full Name: Tom

Re: Problems with Installation

Veeam Logoby vmniels » Fri Aug 05, 2016 8:34 am

Can you do a list -al under /lib/modules/2.6.32-573.22.1.el6.x86_64 (folder name might be different as it should be the kernel number)
In this folder are there 2 symlinks called source & build (going to /usr/src/linux-headers-... )?

Also could you try yum update and see if this updates dkms? Could you give us the output of "dkms --version" ?

Could you also tell us a bit more about the server (is it a physical server, a VM, linux container,...) and the specs related?
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: Problems with Installation

Veeam Logoby tommmoe » Thu Aug 11, 2016 5:51 am

No problem,

Sorry about getting back to you so late.

Looks like build is symlinked to the right place and source is symlinked to build.

lrwxrwxrwx. 1 root root 51 Apr 18 15:57 build -> ../../../usr/src/kernels/2.6.32-573.22.1.el6.x86_64

lrwxrwxrwx. 1 root root 5 Apr 18 15:57 source -> build

I have run yum update and it has updated a whole bunch of stuff.

dkms: 2.2.1.0

The install is still unfortunately giving me the same error.

It's a physical machine (HPE DL20 G9) running RHEL 6.8

Intel Pentium G4400 processor
32GB Ram
tommmoe
Influencer
 
Posts: 20
Liked: 1 time
Joined: Tue Jul 05, 2016 11:27 pm
Full Name: Tom

Re: Problems with Installation

Veeam Logoby vmniels » Thu Aug 11, 2016 7:22 am

Did you remove the installed veeam and veeamsnap package and installed them again already? As DKMS got updated it seems.

Also if the kernel had an update a reboot is required to load everything correctly. So you might need to reboot before reinstalling.
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: Problems with Installation

Veeam Logoby tommmoe » Thu Aug 11, 2016 11:10 pm

Perfect!

Removed the package as before, restarted, installed again and no problems!

Thanks for the help Niels!
tommmoe
Influencer
 
Posts: 20
Liked: 1 time
Joined: Tue Jul 05, 2016 11:27 pm
Full Name: Tom

Re: Problems with Installation

Veeam Logoby vmniels » Fri Aug 12, 2016 6:07 am

No problem. Happy testing and looking forward to additional feedback!
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: Problems with Installation

Veeam Logoby bigvc » Tue Jan 10, 2017 8:03 am

Same problem

Code: Select all
Loading new veeamsnap-1.0.0.944 DKMS files...
Building for 4.1.12-61.1.24.el7uek.x86_64
Module build for kernel 4.1.12-61.1.24.el7uek.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.944-1.noarch) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package veeamsnap-1.0.0.944-1.noarch
  Установка   : veeam-1.0.0.944-1.el7.x86_64                                                                                                                                                                                         2/2
Created symlink from /etc/systemd/system/multi-user.target.wants/veeamservice.service to /usr/lib/systemd/system/veeamservice.service.


Code: Select all
uname -a
Linux oracle.pc 4.1.12-61.1.24.el7uek.x86_64 #2 SMP Wed Jan 4 14:05:13 PST 2017 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa | grep kernel-headers
kernel-headers-3.10.0-514.2.2.el7.x86_64


Ran yum update, restarted, reinstalled veeam, the problem remains, what can we do ?
bigvc
Lurker
 
Posts: 1
Liked: never
Joined: Tue Jan 10, 2017 7:48 am
Full Name: bigvc

Re: Problems with Installation

Veeam Logoby vmniels » Tue Jan 10, 2017 10:21 am

The kernel headers don't match the kernel you are running. Can you try to update them by running:
Code: Select all
yum install kernel-uek-devel-`uname -r`
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


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 5 guests