fsgateway: 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 Debian possible default full paths are:

/usr/bin/fsgateway - from package: fsgateway

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