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

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

On Debian possible default full paths are:

/usr/sbin/iptstate - from package: iptstate

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