racoon2-spmdctl: 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-spmdctl - from package: racoon2

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