sanlock: 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/sbin/sanlock - from package: sanlock

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

On Debian possible default full paths are:

/usr/sbin/sanlock - from package: sanlock

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