dms_write_recovery_conf: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/sbin/dms_write_recovery_conf - from package: dms-core

You may install the required package with command apt-get install {package}
Error in other languages:
dms_write_recovery_conf: bevel nie gevind nie
dms_write_recovery_conf: comandă negăsită
dms_write_recovery_conf: comando não encontrado
dms_write_recovery_conf: commande introuvable
dms_write_recovery_conf: command not found
dms_write_recovery_conf: käsku ei ole
dms_write_recovery_conf: không tìm thấy lệnh
dms_write_recovery_conf: komanda nerasta
dms_write_recovery_conf: Kommando nicht gefunden.
dms_write_recovery_conf: kommandot finns inte
dms_write_recovery_conf: komut yok
dms_write_recovery_conf: nie znaleziono polecenia
dms_write_recovery_conf: níor aimsíodh an t-ordú
dms_write_recovery_conf: no se encontró la orden
dms_write_recovery_conf: no s'ha trobat l'ordre
dms_write_recovery_conf: opdracht niet gevonden
dms_write_recovery_conf: parancs nem található
dms_write_recovery_conf: perintah tidak ditemukan
dms_write_recovery_conf: príkaz nenájdený
dms_write_recovery_conf: příkaz nenalezen
dms_write_recovery_conf: команда не найдена
dms_write_recovery_conf: командата не е открита
dms_write_recovery_conf: 命令找不到
dms_write_recovery_conf: コマンドが見つかりません