Debian server - freeze on Item definitions

Post Reply
vonflynee
New member
Posts: 1
Joined: Thu Jul 17, 2014 20:51
GitHub: vonflynee
IRC: vonflynee
In-game: vonflynee

Debian server - freeze on Item definitions

by vonflynee » Post

Hello,
I wanted to create a Debian Minetest server.
When I have launched minetest server, the server returned an error:

Code: Select all

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.
I tried to connect to the server but the client freezes on "Item definitions".
My debian server is cloud server hosted in ovh, so I can't replace my graphic card.
How can I make my server working?

Sorry for my english, I'm Polish.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Debian server - freeze on Item definitions

by sfan5 » Post

How did you start your server? (command line arguments)
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
digitalmouse
Member
Posts: 25
Joined: Sat Sep 20, 2014 18:26
GitHub: digitalmouse
IRC: digitalmouse
In-game: digitalmouse
Location: Kvistgård, Denmark
Contact:

Re: Debian server - freeze on Item definitions

by digitalmouse » Post

Instead of generating a new thread on the same topic, I'll piggy-back onto this one since I appear to have the same 'symptom' - ie, client appears stuck on "Item definitions".

Using a Raspberry Pi Model B with 512 of RAM and Raspbian OS as the 'server' so installation was an easy "sudo apt-get install minetest minetest-server". no problems there. Client is Minetest 0.4.10-74-g8948907 on Mac OS X (Mavericks). Client connects to other servers online without problem.

I stopped and started it a few times, created a minetest.conf after realizing there wasn't one in the .minetest directory and tried again. Same result.

Started up server using:

Code: Select all

/usr/games/minetestserver --info-on-stderr
and everything looks good on the console:
Image

I connect via the Mac client, and the console reflects this:
Image

Stopped the server via CTRL-C and it looks like it shut down cleanly:
Image

Yet the Mac client stays stuck on "Item definitions" after the server is shutdown:
Image

At one point I leave for dinner and let it continue running. When I returned, there was a spawn event of rats (at 21.05:29 in the screenshot below), so that tells me the server was probably ok:
Image

And now... as I look back at the screenshots I had a 'DOH' moment...I see that the server is running at version 0.3.1, while the client is running at 0.4.10. So my first guess is there is an incompatibility between client and server. If not, any suggestions as to what I should look at or post here to give you more info?

I'll look into doing a fresh compile (instead of grabbing the pre-made, and obviously old package) and post my results whether good or bad, in the meantime.

Thanks for your time!
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: Debian server - freeze on Item definitions

by Minetestforfun » Post

Ok, with the command line : ''sudo apt-get install minetest minetest-server" ou install a 0.3.1x version of minetest becasue the repository in not updated since a long time...

You need this command line : viewtopic.php?f=3&t=3837

User avatar
digitalmouse
Member
Posts: 25
Joined: Sat Sep 20, 2014 18:26
GitHub: digitalmouse
IRC: digitalmouse
In-game: digitalmouse
Location: Kvistgård, Denmark
Contact:

Re: Debian server - freeze on Item definitions

by digitalmouse » Post

Minetestforfun wrote:...you install a 0.3.1x version of minetest because the repository is not updated since a long time...
You need this command line : viewtopic.php?f=3&t=3837
Meh. Figured as much. Compiling now. At 28% after 20 minutes - it's not the fastest of machines. Little Pi overclocked to 900 Mhz! woo! :)

Thanks for the link!
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000

User avatar
digitalmouse
Member
Posts: 25
Joined: Sat Sep 20, 2014 18:26
GitHub: digitalmouse
IRC: digitalmouse
In-game: digitalmouse
Location: Kvistgård, Denmark
Contact:

Re: Debian server - freeze on Item definitions

by digitalmouse » Post

Ok! Apparently the difference in versions was the big issue. After about 2 hours, got the latest developer repo compiled and running on the Raspberry Pi, and connected to it via a MacBook Pro laptop, and runs pretty well so far.

Now just gotta figure out how to give myself privileges/mod rights on my own server - I only have 'interact' and 'shout' apparently.

Thanks again for the help!
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000

User avatar
solars
Member
Posts: 676
Joined: Sat Jul 20, 2013 15:16
Contact:

Re: Debian server - freeze on Item definitions

by solars » Post

In your world-directory, you have a file named "auth.txt". In the file, you find your name with the hash of the password and then the privileges. This wiki page shows you what privileges you can set there: http://wiki.minetest.net/Privileges
My big Minetest map Karsthafen: English thread / German thread / Youtube / German webpage

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: Debian server - freeze on Item definitions

by Minetestforfun » Post

The method enunciated by "solars" is good, but I personally prefer this one :

For get all privileges => just put your nickname in the minetest.conf file and you have all the rights you can have,

So, you need to change this line (normally the first line of your minetest.conf)
# Name of player; on a server this is the main admin
name = your_nickname
After that, just connect into your server with this nickname and SET A PASSWORD (important for this user !) and the file auth.txt in automatically updated,

enjoy

User avatar
digitalmouse
Member
Posts: 25
Joined: Sat Sep 20, 2014 18:26
GitHub: digitalmouse
IRC: digitalmouse
In-game: digitalmouse
Location: Kvistgård, Denmark
Contact:

Re: Debian server - freeze on Item definitions

by digitalmouse » Post

awesome! thanks for the replies.
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests