ecryptfs-setup-swap: 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/ecryptfs-setup-swap - from package: ecryptfs-utils

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

On Debian possible default full paths are:

/usr/bin/ecryptfs-setup-swap - from package: ecryptfs-utils

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