publictoip6: 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/publictoip6 - from package: cjdns

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