dspam_2sql: 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/dspam_2sql - from package: dspam

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