git-annex-shell: 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/git-annex-shell - from package: git-annex

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

On Debian possible default full paths are:

/usr/bin/git-annex-shell - from package: git-annex

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