paplay: 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/paplay - from package: pulseaudio-utils

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

On Debian possible default full paths are:

/usr/bin/paplay - from package: pulseaudio-utils

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