ext4magic: 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/sbin/ext4magic - from package: ext4magic

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