mono-service2: 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/mono-service2 - from package: mono-extras

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

On Debian possible default full paths are:

/usr/bin/mono-service2 - from package: mono-2.0-service

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