ksm-wrapper: 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

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/ksm-wrapper - from package: ksm_preload

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