magjson: 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/magjson - from package: magics++

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