fvwm-menu-directory: 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/fvwm-menu-directory - from package: fvwm

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/fvwm-menu-directory - from package: fvwm

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