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

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