mimetype: 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 CentOS possible default full paths are:

/usr/bin/mimetype - from package: perl-File-MimeInfo

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/mimetype - from package: libfile-mimeinfo-perl

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