Cuberite Forum
Setting up a server - 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: Setting up a server (/thread-1656.html)

Pages: 1 2 3 4 5


RE: Setting up a server - bearbin - 05-06-2015

BTW, the recommended installation method for Linux (x86, Raspi etc) is the easyinstall script

Code:
curl -s https://raw.githubusercontent.com/mc-server/MCServer/master/easyinstall.sh | sh

If you just paste it in it will download the latest version for your computer and extract it ready to use.


RE: Setting up a server - tigerw - 05-06-2015

Aw, what about the autoupdate script?


RE: Setting up a server - bearbin - 05-06-2015

That is a good way of doing it, but it's more complicated and most people just want the bare minimum setup.


RE: Setting up a server - denbertuz - 05-06-2015

(05-05-2015, 09:22 PM)Safwat Wrote: Approach 2, boot at system boot (but no interactive window)
  • edit /etc/rc.local, note that you must be root to edit that, possible commands that achieve this are sudo leafpad /etc/rc.local or sudo nano /etc/rc.local
  • Put the following inside, just above the last line which is exit 0
    Code:
    sudo -u pi -- "PATH TO THE MCSERVER EXECUTABLE" & disown

Note that all double-quotes are to be kept, the only thing you need to modify is the uppercase PATH TO THE MCSERVER EXECUTABLE

Normally I would set up a user for such a service e.g. user minecraft - Hence I will try with:

Code:
-u minecraft -- "/home/minecraft/MCServer/MCServer" & disown

correct me if I'm wrong here?


RE: Setting up a server - LogicParrot - 05-06-2015

(05-06-2015, 05:17 PM)denbertuz Wrote: correct me if I'm wrong here?
You're completely right.


RE: Setting up a server - denbertuz - 05-06-2015

(05-06-2015, 02:28 AM)bearbin Wrote: BTW, the recommended installation method for Linux (x86, Raspi etc) is the easyinstall script

Code:
curl -s https://raw.githubusercontent.com/mc-server/MCServer/master/easyinstall.sh | sh

If you just paste it in it will download the latest version for your computer and extract it ready to use.

Hi Again,

I've flashed my SD card and made a clean install of OSMC (as daddy would like to use the PI as a media center) added user MINECRAFT - changed to this user and installed the MCServer via the suggested curl command - worked like a charm, but getting this error trying to run the server:

minecraft@osmc:~/MCServer$ ./MCServer
pure virtual method called
terminate called without an active exception
[11:31:58] D: | MCServer has encountered an error and needs to close
[11:31:58] --- Started Log ---

[11:31:58] MCServer Jenkins gcc armhf Release build id: #141
[11:31:58] Details | SIGABRT: Server self-terminated due to an internal fault
[11:31:58] from commit id: 18a268a961d1a9d93fda2e4c0b18f9296f7dd768 built at: Tue May 5 17:41:06 EDT 2015
[11:31:58] MCServer Jenkins gcc armhf Release build id: #141
[11:31:58] from commit id: 18a268a961d1a9d93fda2e4c0b18f9296f7dd768 built at: Tue May 5 17:41:06 EDT 2015
[11:31:58] Creating new server instance...
./MCServer(_Z15PrintStackTracev+0x14)[0x1b57dc]
./MCServer(_Z14NonCtrlHandleri+0x8c)[0x1ae5f4]
/lib/arm-linux-gnueabihf/libc.so.6(+0x26ac0)[0x76ce6ac0]
/lib/arm-linux-gnueabihf/libc.so.6(+0x178e6)[0x76cd78e6]
/lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x25)[0x76ce5ec6]
/lib/arm-linux-gnueabihf/libc.so.6(abort+0xbd)[0x76ce6bce]
Afbrudt (SIGABRT)

Any one got a clue?


RE: Setting up a server - LogicParrot - 05-06-2015

I pray it isn't my commitTongue


RE: Setting up a server - denbertuz - 05-06-2015

Will install a fresh Raspbian, upgrade from wheezy to Jessie and then make a clean MCServer setup and report back Smile


RE: Setting up a server - LogicParrot - 05-09-2015

This was reported by two different users, I opened an issue here.


RE: Setting up a server - LogicParrot - 05-09-2015

What's your libc version? Can you please run the following bash command and report the output?
Code:
ldd --version