slcanpty: 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/slcanpty - from package: can-utils

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