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

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