sm2file: 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/sm2file - from package: ion

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