cgcreate: 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:

/bin/cgcreate - from package: libcgroup

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

On Debian possible default full paths are:

/usr/bin/cgcreate - from package: cgroup-tools

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