MY SERVER IS CRASHING EVERYTIME WITH WEIRD SIRCUMSTANCES

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

MY SERVER IS CRASHING EVERYTIME WITH WEIRD SIRCUMSTANCES

by ParaklataChotou » Tue Nov 08, 2016 14:09

I DON'T KNOW WHAT'S HAPPENING.
"/home/stefan/mt-build/build/minetest_64/minetest/src/server.cpp" - Why it appears on my debug info? What's happening?

here's the 'error':
    2016-11-08 09:26:45: ERROR[Emerge-0]: Invalid block data in database (13,1,-23) (SerializationError): decompressZlib: inflate failed
    2016-11-08 09:26:45: ERROR[Emerge-0]: Ignoring block load error. Duck and cover! (ignore_world_load_errors)
    2016-11-08 09:26:45: [Emerge-0]: zerr: invalid or incomplete deflate data
    2016-11-08 09:26:45: ERROR[Emerge-0]: Invalid block data in database (14,1,-23) (SerializationError): decompressZlib: inflate failed
    2016-11-08 09:26:45: ERROR[Emerge-0]: Ignoring block load error. Duck and cover! (ignore_world_load_errors)
    2016-11-08 09:26:48: ERROR[Server]: An unhandled exception occurred: Failed to save block: database disk image is malformed
    2016-11-08 09:26:48: ERROR[Server]: In thread 1670:
    2016-11-08 09:26:48: ERROR[Server]: /home/stefan/mt-build/build/minetest_64/minetest/src/server.cpp:73: run: A fatal error occured: Failed to save block: database disk image is malformed
    2016-11-08 09:26:48: ERROR[Server]: Debug stacks:
    2016-11-08 09:26:48: ERROR[Server]: DEBUG STACK FOR THREAD 14c:
    2016-11-08 09:26:48: ERROR[Server]: #0 run
    2016-11-08 09:26:48: ERROR[Server]: DEBUG STACK FOR THREAD 1544:
    2016-11-08 09:26:48: ERROR[Server]: #0 main
    2016-11-08 09:26:48: ERROR[Server]: #1 Dedicated server branch
    2016-11-08 09:26:48: ERROR[Server]: #2 dedicated_server_loop
    2016-11-08 09:26:48: ERROR[Server]: DEBUG STACK FOR THREAD 1670:
    2016-11-08 09:26:48: ERROR[Server]: #0 run
    2016-11-08 09:26:48: ERROR[Server]: DEBUG STACK FOR THREAD 1ca4:
    2016-11-08 09:26:48: ERROR[Server]: #0 run
How can I stop this?
Last edited by ParaklataChotou on Tue Nov 08, 2016 15:17, edited 1 time in total.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: MY SERVER IS CRASHING EVERYTIME WITH WEIRD SIRCUMSTANCES

by ParaklataChotou » Tue Nov 08, 2016 14:20

Ok, I've tried to fixing changing the env_meta file. and by the moment is working. But it's very weird that there appears a UNIX directory, on my debug file. I want to know how can I protect my server against these 'hackers' or whatever.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

mystik
Member
 
Posts: 56
Joined: Tue Oct 28, 2014 22:16
GitHub: jasonjayr
In-game: mystik

Re: MY SERVER IS CRASHING EVERYTIME WITH WEIRD SIRCUMSTANCES

by mystik » Tue Nov 08, 2016 14:25

stefan is the name of minetest developer that built the release you're using.

The key message for you is: "run: A fatal error occured: Failed to save block: database disk image is malformed"

Your map.sqlite file is corrupt. *OR* perhaps you have 2 copies of minetest hitting the same map.sqlite file, *OR* you're having hard disk problems. (Try dmesg | tail and look for ATA/BLOCK errors)

If this is a brand new world, easiest thing is to fully stop all copies of the minetest server, delete map.sqlite it will re-generate your map from a blank slate.

If you're trying to recover it ..... you need to figure out how to use sqlite to recover it. SQLite is supposed to be *VERY* durable and hard to corrupt (https://www.sqlite.org/testing.html - their testing rubric is very rigorous). Try see if you can run sqlite3 map.sqlite, then SELECT count(*) from blocks; to see if sqlite will even read it.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: MY SERVER IS CRASHING EVERYTIME WITH WEIRD SIRCUMSTANCES

by ParaklataChotou » Wed Nov 09, 2016 16:33

mystik wrote:stefan is the name of minetest developer that built the release you're using.

The key message for you is: "run: A fatal error occured: Failed to save block: database disk image is malformed"

Your map.sqlite file is corrupt. *OR* perhaps you have 2 copies of minetest hitting the same map.sqlite file, *OR* you're having hard disk problems. (Try dmesg | tail and look for ATA/BLOCK errors)

If this is a brand new world, easiest thing is to fully stop all copies of the minetest server, delete map.sqlite it will re-generate your map from a blank slate.

If you're trying to recover it ..... you need to figure out how to use sqlite to recover it. SQLite is supposed to be *VERY* durable and hard to corrupt (https://www.sqlite.org/testing.html - their testing rubric is very rigorous). Try see if you can run sqlite3 map.sqlite, then SELECT count(*) from blocks; to see if sqlite will even read it.

That's not. Here's something weird... It's the hostname. Something's wrong in serverlist.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: MY SERVER IS CRASHING EVERYTIME WITH WEIRD SIRCUMSTANCES

by Fixerol » Wed Nov 09, 2016 17:43

Your world database is probably corrupted.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: MY SERVER IS CRASHING EVERYTIME WITH WEIRD SIRCUMSTANCES

by ParaklataChotou » Thu Nov 10, 2016 04:04

Fixerol wrote:Your world database is probably corrupted.

how can I fix it?
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: MY SERVER IS CRASHING EVERYTIME WITH WEIRD SIRCUMSTANCES

by Fixerol » Thu Nov 10, 2016 13:38

I'm not really sure, try searching on forum.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: MY SERVER IS CRASHING EVERYTIME WITH WEIRD SIRCUMSTANCES

by ParaklataChotou » Thu Nov 10, 2016 23:05

Fixerol wrote:I'm not really sure, try searching on forum.

I just backed up the server. and that's it. It's fixed n_n. Thank you anyways. Now the error is not occurring. Sadly, I've lost part of a progress of my new spawn, but anyways.

How to backup your world? go to /minetest/world" folder, select one of those folders who says some kind of ip - if it's the ip of your server, then select it. Copy the map.mysql file, and paste it over the world folder. And that's it.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 


Return to Minetest Servers

Who is online

Users browsing this forum: No registered users and 11 guests

cron