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

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