psl2sam.pl: 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/psl2sam.pl - from package: samtools

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