KB10027 ExternalAPIException: Command execution failed: [sudo, qemu-img, rebase, -u, -b, , /vprotect_data/linux-02__1d7e5e47/linux-02.qcow2]

📚

Documentation

Installation guides, configuration steps, and product documentation.

Explore documentation →

🎧

Support

Create a support request or review your existing cases.

Go to support →

⬇️

Download trial

Download the product trial and try it out.

View downloads →

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:

vprotect_daemon.log

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

vprotect-node-configure

[root@vprotect ~]# vprotect-node-configure

[root@vprotect ~]# reboot


Make sure that there is no additional configuration for vprotect in /etc/sudoers file

cat /etc/sudoers | grep -i vprotect

[root@vprotect ~]#  cat /etc/sudoers | grep -i vprotect
vprotect ALL=(ALL) ALL

 

Delete all above lines from /etc/sudoers file and restart vprotect node.

systemctl restart vprotect-node

[root@vprotect ~]# vim /etc/sudoers

[root@vprotect ~]# systemctl restart vprotect-node

 

Related articles