ogg123: 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/ogg123 - from package: vorbis-tools

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

On Debian possible default full paths are:

/usr/bin/ogg123 - from package: vorbis-tools

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