a2ensite: 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 Debian possible default full paths are:

/usr/sbin/a2ensite - from package: apache2

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