dms_createdb: 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/dms_createdb - from package: dms-core

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