dmenu_path: 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/dmenu_path - from package: dmenu

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