truncate: 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/truncate - from package: coreutils

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

On Debian possible default full paths are:

/usr/bin/truncate - from package: coreutils

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