Lite Posted July 31, 2011 Share Posted July 31, 2011 I'm using Debian 5 on all my current game servers. The master server has been installed on a temporary VPS with Debian 6. The installation went without errors there. I'm getting problems installing mono on Debian 5. Some of the dependencies are missing. Is mono really required to run a remote server? Has anyone managed to install mono on Debian 5? Link to comment Share on other sites More sharing options...
adamnp Posted July 31, 2011 Share Posted July 31, 2011 (edited) How did you try installing it? Using the repos? sudo apt-get install mono or by downloading the bin from the project website? http://www.mono-project.com/Downloads If you tried one way, but not the other, try that... Edited July 31, 2011 by adamnp Link to comment Share on other sites More sharing options...
Lite Posted July 31, 2011 Author Share Posted July 31, 2011 http://help.tcadmin.com/Mono <- Downloaded and installed it from there. Link to comment Share on other sites More sharing options...
LFA Posted July 31, 2011 Share Posted July 31, 2011 Install the missing dependencies: ldd /opt/mono-2.10.2/bin/mono|grep "not found" ldd /opt/mono-2.10.2/lib/libgdiplus.so|grep "not found" Link to comment Share on other sites More sharing options...
wilki Posted August 2, 2011 Share Posted August 2, 2011 When I install mono from the site on Debian 5 and then run your commands LFA then run apt-get update it removes mono. Link to comment Share on other sites More sharing options...
LFA Posted August 2, 2011 Share Posted August 2, 2011 It probably deletes them because some dependencies are not available on debian 5. Install mono 2.10.2 from other sources or build it from source. Link to comment Share on other sites More sharing options...
Lite Posted August 2, 2011 Author Share Posted August 2, 2011 Building it from source seems like the only way installing it on debian 5. I couldn't find a repo that included all the missing dependencies. I think upgrading to Debian 6 is alot easier than trying to install it on Debian 5. Link to comment Share on other sites More sharing options...
LFA Posted August 6, 2011 Share Posted August 6, 2011 Does your server run 32bit or 64bit? I have compiled mono 2.10.3 64bit for debian 5. Let me know if this is what you need and I will upload it. Link to comment Share on other sites More sharing options...
Lite Posted August 6, 2011 Author Share Posted August 6, 2011 (edited) 64bit of course. It would be nice if you could upload it. Another short question. How do i get my master server out of the api settings, where i can select the servers for automatic gameserver setups. I've to specify the server explicitely. It would be easier if i could select [All Servers], but then it tries to create gameservers on the master server. Edited August 6, 2011 by Lite Link to comment Share on other sites More sharing options...
LFA Posted August 6, 2011 Share Posted August 6, 2011 In all the master's IPs disable game and voice hosting. Servers > Master > Server IPs In api settings > game hosting tab select all servers except the master. Here is mono 2.10.3: http://www.tcadmin.com/installer/mono-2.10.3-x86_64_deb5.tar.gz Download to /opt and extract there. After installing tcadmin you will get errors starting the services because the default mono is 2.10.2. Edit /home/tcadmin/mono-config and set the new path: /opt/mono-2.10.3 and restart the services: cd /home/tcadmin/Monitor ./monitor-service restart ./serviceman-service restartIf you have problems start the monitor in console mode to check for errors: ./monitor-service stop ./monitor-console Link to comment Share on other sites More sharing options...
Lite Posted August 6, 2011 Author Share Posted August 6, 2011 I've tried installing this version of mono on a clean Debian 5 VPS. Mono gives this error when starting up: mono: /lib/libc.so.6: version `GLIBC_2.9' not found (required by mono) I couldn't find libc on the repository. Regarding to this link it has been removed: http://packages.qa.debian.org/g/glibc.html Copying the libc from Debian 6 is not a good idea. It broke the linux install. (This is what vps'es are made for) Also, on all the master server ip's the game & voice hosting is unchecked, but it still appeares in the list, making the [All Servers] useless. Link to comment Share on other sites More sharing options...
LFA Posted August 6, 2011 Share Posted August 6, 2011 That's strange. Try compiling from source. All commands are here. You just need to install whatever configure says you are missing: http://help.tcadmin.com/Mono#Build_from_Source Link to comment Share on other sites More sharing options...
adamnp Posted August 7, 2011 Share Posted August 7, 2011 Hrm, Just for comparison... I just was able to build mono fine off a 32bit and 64bit deb5 build from linode...I imagine there is a bunch missing from their repo for whoever is providing your VPS. Link to comment Share on other sites More sharing options...
Lite Posted August 7, 2011 Author Share Posted August 7, 2011 (edited) I've successfully compiled mono 2.10.3 by my own on debian 5 64bit. TCAdmin is running well My setup guide: apt-get update apt-get upgrade #all the packages that i've installed for the compilation, some may not be required, but i haven't got the time to sort them out apt-get install bzip2 gcc pkg-config libglib2.0-0 libperl-dev libgtk2.0-dev bison libpcap0.8 zip unzip #download the precompiled mono. I've compiled it on another machine, and zipped it for easier distribution. cd /opt wget http://www.blockhost.de/downloads/mono.zip unzip mono.zip Done. Just change the mono path in "/home/tcadmin/Monitor/mono-config" to "/opt/mono-2.10.3" Edit: My setup guide works/is on/for fresh installed systems. Edited August 7, 2011 by Lite Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now