Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
perjonsson1960
Expert
Posts: 197
Liked: 17 times
Joined: Jun 06, 2018 5:41 am
Full Name: Per Jonsson
Location: Sweden
Contact:

Rescan of physical Linux machine fails

Post by perjonsson1960 »

Folks,

We recently installed B&R v11, and all the agent installations went well, except one. We have a physical machine running Ubuntu, and it is impossible to get the Rescan to pass through. We always get some kind of "cannot connect, permission denied" error. We have even given the backup user root status, but that doesn't help.

My colleague, who knows much more about Linux than I do, has now installed the backup agent manually, and the backup job works and does the backup of the machine okay. But the Rescan still fails, which means that the machine is always listed as "Offline" and "Out of date" in the B&R console.

Any pointers in the right direction will be much appreciated! :)

Versions:

B&R: 11.0.0.837 (FIPS) P20210324
Agent: 5.0.0.4318
Ubuntu: 18.04

An excerpt from the log in the Linux machine:

Mar 31 16:53:08 server sshd[21773]: Accepted password for backupusr from 1.2.3.4 port 55274 ssh2
Mar 31 16:53:09 server sudo: backupusr : TTY=pts/1 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/whoami
Mar 31 16:53:09 server sudo: backupusr : TTY=pts/1 ; PWD=/ ; USER=root ; COMMAND=/bin/mkdir -p /opt/veeam
Mar 31 16:53:10 server sudo: backupusr : TTY=pts/1 ; PWD=/ ; USER=root ; COMMAND=/opt/veeam/veeaminstaller --version --packages-index-xml /opt/veeam/ValPackageIndex.xml
Mar 31 16:53:10 server sudo: backupusr : TTY=pts/1 ; PWD=/ ; USER=root ; COMMAND=/bin/rm /opt/veeam/ValPackageIndex.xml
Mar 31 16:53:10 server sshd[21900]: Accepted password for backupusr from 1.2.3.4 port 55279 ssh2
Mar 31 16:53:11 server sudo: backupusr : TTY=pts/1 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/touch /opt/veeam/ValPackageIndex.xml
Mar 31 16:53:11 server sudo: backupusr : TTY=pts/1 ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 0750 /opt/veeam/ValPackageIndex.xml

And it only creates a 0 byte ValPackageIndex.xml file, even if there has been a "real" one there before.

Regards,
PJ

perjonsson1960
Expert
Posts: 197
Liked: 17 times
Joined: Jun 06, 2018 5:41 am
Full Name: Per Jonsson
Location: Sweden
Contact:

Re: Rescan of physical Linux machine fails

Post by perjonsson1960 » 1 person likes this post

My colleague found the problem. The backup user had its home directory set to "/". When he created a proper home directory under "/home", the Rescan worked. :-)

PJ

PTide
Product Manager
Posts: 5856
Liked: 590 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Rescan of physical Linux machine fails

Post by PTide »

Hi,

Thank you for the update!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests