lockfile-create: 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/lockfile-create - from package: lockfile-progs

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

On Debian possible default full paths are:

/usr/bin/lockfile-create - from package: lockfile-progs

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