Minecraft server not working

What's the output of

java -version

edit: also when you run the command you quoted there are you logged in as "myuser"? Also what Distro - Ubuntu?

I am running Debian 6.0.7

Java:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
OpenJDK Server VM (build 14.0-b16, mixed mode)
 
Okay OpenJDK is meant to be buggy as hell and not very good for minecraft... so try this (copied from the wiki since I don't use Debian myself):

Ensure that the non-free repository is being scanned by apt. You do this by adding non-free to your /etc/apt/sources.list file

deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free

Update your sources list (as root):

apt-get update

Then to install Java, simply type this in terminal and press enter (as root):

apt-get install sun-java6-jre

...

Then try printing the version again, you want it to be the proper Oracle java
 
Okay OpenJDK is meant to be buggy as hell and not very good for minecraft... so try this (copied from the wiki since I don't use Debian myself):

Ensure that the non-free repository is being scanned by apt. You do this by adding non-free to your /etc/apt/sources.list file

deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free

Update your sources list (as root):

apt-get update

Then to install Java, simply type this in terminal and press enter (as root):

apt-get install sun-java6-jre

...

Then try printing the version again, you want it to be the proper Oracle java

Did that, it installed something, got a blue ToC screen. But I still get:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
OpenJDK Server VM (build 14.0-b16, mixed mode)

Also, I am very hesitant with this server as I do not have physical access to it.
 
I uninstalled and reinstalled java, I now get:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)

Although, the server is same as before.
 
Not that I think it is likely to be your problem but you may want to update to Java 7.

You may want to experiment with downloading and trying Bukkit instead of vanilla Minecraft. Sometimes there are bugs with the original server that are fixed in Bukkit (once again I doubt this is likely to be your issue but you may as well try everything at this point).
 
Not that I think it is likely to be your problem but you may want to update to Java 7.

You may want to experiment with downloading and trying Bukkit instead of vanilla Minecraft. Sometimes there are bugs with the original server that are fixed in Bukkit (once again I doubt this is likely to be your issue but you may as well try everything at this point).

Any idea on how to install Java 7?
 
Just to say I checked on my server and it's the same version as the one you reported (well, mine is the 64bit version but otherwise identical)... And mine was working last time I tried it - this was with the Bukkit server at around minecraft version 1.5... haven't tried it lately
 
I have tried this on a more powerful dual 2.4Ghz dual core Xeon in the same server room. I get the same issue, only part of the map loads. This server has the same OS and version of Java.
 
Hmm... I take it you're using matching versions of the server .jar and java (i.e. 32bit for both or 64bit for both)? Did you try Bukkit? Even if you don't want to use any mods you can just run Bukkit without them and it should appear pretty much like the normal server
 
Hmm... I take it you're using matching versions of the server .jar and java (i.e. 32bit for both or 64bit for both)? Did you try Bukkit? Even if you don't want to use any mods you can just run Bukkit without them and it should appear pretty much like the normal server

Yes they are both running 32bit Debian 6.0.7, Java 6 and the latest version of Minecraft. Furthermore I installed the 32bit version of Debian 6.0.7, Java 6 and Minecraft on a VM and it worked fine.

So it is not Java or the OS, it is something that both the main servers have in common but not the VM. Which would be HDD speed, memory speed and the network.
 
It's most likely a software issue. If you can't get the OS reinstalled on the servers I'm not sure what you could do. Perhaps try running a VM inside one of the servers?
 
Back
Top Bottom