pamthreshold: 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/pamthreshold - from package: netpbm-progs

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