dib-run-parts: 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/dib-run-parts - from package: diskimage-builder
/usr/share/diskimage-builder/elements/dib-run-parts/bin/dib-run-parts - from package: diskimage-builder

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

On Debian possible default full paths are:

/usr/bin/dib-run-parts - from package: python-diskimage-builder
/usr/share/diskimage-builder/elements/dib-run-parts/bin/dib-run-parts - from package: python-diskimage-builder

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