dq-submit: 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-submit - from package: perl-IPC-DirQueue

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