mime-construct: 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/mime-construct - from package: perl-mime-construct

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

On Debian possible default full paths are:

/usr/bin/mime-construct - from package: mime-construct

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