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

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