resize2fs: 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:

/sbin/resize2fs - from package: e2fsprogs

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

On Debian possible default full paths are:

/sbin/resize2fs - from package: e2fsprogs
/usr/lib/debug/sbin/resize2fs - from package: e2fsprogs-dbg

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