dotlockfile: 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/dotlockfile - from package: liblockfile

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

On Debian possible default full paths are:

/usr/bin/dotlockfile - from package: liblockfile-bin

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