As an old bukkit plugin developer, I really don't know how you do it dude. So much complaining here, regardless of how awesome the mod is (it's unbelievable btw) I want to donate just because you have dealt with all of these immature brats that talk **** because "I don't like the name" or "I don't care that you spent hundreds of hours doing a great service to the community, I want you to give up your distro rights so I can get my way".
Let me just say, from a young programmer to much more veteran one, thank you for all of your work on the mod and your magical, endless patience. Please, don't ever add this to the yogbox or whatever it is. Keep doing exactly what you're doing.
And to all the self entitled jackasses this thread has endured, I have windmills and you don't. Suck it.
So I was having this problem with my VPS, and I have come pretty close to figuring it out so I came back here to post it :smile.gif:
The problem with our chunks, we came to find out, was that the file became stale. Right before the chunks would be reset, I could run an ls -l on the world folder as root and find a ton of files that wouldn't return anything and giving me permission denied errors. Ex.
ls -l
ls: cannot access c.-1.-12.dat: Permission denied
total 16
-????????? ? ? ? ? ? c.-1.-12.dat
-rw-r--r-- 1 root root 2863 Jan 18 18:09 c.-1.q.dat
-rw-r--r-- 1 root root 1941 Jan 18 18:09 c.-1t.-12.dat
-rw-r--r-- 1 root root 2448 Jan 18 18:09 c.-1t.4a.dat
-rw-r--r-- 1 root root 2571 Jan 18 18:09 c.-1t.q.dat
Come to find out, it's because minecraft has to save those files so often it causes race conditions if your using a RAID configuration. Once a race condition happens, the file goes stale and minecraft will recreate it using the seed for that world (reseting the chunk).
We have now moved our server to a single drive machine, I'll report back here if we're still getting missing chunks, but we're all pretty positive that's exactly what was going on.
Update: Whatever the problem was, I got fed up and rebooted my VPS. That seemed to do the trick, all the files became readable again. I assume some process was still using them, but I have no idea what process that would be since java (minecraft) wasn't running and all I really had going was apache2.
I can't quite tell, ls -l is returning permission denied as well.
root@mc:~# ls -l /minecraft/world/1r/q/c.-1.-12.dat
ls: cannot access /minecraft/world/1r/q/c.-1.-12.dat: Permission denied
Doing the parent directory yields:
ls -l
ls: cannot access c.-1.-12.dat: Permission denied
total 16
-????????? ? ? ? ? ? c.-1.-12.dat
-rw-r--r-- 1 root root 2863 Jan 18 18:09 c.-1.q.dat
-rw-r--r-- 1 root root 1941 Jan 18 18:09 c.-1t.-12.dat
-rw-r--r-- 1 root root 2448 Jan 18 18:09 c.-1t.4a.dat
-rw-r--r-- 1 root root 2571 Jan 18 18:09 c.-1t.q.dat
What user is the script running as?
root
What user is the Minecraft server running as?
root
I tried chmod and chown, all to no avail as the root user. I believe chunk saving got an update with this past update to help with chunk corruption, I thought this might be an effect of that update.
EDIT: The slash before minecraft/world is so that tar won't throw the "/bin/tar: Removing leading `/' from member name" warning. Does the same as /minecraft/world, just tidier :smile.gif:
I'm running a beta 1.2_01 server on ubuntu. I wrote a backup script to backup the world directory every 6 hours, it sends the following commands (I have a screen running the server named minecraft):
While running the previous beta this was working fine, now I'm getting all kinds of permission denied errors and the tar isn't completing. Any insight to this problem would be greatly appreciated. I've had the permission denied errors while the server was shut down (properly, using stop) and tried to restart the server to have the world completely regenerated.
I really hope this fixes (and by fix, I mean bypass) the corrupt chunk/reseting chunk problem that's been going around. This is my last resort lol. Thanks for the work!
I'm trying to find a way to have my web server report the current time of day it is on the server. I can't seem to find any plugins that will put the time of day (on time change) in the server.log or really any other way to accomplish this outside of having php use gzopen on the level.dat file. Even then, I can find the 'ticks' but no real way to tell the time with them.
Has anyone else managed to do this or am I just wishful thinking.
0
0
Let me just say, from a young programmer to much more veteran one, thank you for all of your work on the mod and your magical, endless patience. Please, don't ever add this to the yogbox or whatever it is. Keep doing exactly what you're doing.
And to all the self entitled jackasses this thread has endured, I have windmills and you don't. Suck it.
0
The problem with our chunks, we came to find out, was that the file became stale. Right before the chunks would be reset, I could run an ls -l on the world folder as root and find a ton of files that wouldn't return anything and giving me permission denied errors. Ex.
Come to find out, it's because minecraft has to save those files so often it causes race conditions if your using a RAID configuration. Once a race condition happens, the file goes stale and minecraft will recreate it using the seed for that world (reseting the chunk).
We have now moved our server to a single drive machine, I'll report back here if we're still getting missing chunks, but we're all pretty positive that's exactly what was going on.
Hope this can help someone.
0
Thanks for the help!
0
I can't quite tell, ls -l is returning permission denied as well.
Doing the parent directory yields:
root
root
I tried chmod and chown, all to no avail as the root user. I believe chunk saving got an update with this past update to help with chunk corruption, I thought this might be an effect of that update.
EDIT: The slash before minecraft/world is so that tar won't throw the "/bin/tar: Removing leading `/' from member name" warning. Does the same as /minecraft/world, just tidier :smile.gif:
0
While running the previous beta this was working fine, now I'm getting all kinds of permission denied errors and the tar isn't completing. Any insight to this problem would be greatly appreciated. I've had the permission denied errors while the server was shut down (properly, using stop) and tried to restart the server to have the world completely regenerated.
0
0
0
Has anyone else managed to do this or am I just wishful thinking.
Thanks!
0