ceph_test_rados_api_lock: 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_rados_api_lock - 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_rados_api_lock - from package: ceph-test

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