kpartx: 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:

/sbin/kpartx - from package: kpartx

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

On Debian possible default full paths are:

/sbin/kpartx - from package: kpartx
/usr/lib/debug/sbin/kpartx - from package: multipath-tools-dbg

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