When adding a Linux Server to Veeam Backup & Replication using a non-root account and not enabling the "Elevate account privileges automatically" option, the following error is shown:
Installing Installer service Error: Error: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied) • Exit code: 1
Installing Installer service Error: Error: dpkg: error: requested operation requires superuser privilege Exit code: 2
For more information regarding Veeam Data Movers, please review: Veeam Backup & Replication User Guide: Veeam Data Movers
If the choice to not enable the "Elevate account privileges automatically" option was intentional, the error regarding failure to install the Veeam Data Mover service should be ignored.
Error: can not create /<path>/<jobname> : No such file or directory
Enabling the "Elevate account privileges automatically" option will allow Veeam Backup & Replication to install the persistent Data Mover Service, improving the performance and reliability of communication with the Linux server.
Note: The Single-Use Credential option is documented in the same section as Immutability because they are both parts of the "Hardened Repository" model. However, it is possible to use Single-Use Credentials without using Immutability.
When adding or editing the Linux server within the Veeam Backup & Replication console, on the SSH Connection tab, click Add and select the option for "Single-use credentials for hardened repository." Then provide credentials for a non-root account that can elevate via sudo. This account will be used one-time by Veeam to deploy the persistent Data Mover Service and not stored within the Veeam Backup & Replication configuration database.
More information regarding Single-Use Credentials is available here:
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case