ipcrm: 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/bin/ipcrm - from package: util-linux-ng

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

On Debian possible default full paths are:

/usr/bin/ipcrm - from package: util-linux

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