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

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 Debian possible default full paths are:

/usr/lib/fastdnaml/bin/weights_categories - from package: fastdnaml

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