keepass2: 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/bin/keepass2 - from package: keepass2

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