Failed to auto starts manager server

I’ve just installed Manager Server edition on my Ubuntu 14.04 VPS with AzureVPS and encountered failure and I just know that it’s purely clean server, you can’t just install the prerequisite software by this command sudo apt-get install mono-complete

I’ve found this from Google, and here are the guides…

sudo apt-get update
sudo apt-get install mono-runtime
sudo apt-get install monodevelop

And it don’t equipped with nano installed too, here are the guides…

sudo apt-get update
sudo apt-get install nano

I’ve installed everything and get all works! But I still couldn’t get Manager Server to automatically start when server reboots.

I followed the steps by using nano to open and edit /etc/rc.local and added

/usr/bin/mono /path/to/ManagerServer.exe -port 80 >>/dev/null 2>&1 &

before exit 0 lines then rebooted

But it still fails to starts when I quit putty.
Any idea guys?

If you want Manager Server to automatically start when server reboots, continue with these steps.

1 Open /etc/rc.local
Use nano to open and edit /etc/rc.local
sudo nano /etc/rc.local

2 Edit /etc/rc.local
Add this line before the exit 0 line.
/usr/bin/mono /path/to/ManagerServer.exe 80 >>/dev/null 2>&1 &
New instruction here is:
/usr/bin/mono /path/to/ManagerServer.exe -port 80 >>/dev/null 2>&1 &

Please note /path/to/ManagerServer.exe needs to be modified to reflect the correct filepath to ManagerServer.exe.

3 Saving /etc/rc.local
Save changes to /etc/rc.local and reboot the server.

sudo shutdown -r now

When the system has restarted manager in this example will listen on port 80.

Hi Compuit!

Thanks for helping out!

Any idea where can I check my right filepath? :grin:

Check the home folder of the user you logged in with when you did the install eg. If administrator then check here…


I installed on root.

So my path was set to

/usr/bin/mono ManagerServer.exe -port 80 >>/dev/null 2>&1 &

but still don’t works

Check that you can list the the manager files under you root logon check access etc

administrator@manager01:~$ ls -l
-rwxrwxrwx 1 administrator administrator 18432 Jan 22 15:44 FluentValidationNA.dll
-rwxrwxrwx 1 administrator administrator 56320 Jan 22 15:44 HttpFramework.dll
-rwxrwxrwx 1 administrator administrator 1693184 Jan 22 15:44 Manager.dll
-rwxrwxrwx 1 administrator administrator 2966016 Jan 22 15:44 ManagerServer.exe
-rw-r–r-- 1 administrator administrator 1501684 Jan 22 15:46 ManagerServer.tar.gz

I take it you have checked file permissions and confirmed the rc.local file saved you changes OK. Perhaps you have a conflict on port 80 or it is in use or blocked… Edit /etc/rc.local and change the port to 81
/usr/bin/mono /home/administrator/ManagerServer.exe -port 81 >>/dev/null 2>&1 &

then try http://hostserver_IP:81

If this does not help then you may need to get a computer person to trouble shoot further as this issue is not a manager problem but something else in your server system environment.

1 Like

Thanks compuit!

This helps! It was really port 80 blocked. :kissing_heart: