dpm-listspaces: 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 CentOS possible default full paths are:

/usr/bin/dpm-listspaces - from package: dpm-python

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/dpm-listspaces - from package: python-dpm

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