commit: 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/share/solr/bin/commit - from package: solr-common

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