bsd-write: 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/bsd-write - from package: bsdmainutils

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