writelog: 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/writelog - from package: gatling
/usr/lib/news/bin/writelog - from package: inn2
/usr/lib/news/bin/writelog - from package: inn

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