cpanel_json_xs: 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/cpanel_json_xs - from package: perl-Cpanel-JSON-XS

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

On Debian possible default full paths are:

/usr/bin/cpanel_json_xs - from package: libcpanel-json-xs-perl

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