dq-server: 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 CentOS possible default full paths are:

/usr/bin/dq-server - from package: perl-IPC-DirQueue

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