lcg-rep: 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/lcg-rep - from package: lcg-util

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