gfal-legacy-replicas: 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/gfal-legacy-replicas - from package: gfal2-util

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