haploref.rb: 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/haploref.rb - from package: mmseq

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