ospfd: 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/ospfd - from package: quagga

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