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

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