vertexid-drawarrays: 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/vertexid-drawarrays - from package: piglit

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