Page 1 of 1

Server shut down on start.

PostPosted: Sun May 29, 2016 10:23
by Lejo
For a day my server shutdown.
After that i can't restart it I always get a Error then I made a restor but the same The server shut down.

Here the Error:
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
2016-05-29 10:11:10: ACTION[Main]:         .__               __                   __   
2016-05-29 10:11:10: ACTION[Main]:   _____ |__| ____   _____/  |_  ____   _______/  |_
2016-05-29 10:11:10: ACTION[Main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
2016-05-29 10:11:10: ACTION[Main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  | 
2016-05-29 10:11:10: ACTION[Main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__| 
2016-05-29 10:11:10: ACTION[Main]:       \/        \/     \/          \/     \/       
2016-05-29 10:11:10: ACTION[Main]: World at [/home/minetest/.minetest/worlds/Energy]
2016-05-29 10:11:10: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:30002.
2016-05-29 10:11:11: ACTION[Server]: Announcing to servers.minetest.net
2016-05-29 10:11:13: ACTION[Server]: [playereffects] Autosaving mod data to playereffects.mt ...
2016-05-29 10:11:13: ACTION[Server]: [playereffects] Wrote playereffects data into /home/minetest/.minetest/worlds/Subgames/playereffects.mt.
2016-05-29 10:11:15: ERROR[Server]: An unhandled exception occurred: Failed to save block: database disk image is malformed
2016-05-29 10:11:15: ERROR[Server]: In thread 7f5fa7fff700:
2016-05-29 10:11:15: ERROR[Server]: /home/minetest/minetest/src/server.cpp:73: virtual void* ServerThread::run(): A fatal error occured: Failed to save block: database disk image is malformed
2016-05-29 10:11:15: ERROR[Server]: Debug stacks:
2016-05-29 10:11:15: ERROR[Server]: DEBUG STACK FOR THREAD 7f5fa6ffd700:
2016-05-29 10:11:15: ERROR[Server]: #0  virtual void* EmergeThread::run()
2016-05-29 10:11:15: ERROR[Server]: DEBUG STACK FOR THREAD 7f5fa77fe700:
2016-05-29 10:11:15: ERROR[Server]: #0  virtual void* CurlFetchThread::run()
2016-05-29 10:11:15: ERROR[Server]: DEBUG STACK FOR THREAD 7f5fa7fff700:
2016-05-29 10:11:15: ERROR[Server]: #0  virtual void* ServerThread::run()
2016-05-29 10:11:15: ERROR[Server]: DEBUG STACK FOR THREAD 7f5fb87f4780:
2016-05-29 10:11:15: ERROR[Server]: #0  int main(int, char**)
2016-05-29 10:11:15: ERROR[Server]: #1  Dedicated server branch
2016-05-29 10:11:15: ERROR[Server]: #2  void dedicated_server_loop(Server&, bool&)


Please help.

Re: Server shut down on start.

PostPosted: Sat Jun 18, 2016 01:46
by MykieDoesStuff
I don't know.. but.... maybe it's the autosaving mod? Try removing that, and see whether it starts.

Whenever I have issues, I just check which mod is causing the problem.

Re: Server shut down on start.

PostPosted: Sat Jun 18, 2016 02:23
by BrandonReese
Corrupt database? Full hard drive?

Re: Server shut down on start.

PostPosted: Sat Jun 18, 2016 14:20
by MykieDoesStuff
BrandonReese wrote:Corrupt database? Full hard drive?

Could be that.. http://stackoverflow.com/questions/5274 ... -malformed

But I'm guessing that he has plenty of space... So maybe his data got corrupted.

If you have a backup, try running that.

Re: Server shut down on start.

PostPosted: Mon Jun 20, 2016 17:55
by Lejo
Hard drive is not full.
But if I run a Backup I can join but one second after join the server shutdown.
I think my Backup is crashed just because I doesn't shut the server down for a Backup.

Re: Server shut down on start.

PostPosted: Mon Jun 20, 2016 18:04
by BrandonReese
Lejo wrote:Hard drive is not full.
I think my Backup is crashed just because I doesn't shut the server down for a Backup.


That'll do it. It's uncertain whether you'll get a good backup or not without shutting down. Maybe there are tools that can fix it with minimal data loss. I don't know that for sure, my experience maintaining an SQLite Database is limited.