Error opening a server by terminal

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

Error opening a server by terminal

by BrunoMine » Tue May 27, 2014 01:23

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?
 

User avatar
BrandonReese
Member
 
Posts: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

Re: Error opening a server by terminal

by BrandonReese » Tue May 27, 2014 02:00

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.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Error opening a server by terminal

by Krock » Tue May 27, 2014 10:27

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.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 15 guests