snapcleaner: 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

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/snapcleaner - from package: solr-common

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