v.net.allpairs: 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/lib64/grass-6.4.4/bin/v.net.allpairs - from package: grass

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/lib/grass64/bin/v.net.allpairs - from package: grass-core

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