Page 1 of 1

Need help running server on vps

PostPosted: Sat Jan 17, 2015 03:51
by jwpwns
I am using Ubuntu 14.04 64-bit trying to run a minetest server on it here is the command i use to start it and i get this error ./minetestserver
If anyone know how to fix this I am kinda a noob to minetest i had a server a long time ago but dont remember how to do it?


root@megacraft:~/minetest/minetest/bin# ./minetestserver
WARNING: system-wide share not found at "/usr/local/share/minetest"
WARNING: system-wide share not found at "/root/minetest/minetest/bin/../share/minetest"
WARNING: system-wide share found at "/root/minetest/minetest/bin/.."
22:52:18: ERROR[main]: Subgame specified in default_game [minetest] is invalid.
22:52:18: ERROR[main]: ERROR: An unhandled exception occurred: Supplied invalid gamespec

In thread 7f208faab780:
/root/minetest/minetest/src/main.cpp:880: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f208faab780:
#0 int main(int, char**)
(Leftover data: #1 Dedicated server branch)
Aborted

Re: Need help running server on vps

PostPosted: Sat Jan 17, 2015 09:12
by sfan5
I'd suggest installing a system-wide(-DRUN_IN_PLACE=0) build and not running it as root.

Re: Need help running server on vps

PostPosted: Sat Jan 17, 2015 22:06
by jwpwns
sfan5 wrote:I'd suggest installing a system-wide(-DRUN_IN_PLACE=0) build and not running it as root.


I am not sure what you mean by a system-wide(-DRUN_IN_PLACE=0) but does anyone have a good tutorial? for installing it on a Linux vps?

Re: Need help running server on vps

PostPosted: Sat Jan 17, 2015 22:15
by jwpwns
Ok so i tried it again re installed it now i get when i try to start the server

In thread 7f6c6dcba780:
/root/minetest/minetest/src/main.cpp:880: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f6c6dcba780:
#0 int main(int, char**)
(Leftover data: #1 Dedicated server branch)
Aborted
root@megacraft:~/minetest/minetest/bin#

Re: Need help running server on vps

PostPosted: Sat Jan 17, 2015 22:48
by jwpwns
I am using this tutorial http://dev.minetest.net/Compiling_Minetest
i also tried to start the server with # ./minetest
But i get

Irrlicht log: Error: Need running XServer to start Irrlicht Engine.
Irrlicht log: Could not open display, set DISPLAY variable
17:48:28: ERROR[main]: Could not initialize game engine.
root@megacraft:~/minetest/minetest/bin# ./minetest# ./minetest
-bash: ./minetest#: No such file or directory
root@megacraft:~/minetest/minetest/bin#

Re: Need help running server on vps

PostPosted: Sun Jan 18, 2015 02:16
by jwpwns
Issue Solved got it to run it was something Stupid -.-