racoon2-spmd: 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/sbin/racoon2-spmd - from package: racoon2

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