gcloseall: 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/gcloseall - from package: gnustep-gui

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

On Debian possible default full paths are:

/usr/bin/gcloseall - from package: gnustep-gui-runtime

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