Installing beta 2 on CentOS 5 - Bad return status

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

Installing beta 2 on CentOS 5 - Bad return status

Veeam Logoby jpipdw » Thu Sep 15, 2016 6:58 pm

Trying to install beta 2 - this is a 32 bit Centos5 system. Is centos5 supported? The packages I've been working with on Centos 7 are working just fine.

Code: Select all
[root@server tmp]# rpm -i veeamsnap-1.0.0.678-1.noarch.rpm
Loading new veeamsnap-1.0.0.678 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.18-412.el5PAE
Building initial module for 2.6.18-412.el5PAE
Error! Bad return status for module build on kernel: 2.6.18-412.el5PAE (i686)
Consult /var/lib/dkms/veeamsnap/1.0.0.678/build/make.log for more information.
WARNING: Package not configured! See output!
error: %post(veeamsnap-1.0.0.678-1.noarch) scriptlet failed, exit status 1


make.log contains:

Code: Select all
DKMS make.log for veeamsnap-1.0.0.678 for kernel 2.6.18-412.el5PAE (i686)
Thu Sep 15 11:46:45 PDT 2016
make: Entering directory `/usr/src/kernels/2.6.18-412.el5-PAE-i686'
  LD      /var/lib/dkms/veeamsnap/1.0.0.678/build/built-in.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.0.678/build/mem_alloc.o
/var/lib/dkms/veeamsnap/1.0.0.678/build/mem_alloc.c: In function ‘dbg_vfree’:
/var/lib/dkms/veeamsnap/1.0.0.678/build/mem_alloc.c:125: warning: passing argument 1 of ‘vfree’ discards qualifiers from pointer target type
  CC [M]  /var/lib/dkms/veeamsnap/1.0.0.678/build/sparse_array_1lv.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.0.678/build/sparse_bitmap.o
In file included from /var/lib/dkms/veeamsnap/1.0.0.678/build/sparse_bitmap.h:7,
                 from /var/lib/dkms/veeamsnap/1.0.0.678/build/sparse_bitmap.c:3:
/var/lib/dkms/veeamsnap/1.0.0.678/build/range.h:13:18: warning: no newline at end of file
/var/lib/dkms/veeamsnap/1.0.0.678/build/sparse_bitmap.c: In function ‘sparsebitmap_init’:
/var/lib/dkms/veeamsnap/1.0.0.678/build/sparse_bitmap.c:20: error: too few arguments to function ‘kmem_cache_create’
/var/lib/dkms/veeamsnap/1.0.0.678/build/sparse_bitmap.c:416:26: warning: no newline at end of file
make[1]: *** [/var/lib/dkms/veeamsnap/1.0.0.678/build/sparse_bitmap.o] Error 1
make: *** [_module_/var/lib/dkms/veeamsnap/1.0.0.678/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-412.el5-PAE-i686'
jpipdw
Influencer
 
Posts: 12
Liked: never
Joined: Fri Mar 08, 2013 4:14 am

Re: Installing beta 2 on CentOS 5 - Bad return status

Veeam Logoby PTide » Thu Sep 15, 2016 7:22 pm

Hi,

What's the kernel that you use? The minimal supported version is 2.6.32

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

Re: Installing beta 2 on CentOS 5 - Bad return status

Veeam Logoby Mike Resseler » Fri Sep 16, 2016 5:04 am

I think that will be the problem. From the log it looks like he is using 2.6.18.

Can you confirm? uname -a should deliver you that information

Thanks

Mike
Mike Resseler
Veeam Software
 
Posts: 2986
Liked: 354 times
Joined: Fri Feb 08, 2013 3:08 pm
Location: Belgium, the land of the fries, the beer, the chocolate and the diamonds...
Full Name: Mike Resseler

Re: Installing beta 2 on CentOS 5 - Bad return status

Veeam Logoby jpipdw » Fri Sep 16, 2016 12:16 pm

Ahh yes, that seems to be the issue. Thank you!
jpipdw
Influencer
 
Posts: 12
Liked: never
Joined: Fri Mar 08, 2013 4:14 am


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 5 guests