Product Version: 9.0
Last Modified: 27 September 2019
Problem
The NAKIVO Backup & Recovery recovery service fails to run on the Linux VM that is selected as the recovery server.
Background
On Linux, the NAKIVO Backup & Recovery recovery service needs special permissions to run. However, such permissions are not configured by the default NAKIVO Backup & Recovery installation due to security considerations.
Solution
On the source server chosen for recovery, create a rule file for the Transporter server in /etc/pam.d/
by following the steps below:
Launch the
vi
editor and create a newbhsvc
file:vi /etc/pam.d/bhsvc
Note
/etc/pam.d/bhsvc
file is required for:- Ubuntu (for Amazon instances only)
- SUSE Linux Enterprise Server (for VMs on all hypervisors)
- Red Hat Enterprise Linux (for VMs on all hypervisors)
Edit the content of the
bhsvc
file to have its content as follows:auth required pam_unix.so nullok
auth required pam_nologin.so
account required pam_unix.so
session required pam_selinux.so close
session required pam_loginuid.so- Save the
bhsvc
file and close thevi
editor:- Press the Esc button to switch the
vi
editor to the Normal mode. - Enter the
":"
symbol to switch to the Command-line mode. - In the Command-line mode, enter the
"x"
symbol and then press Enter.
- Press the Esc button to switch the
- Provide the necessary permissions for the
bhsvc
file:chmod 644 /etc/pam.d/bhsvc