nccgen: 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/bin/nccgen - from package: ncc

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