I can't run server on Linux - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Discussion (https://forum.cuberite.org/forum-5.html) +--- Thread: I can't run server on Linux (/thread-1521.html) Pages:
1
2
|
I can't run server on Linux - artur9010 - 07-04-2014 I can't run mc-server on Linux Ubuntu 10.04.4 LTS. I don't have root access. SSH Code: login as: minecraft and Code: minecraft@artur9010:~/MCServer$ strings /usr/lib/libstdc++.so.6 | grep GLIBC Sorrry for my bad English, Im' from Poland. RE: I can't run server on Linux - xoft - 07-04-2014 I suppose you're using one of the compiled binaries from Bearbin's site, http://ci.bearbin.net ? They are probably linked to a newer version of C++ runtime than your OS contains. Generic solutions (not that I know almost nothing about Linux) would be to: 1. Install those newer runtime libraries (may require root, too, so no solution) 2. Compile MCServer on that server from source (requires installation of git, cmake, gcc and g++, if those aren't present, you'd need root, too) 3. Compile MCServer on another machine, link with older C++ runtime RE: I can't run server on Linux - artur9010 - 07-04-2014 (07-04-2014, 07:48 PM)xoft Wrote: I suppose you're using one of the compiled binaries from Bearbin's site, http://ci.bearbin.net ? They are probably linked to a newer version of C++ runtime than your OS contains. Generic solutions (not that I know almost nothing about Linux) would be to: 1. Hosting ansawer: "That's too bad, because a higher version is not in the repository." (translated by Google Translate) RE: I can't run server on Linux - xoft - 07-04-2014 I think option 3 is the easiest for you right now - get a virtualboxed install of the OS that you have at that hosting and compile there, then copy the executable to the hosted server. @bearbin any chance of linking with lower runtime versions on your side? RE: I can't run server on Linux - bearbin - 07-04-2014 Not really, I'm not sure if older versions are forwards-compatible. I'd have to research it first. RE: I can't run server on Linux - sphinxc0re - 07-07-2014 Normlly, MCServer needs more rights for his execution environment than other programs on. So, there are two ways to run the server on linux:
I think the second method is the best. After that you just can run it as usual. RE: I can't run server on Linux - xoft - 07-08-2014 (07-07-2014, 06:41 PM)SphinxC0re Wrote: Normlly, MCServer needs more rights for his execution environment than other programs on. Really? How? Why? Can anyone Linux-savy educate me on what MCS does that requires the root privileges? We should try to avoid that, most hosting programs don't allow root access to their VPSs. RE: I can't run server on Linux - worktycho - 07-08-2014 (07-08-2014, 03:47 AM)xoft Wrote:(07-07-2014, 06:41 PM)SphinxC0re Wrote: Normlly, MCServer needs more rights for his execution environment than other programs on. It doesn't usually. The only reason I can think of is if you want to host the webadmin on port 80. Linux requires admin rights to bind to ports below 1024. RE: I can't run server on Linux - tigerw - 07-08-2014 Why is that so? Is there a difference betwixt ports < 1024 and ones higher? RE: I can't run server on Linux - worktycho - 07-08-2014 Ports below 1024 are common ports, used by major services. The idea is that you can't just bind to port 80 and interfere with the web server on a computer without permission. |