wineserver: 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/wineserver - from package: wine-core

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

On Debian possible default full paths are:

/usr/lib/x86_64-linux-gnu/wine/bin/wineserver - from package: libwine

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