📚
Documentation
Installation guides, configuration steps, and product documentation.
KB10027 ExternalAPIException: Command execution failed: [sudo, qemu-img, rebase, -u, -b, , /vprotect_data/linux-02__1d7e5e47/linux-02.qcow2]
KB ID: 10027
Product: vProtect
Version: 4.0.0 +
Published: 2021-03-01
Last modified: 2021-03-01
Problem
Backup fails at 95% of completion with following error:
ExternalAPIException: Command execution failed: [sudo, qemu-img, rebase, -u, -b, , /vprotect_data/linux-02__1d7e5e47/linux-02.qcow2]
...
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
Solution
Run following script to configure OS for Node
[root@vprotect ~]# vprotect-node-configure
[root@vprotect ~]# reboot
Make sure that there is no additional configuration for vprotect in /etc/sudoers file
[root@vprotect ~]# cat /etc/sudoers | grep -i vprotect
vprotect ALL=(ALL) ALL
Delete all above lines from /etc/sudoers file and restart vprotect node.
[root@vprotect ~]# vim /etc/sudoers
[root@vprotect ~]# systemctl restart vprotect-node
Related articles