trouble installing veeamsnap

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

trouble installing veeamsnap

Veeam Logoby fonefoo » Tue Nov 29, 2016 8:01 pm

trouble installing veeamsnap on centos 7 vm. I've seen this post a few times, though on clear answer on the fix... only that they fixed it.

Code: Select all
rpm -ivh veeamsnap-1.0.0.678-1.noarch.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:veeamsnap-1.0.0.678-1            ################################# [100%]
Loading new veeamsnap-1.0.0.678 DKMS files...
Building for 3.10.0-229.20.1.el7.x86_64
Module build for kernel 3.10.0-229.20.1.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


Also sharing this, as I seen it was requested in similar posts...

Code: Select all
# uname -r
3.10.0-229.20.1.el7.x86_64
# rpm -qa | grep kernel-headers
kernel-headers-3.10.0-327.36.3.el7.x86_64
fonefoo
Influencer
 
Posts: 17
Liked: 2 times
Joined: Mon Nov 21, 2016 7:26 pm
Full Name: Adam

Re: trouble installing veeamsnap

Veeam Logoby tsightler » Tue Nov 29, 2016 9:01 pm

As you can see, you are currently running kernel 3.10.0-229.20.1.el7.x86_64 but the kernel headers package installed is newer, 3.10.0-327.36.3.el7.x86_64. You need to either reboot the system into the newer kernel, or manually install the older kernel-header package that matches the one you are actually running.
tsightler
Veeam Software
 
Posts: 4843
Liked: 1787 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler

Re: trouble installing veeamsnap

Veeam Logoby daFool » Wed Nov 30, 2016 8:03 am

Code: Select all
[mos@localhost rpm]$ sudo dnf install ./veeamsnap-1.0.0.678-1.noarch.rpm
Last metadata expiration check: 1:49:26 ago on Wed Nov 30 08:08:39 2016.
Dependencies resolved.
================================================================================
 Package             Arkkitehtuuri
                             Versio                         Asennuslähde   Koko
================================================================================
Asennetaan:
 cpp                 x86_64  5.3.1-6.fc23                   updates       8.3 M
 dkms                noarch  2.2.0.3-34.git.9e0394d.fc23    updates        82 k
 gcc                 x86_64  5.3.1-6.fc23                   updates        19 M
 isl                 x86_64  0.14-4.fc23                    fedora        490 k
 kernel-debug-devel  x86_64  4.8.8-100.fc23                 updates        11 M
 libmpc              x86_64  1.0.2-4.fc23                   fedora         55 k
 veeamsnap           noarch  1.0.0.678-1                    @commandline   70 k

Transaktion yhteenveto
================================================================================
Asennus  7 Packages

Koko yhteensä: 39 M
Ladattavaa yhteensä: 39 M
Koko asennettuna: 110 M
Onko tämä ok [k/E]: k
Ladataan paketteja:
(1/6): libmpc-1.0.2-4.fc23.x86_64.rpm           928 kB/s |  55 kB     00:00   
(2/6): dkms-2.2.0.3-34.git.9e0394d.fc23.noarch. 373 kB/s |  82 kB     00:00   
(3/6): isl-0.14-4.fc23.x86_64.rpm               3.7 MB/s | 490 kB     00:00   
(4/6): cpp-5.3.1-6.fc23.x86_64.rpm              2.4 MB/s | 8.3 MB     00:03   
(5/6): kernel-debug-devel-4.8.8-100.fc23.x86_64 2.5 MB/s |  11 MB     00:04   
(6/6): gcc-5.3.1-6.fc23.x86_64.rpm              2.4 MB/s |  19 MB     00:08   
--------------------------------------------------------------------------------
Yhteensä                                        3.7 MB/s |  39 MB     00:10     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Asennetaan          : kernel-debug-devel-4.8.8-100.fc23.x86_64            1/7
  Asennetaan          : libmpc-1.0.2-4.fc23.x86_64                          2/7
  Asennetaan          : cpp-5.3.1-6.fc23.x86_64                             3/7
  Asennetaan          : isl-0.14-4.fc23.x86_64                              4/7
  Asennetaan          : gcc-5.3.1-6.fc23.x86_64                             5/7
  Asennetaan          : dkms-2.2.0.3-34.git.9e0394d.fc23.noarch             6/7
  Asennetaan          : veeamsnap-1.0.0.678-1.noarch                        7/7
Loading new veeamsnap-1.0.0.678 DKMS files...
Building for 4.8.8-100.fc23.x86_64
Module build for kernel 4.8.8-100.fc23.x86_64 was skipped since the
kernel headers for this kernel does not seem to be installed.
WARNING: Package not configured! See output!
varoitus: %post(veeamsnap-1.0.0.678-1.noarch) skripti epäonnistui, palautti 1
Non-fatal POSTIN scriptlet failure in rpm package veeamsnap
Non-fatal POSTIN scriptlet failure in rpm package veeamsnap
  Verifying           : veeamsnap-1.0.0.678-1.noarch                        1/7
  Verifying           : dkms-2.2.0.3-34.git.9e0394d.fc23.noarch             2/7
  Verifying           : gcc-5.3.1-6.fc23.x86_64                             3/7
  Verifying           : libmpc-1.0.2-4.fc23.x86_64                          4/7
  Verifying           : cpp-5.3.1-6.fc23.x86_64                             5/7
  Verifying           : isl-0.14-4.fc23.x86_64                              6/7
  Verifying           : kernel-debug-devel-4.8.8-100.fc23.x86_64            7/7

Asennettu:
  cpp.x86_64 5.3.1-6.fc23                                                       
  dkms.noarch 2.2.0.3-34.git.9e0394d.fc23                                       
  gcc.x86_64 5.3.1-6.fc23                                                       
  isl.x86_64 0.14-4.fc23                                                       
  kernel-debug-devel.x86_64 4.8.8-100.fc23                                     
  libmpc.x86_64 1.0.2-4.fc23                                                   
  veeamsnap.noarch 1.0.0.678-1                                                 

Valmis!
[mos@localhost rpm]$ uname -r
4.8.8-100.fc23.x86_64
[mos@localhost rpm]$ rpm -q kernel-headers
kernel-headers-4.8.8-100.fc23.x86_64


Not able to install veeamsnap. Any ideas?
daFool
Novice
 
Posts: 5
Liked: 1 time
Joined: Tue May 27, 2014 12:40 pm
Full Name: Mauri Sahlberg

Re: trouble installing veeamsnap

Veeam Logoby daFool » Wed Nov 30, 2016 8:28 am

The rpm package for Fedora/Rhel/CentOS should also list kernel-devel as dependencies as the required headers are there not in the kernel-headers package. But this doesn't help much as:
Code: Select all
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c: Funktio ”blk_dev_redirect_part”:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:338:14: virhe: ”BIO_MAX_SECTORS” esittelemättä (ensimmäinen käyttökerta tässä funktiossa)
   max_sect = BIO_MAX_SECTORS;
              ^
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:338:14: huom: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c: Funktio ”blk_dev_redirect_submit”:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:477:15: varoitus: argumentin 1 antaminen funktiolle ”submit_bio” tekee kokonaisluvusta osoittimen ilman tyyppimuunnosta [-Wint-conversion]
   submit_bio( bio_data_dir( rq_endio->bio ), curr->this );
               ^
In file included from /var/lib/dkms/veeamsnap/1.0.0.678/build/stdafx.h:7:0,
                 from /var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:1:
./include/linux/fs.h:2769:17: huom: odotettiin ”struct bio *”, mutta argumentti on tyyppiä ”int”
 extern blk_qc_t submit_bio(struct bio *);
                 ^
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:477:3: virhe: liian monta argumenttia funktiolle ”submit_bio”
   submit_bio( bio_data_dir( rq_endio->bio ), curr->this );
   ^
In file included from /var/lib/dkms/veeamsnap/1.0.0.678/build/stdafx.h:7:0,
                 from /var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:1:./include/linux/fs.h:2769:17: huom: esitelty täällä
 extern blk_qc_t submit_bio(struct bio *);
                 ^
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c: Funktio ”blk_dev_redirect_request”:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:512:14: virhe: ”BIO_MAX_SECTORS” esittelemättä (ensimmäinen käyttökerta tässä funktiossa)
   max_sect = BIO_MAX_SECTORS;
              ^
In file included from ./include/linux/list.h:8:0,
                 from ./include/linux/module.h:9,
                 from /var/lib/dkms/veeamsnap/1.0.0.678/build/stdafx.h:5,
                 from /var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:1:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c: Funktio ”__dev_direct_submit_pages”:
/var/lib/dkms/veeamsnap/1.0.0.678/build/blk_dev_utile.c:762:47: virhe: ”BIO_MAX_SECTORS” esittelemättä (ensimmäinen käyttökerta tässä funktiossa)
   size_sector = min_t( sector_t, size_sector, BIO_MAX_SECTORS );
                                               ^
./include/linux/kernel.h:783:17: huom: in definition of macro ”min_t”
  type __min2 = (y);   \


And of course this causes more trouble in compilation. Conclusion: Too much hassle to find out if I can fix this or not by myself to test this with FC23. Too bad because I would have needed a reliable backup for upgrading from 23->25 but I guess I will just backup my homedir with smbtar and see how it goes.
daFool
Novice
 
Posts: 5
Liked: 1 time
Joined: Tue May 27, 2014 12:40 pm
Full Name: Mauri Sahlberg

Re: trouble installing veeamsnap

Veeam Logoby PTide » Wed Nov 30, 2016 10:10 am

Hi,

@daFool,

BETA2 does not support kernel 4.8. Sent you a link via PM so you can get the fixed version for fc23.

Thanks
PTide
Veeam Software
 
Posts: 3140
Liked: 262 times
Joined: Tue May 19, 2015 1:46 pm


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 3 guests