acs-4-0-publish.sh: 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/share/dotlrn/bin/acs-4-0-publish.sh - from package: dotlrn
/usr/share/openacs/bin/acs-4-0-publish.sh - from package: openacs

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