ospf_print_neighbours: 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 Debian possible default full paths are:

/usr/lib/xorp/bin/ospf_print_neighbours - from package: xorp

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