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

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