afpfs: 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/afpfs - from package: fuse-afp

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