extract_hosts6.sh: 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/extract_hosts6.sh - from package: thc-ipv6

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