sun2amd: 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/sbin/sun2amd - from package: am-utils

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

On Debian possible default full paths are:

/usr/sbin/sun2amd - from package: am-utils

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