xfs_logprint: 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/sbin/xfs_logprint - from package: xfsprogs

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

On Debian possible default full paths are:

/usr/sbin/xfs_logprint - from package: xfsprogs

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