lsdistcc: 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/lsdistcc - from package: distcc

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

On Debian possible default full paths are:

/usr/bin/lsdistcc - from package: distcc

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