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

/usr/bin/sacctmgr - from package: slurm-client

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