ceph_test_c_headers: 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/ceph_test_c_headers - from package: ceph-test

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

On Debian possible default full paths are:

/usr/lib/ceph/bin/ceph_test_c_headers - from package: ceph-test

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