Page 1 of 1

Error opening a server by terminal

PostPosted: Tue May 27, 2014 01:23
by BrunoMine
I'm running the server on a VPS. S.O. Ubuntu without a GUI

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
root@computer:~# minetest --server
signal_handler_init()
Using system-wide paths (NOT RUN_IN_PLACE)
path_data = /usr/games/../share/minetest
path_userdata = /root/.minetest
Debug streams initialized, disable_stderr=0
21:39:07: ACTION[main]: minetest with SER_FMT_VER_HIGHEST=20, VER=0.3.1 RUN_IN_PLACE=0 USE_GETTEXT=1 INSTALL_PREFIX=/usr BUILD_TYPE=Release
INFO: Initial run of init_mapnode with g_texturesource=NULL. If this segfaults, there is a bug with something not checking for the NULL value.
AuthManager: loading from /root/.minetest/world/auth.txt
BanManager: loading from /root/.minetest/world/ipban.txt
21:39:59: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta

In thread 7fcba7e79700:
/build/buildd/minetest-0.3.1+dfsg/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7fcba7e79700:
#0  virtual void* ServerThread::Thread()
(Leftover data: #1  void Server::AsyncRunStep())
(Leftover data: #2  virtual void ServerMap::save(bool))
(Leftover data: #3  void ServerMap::saveMapMeta())
DEBUG STACK FOR THREAD 7fcbacd7c740:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
(Leftover data: #3  void Server::step(float))
Aborted


which configuration is wrong?

Re: Error opening a server by terminal

PostPosted: Tue May 27, 2014 02:00
by BrandonReese
brunob.santos wrote:I'm running the server on a VPS. S.O. Ubuntu without a GUI

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
root@computer:~# minetest --server
signal_handler_init()
Using system-wide paths (NOT RUN_IN_PLACE)
path_data = /usr/games/../share/minetest
path_userdata = /root/.minetest
Debug streams initialized, disable_stderr=0
21:39:07: ACTION[main]: minetest with SER_FMT_VER_HIGHEST=20, VER=0.3.1 RUN_IN_PLACE=0 USE_GETTEXT=1 INSTALL_PREFIX=/usr BUILD_TYPE=Release
INFO: Initial run of init_mapnode with g_texturesource=NULL. If this segfaults, there is a bug with something not checking for the NULL value.
AuthManager: loading from /root/.minetest/world/auth.txt
BanManager: loading from /root/.minetest/world/ipban.txt
21:39:59: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Couldn't save env meta

In thread 7fcba7e79700:
/build/buildd/minetest-0.3.1+dfsg/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7fcba7e79700:
#0  virtual void* ServerThread::Thread()
(Leftover data: #1  void Server::AsyncRunStep())
(Leftover data: #2  virtual void ServerMap::save(bool))
(Leftover data: #3  void ServerMap::saveMapMeta())
DEBUG STACK FOR THREAD 7fcbacd7c740:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
(Leftover data: #3  void Server::step(float))
Aborted


which configuration is wrong?


It's not a configuration problem. It looks like it can't save the env_meta.txt file.

You shouldn't run minetest as root. Create a new user, log in as that user and compile with -DRUN_IN_PLACE=1. If you are running a Ubuntu or maybe even Debian distro you can pretty much just cut and paste the compiling instructions from minetests readme into your terminal.

Re: Error opening a server by terminal

PostPosted: Tue May 27, 2014 10:27
by Krock
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
, VER=0.3.1 R

That's not the newest version.