Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
Paulio
Novice
Posts: 4
Liked: 1 time
Joined: Jan 24, 2019 2:28 pm
Full Name: Paul Saxelby
Contact:

Veeamsnap - Problem installing

Post by Paulio »

Hi

I was having a problem running a backup job as the remote volume couldn't be mounted. This turned out to be an issue with the nls_utf8 iocharset not being installed.
This was solved by installing the linux-modules-extra... package.
This couldn't be done the usually recommended way "

Code: Select all

apt-get install linux-modules-extra-$(uname -r) linux-image-extra-virtual
" as that results in the errors:

Code: Select all

E: Unable to locate package linux-modules-extra-3.13.0-164-generic
E: Couldn't find any package by regex 'linux-modules-extra-3.13.0-164-generic'
I did though find a shorter command (that I'm unable to find again unfortunately) that installed OK & the charset was in place after a reboot.

When I started the job again it said 'Running' for a while but then failed again. The log for the session said that it fell over when veeamsnap couldn't be loaded.
It was installed, but not functioning. Assuming that something may have changed regarding the kernel (there were some scary elements reported as part of the module extras install), I uninstalled veeam and veeamsnap, downloaded the latest versions, and am currently stuck trying to install them.

Veeamsnap seems to get part way there but ends with the warnings:

Code: Select all

Building only for 3.13.0-164-generic
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
If I check the currently running kernel (at least I understand that that is what this command tells me):

Code: Select all

bitnami@ubuntu:/tmp$ cat /proc/version_signature
Ubuntu 3.13.0-164.214-generic 3.13.11-ckt39
Executing the command that apparently installs the source for the running kernel seems to go OK:
(If "linux-source-3.13.0_3.13.0-164.214_all.deb" includes "Ubuntu 3.13.0-164.214-generic 3.13.11-ckt39")

Code: Select all

bitnami@ubuntu:/tmp$ sudo apt-get install linux-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  linux-source-3.13.0
Suggested packages:
  libncurses-dev ncurses-dev kernel-package libqt3-dev
The following NEW packages will be installed:
  linux-source linux-source-3.13.0
0 upgraded, 2 newly installed, 0 to remove and 182 not upgraded.
Need to get 98.7 MB of archives.
After this operation, 115 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://en.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-source-3.13.0 all 3.13.0-164.214 [98.7 MB]
Get:2 http://en.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-source all 3.13.0.164.174 [2,332 B]
Fetched 98.7 MB in 11s (8,646 kB/s)
Selecting previously unselected package linux-source-3.13.0.
(Reading database ... 73758 files and directories currently installed.)
Preparing to unpack .../linux-source-3.13.0_3.13.0-164.214_all.deb ...
Unpacking linux-source-3.13.0 (3.13.0-164.214) ...
Selecting previously unselected package linux-source.
Preparing to unpack .../linux-source_3.13.0.164.174_all.deb ...
Unpacking linux-source (3.13.0.164.174) ...
Setting up linux-source-3.13.0 (3.13.0-164.214) ...
Setting up linux-source (3.13.0.164.174) ...
But if I try installing veeamsnap after all that I get the same result:

Code: Select all

bitnami@ubuntu:/tmp$ sudo dpkg -i ./veeamsnap_3.0.0.865_all.deb
(Reading database ... 74026 files and directories currently installed.)
Preparing to unpack ./veeamsnap_3.0.0.865_all.deb ...
------------------------------
Deleting module version: 3.0.0.865
completely from the DKMS tree.
------------------------------
Done.
Unpacking veeamsnap (3.0.0.865) over (3.0.0.865) ...
Setting up veeamsnap (3.0.0.865) ...
Loading new veeamsnap-3.0.0.865 DKMS files...
Building only for 3.13.0-164-generic
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.

Can anyone help me out here please?
I can't find anything to try next.

Many thanks
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Veeamsnap - Problem installing

Post by PTide »

Hi,

Please provide output of

ls /lib/modules/$(uname -r)/ -l

and

ls /usr/src/linux-headers-$(uname -r)/ -l

Thanks!
Paulio
Novice
Posts: 4
Liked: 1 time
Joined: Jan 24, 2019 2:28 pm
Full Name: Paul Saxelby
Contact:

Re: Veeamsnap - Problem installing

Post by Paulio » 1 person likes this post

Hi PTide

Many thanks for taking the time.
The result of the first is:

Code: Select all

bitnami@ubuntu:~$ ls /lib/modules/$(uname -r)/ -l
total 3860
drwxr-xr-x  2 root root   4096 Dec  5 12:12 initrd
drwxr-xr-x 11 root root   4096 Jan 23 13:04 kernel
-rw-r--r--  1 root root 944636 Jan 23 13:07 modules.alias
-rw-r--r--  1 root root 927398 Jan 23 13:07 modules.alias.bin
-rw-r--r--  1 root root   7013 Dec  5 12:11 modules.builtin
-rw-r--r--  1 root root   9241 Jan 23 13:07 modules.builtin.bin
-rw-r--r--  1 root root 377987 Jan 23 13:07 modules.dep
-rw-r--r--  1 root root 555299 Jan 23 13:07 modules.dep.bin
-rw-r--r--  1 root root    240 Jan 23 13:07 modules.devname
-rw-r--r--  1 root root 154062 Dec  5 12:11 modules.order
-rw-r--r--  1 root root    190 Jan 23 13:07 modules.softdep
-rw-r--r--  1 root root 416439 Jan 23 13:07 modules.symbols
-rw-r--r--  1 root root 520227 Jan 23 13:07 modules.symbols.bin
drwxr-xr-x  2 root root   4096 Jan 23 13:04 vdso
And the second is:

Code: Select all

bitnami@ubuntu:~$ ls /usr/src/linux-headers-$(uname -r)/ -l
ls: cannot access /usr/src/linux-headers-3.13.0-164-generic/: No such file or directory
So that point us in the right direction I guess.
After a quick check around I did:

Code: Select all

bitnami@ubuntu:~$ sudo apt-get install linux-headers-3.13.0-164-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  linux-headers-3.13.0-164
The following NEW packages will be installed:
  linux-headers-3.13.0-164 linux-headers-3.13.0-164-generic
0 upgraded, 2 newly installed, 0 to remove and 182 not upgraded.
Need to get 9,626 kB of archives.
After this operation, 77.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://en.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-164 all 3.13.0-164.214 [8,924 kB]
Get:2 http://en.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-164-generic amd64 3.13.0-164.214 [702 kB]
Fetched 9,626 kB in 0s (14.9 MB/s)
Selecting previously unselected package linux-headers-3.13.0-164.
(Reading database ... 74026 files and directories currently installed.)
Preparing to unpack .../linux-headers-3.13.0-164_3.13.0-164.214_all.deb ...
Unpacking linux-headers-3.13.0-164 (3.13.0-164.214) ...
Selecting previously unselected package linux-headers-3.13.0-164-generic.
Preparing to unpack .../linux-headers-3.13.0-164-generic_3.13.0-164.214_amd64.deb ...
Unpacking linux-headers-3.13.0-164-generic (3.13.0-164.214) ...
Setting up linux-headers-3.13.0-164 (3.13.0-164.214) ...
Setting up linux-headers-3.13.0-164-generic (3.13.0-164.214) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.13.0-164-generic /boot/vmlinuz-3.13.0-164-generic
So the second "ls" now results in:

Code: Select all

bitnami@ubuntu:~$ ls /usr/src/linux-headers-$(uname -r)/ -l
total 1160
drwxr-xr-x 3 root root    4096 Jan 25 16:32 arch
lrwxrwxrwx 1 root root      33 Dec  5 12:19 block -> ../linux-headers-3.13.0-164/block
lrwxrwxrwx 1 root root      34 Dec  5 12:19 crypto -> ../linux-headers-3.13.0-164/crypto
lrwxrwxrwx 1 root root      41 Dec  5 12:19 Documentation -> ../linux-headers-3.13.0-164/Documentation
lrwxrwxrwx 1 root root      35 Dec  5 12:19 drivers -> ../linux-headers-3.13.0-164/drivers
lrwxrwxrwx 1 root root      36 Dec  5 12:19 firmware -> ../linux-headers-3.13.0-164/firmware
lrwxrwxrwx 1 root root      30 Dec  5 12:19 fs -> ../linux-headers-3.13.0-164/fs
drwxr-xr-x 5 root root    4096 Jan 25 16:32 include
lrwxrwxrwx 1 root root      32 Dec  5 12:19 init -> ../linux-headers-3.13.0-164/init
lrwxrwxrwx 1 root root      31 Dec  5 12:19 ipc -> ../linux-headers-3.13.0-164/ipc
lrwxrwxrwx 1 root root      34 Dec  5 12:19 Kbuild -> ../linux-headers-3.13.0-164/Kbuild
lrwxrwxrwx 1 root root      35 Dec  5 12:19 Kconfig -> ../linux-headers-3.13.0-164/Kconfig
drwxr-xr-x 2 root root    4096 Jan 25 16:32 kernel
lrwxrwxrwx 1 root root      31 Dec  5 12:19 lib -> ../linux-headers-3.13.0-164/lib
lrwxrwxrwx 1 root root      36 Dec  5 12:19 Makefile -> ../linux-headers-3.13.0-164/Makefile
lrwxrwxrwx 1 root root      30 Dec  5 12:19 mm -> ../linux-headers-3.13.0-164/mm
-rw-r--r-- 1 root root 1169147 Dec  5 12:19 Module.symvers
lrwxrwxrwx 1 root root      31 Dec  5 12:19 net -> ../linux-headers-3.13.0-164/net
lrwxrwxrwx 1 root root      35 Dec  5 12:19 samples -> ../linux-headers-3.13.0-164/samples
drwxr-xr-x 7 root root    4096 Jan 25 16:32 scripts
lrwxrwxrwx 1 root root      36 Dec  5 12:19 security -> ../linux-headers-3.13.0-164/security
lrwxrwxrwx 1 root root      33 Dec  5 12:19 sound -> ../linux-headers-3.13.0-164/sound
lrwxrwxrwx 1 root root      33 Dec  5 12:19 tools -> ../linux-headers-3.13.0-164/tools
lrwxrwxrwx 1 root root      34 Dec  5 12:19 ubuntu -> ../linux-headers-3.13.0-164/ubuntu
lrwxrwxrwx 1 root root      31 Dec  5 12:19 usr -> ../linux-headers-3.13.0-164/usr
lrwxrwxrwx 1 root root      32 Dec  5 12:19 virt -> ../linux-headers-3.13.0-164/virt
Installing veeamsnap now gives:

Code: Select all

bitnami@ubuntu:/tmp$ sudo dpkg -i ./veeamsnap_3.0.0.865_all.deb
(Reading database ... 98900 files and directories currently installed.)
Preparing to unpack ./veeamsnap_3.0.0.865_all.deb ...

-------- Uninstall Beginning --------
Module:  veeamsnap
Version: 3.0.0.865
Kernel:  3.13.0-164-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

veeamsnap.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.13.0-164-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod......

DKMS: uninstall completed.

------------------------------
Deleting module version: 3.0.0.865
completely from the DKMS tree.
------------------------------
Done.
Unpacking veeamsnap (3.0.0.865) over (3.0.0.865) ...
Setting up veeamsnap (3.0.0.865) ...
Loading new veeamsnap-3.0.0.865 DKMS files...
Building only for 3.13.0-164-generic
Building initial module for 3.13.0-164-generic
Done.

veeamsnap:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-164-generic/updates/dkms/

depmod......

DKMS: install completed.
All I needed to do next was install the agent:

Code: Select all

bitnami@ubuntu:/tmp$ sudo dpkg -i ./veeam_3.0.0.865_amd64.deb
Selecting previously unselected package veeam.
(Reading database ... 98900 files and directories currently installed.)
Preparing to unpack ./veeam_3.0.0.865_amd64.deb ...
Unpacking veeam (3.0.0.865) ...
dpkg: dependency problems prevent configuration of veeam:
 veeam depends on lvm2; however:
  Package lvm2 is not installed.

dpkg: error processing package veeam (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 veeam

OK - Many thanks for the lead. End of the day here but I'll pick it up on Monday and report back on progress.


Thanks again PTide
Paulio
Novice
Posts: 4
Liked: 1 time
Joined: Jan 24, 2019 2:28 pm
Full Name: Paul Saxelby
Contact:

Re: Veeamsnap - Problem installing

Post by Paulio »

Hi PTide

Thanks again for the pointer.

After getting some more dependencies sorted veeamsnap seems to have installed OK.


Right, next topic coming up... :)
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests