urlencode: 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/urlencode - from package: gridsite-clients

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

On Debian possible default full paths are:

/usr/bin/urlencode - from package: gridsite-clients

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