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

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

On Debian possible default full paths are:

/usr/sbin/kmsgsd - from package: psad

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