glsl-render-after-bad-attach: 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/lib64/piglit/bin/glsl-render-after-bad-attach - from package: piglit

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