cpmchattr: 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/cpmchattr - from package: cpmtools

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

On Debian possible default full paths are:

/usr/bin/cpmchattr - from package: cpmtools

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