smiquery: 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/bin/smiquery - from package: libsmi

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

On Debian possible default full paths are:

/usr/bin/smiquery - from package: smitools

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