mogrify-im6: 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/mogrify-im6 - from package: ImageMagick

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