hpsockd: 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/sbin/hpsockd - from package: hpsockd

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