Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
tommmoe
Influencer
Posts: 22
Liked: 1 time
Joined: Jul 05, 2016 11:27 pm
Full Name: Tom
Contact:

Problems with Installation

Post by tommmoe »

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.
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Problems with Installation

Post by nielsengelen »

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?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
tommmoe
Influencer
Posts: 22
Liked: 1 time
Joined: Jul 05, 2016 11:27 pm
Full Name: Tom
Contact:

Re: Problems with Installation

Post by tommmoe »

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.
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Problems with Installation

Post by nielsengelen »

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?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
tommmoe
Influencer
Posts: 22
Liked: 1 time
Joined: Jul 05, 2016 11:27 pm
Full Name: Tom
Contact:

Re: Problems with Installation

Post by tommmoe »

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
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Problems with Installation

Post by nielsengelen »

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.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
tommmoe
Influencer
Posts: 22
Liked: 1 time
Joined: Jul 05, 2016 11:27 pm
Full Name: Tom
Contact:

Re: Problems with Installation

Post by tommmoe »

Perfect!

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

Thanks for the help Niels!
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Problems with Installation

Post by nielsengelen »

No problem. Happy testing and looking forward to additional feedback!
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
bigvc
Lurker
Posts: 1
Liked: never
Joined: Jan 10, 2017 7:48 am
Full Name: bigvc
Contact:

Re: Problems with Installation

Post by bigvc »

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 ?
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Problems with Installation

Post by nielsengelen »

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`
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
Post Reply

Who is online

Users browsing this forum: wCORS and 6 guests