esdplay: 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/esdplay - from package: esound-tools

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