Hijacking this thread: Any tutorial on how to do this on Linux with SSH? More specifically Debian 5.0 x64.
What you're looking for is LAMP. Google "LAMP ssh install tutorial debian" and you should find a number of resources. One nice thing with Debian is you can choose to install the LAMP packages during the installation process. I assume, however, since you're using ssh, that you don't have direct access to installing the OS.
I've heard conflicting opinions on this before, and I'm sure I'll get them here, but I've never really gotten a good answer. Which Java is best for a Minecraft server and why: OpenJDK, Sun Java, or does it really not matter?
Your best bet is to set up a basic WAMP install. This is for Windows and will give you Apache MySql and PHP. Apache is used for hosting a web server. MySql is the database software you're trying to learn. PHP is a server-side scripting language that is useful for accessing MySql. Once you install WAMP you should get a utility like PHPMyAdmin to modify databases and their corresponding tables.
Sorry. I meant minecraft.jar, not minecraft_server.jar. Figured you'd realize I knew it was a client mod since I'm talking about the %appdata%\Roaming\.minecraft\bin directory. Previous post edited to reflect this.
I'm really excited to use this as it looks like a lot of fun. I tried installing it and when I ran Minecraft nothing appeared to have changed. I'm sure I did something wrong along the way, but here's what I did:
1) Got Modloader from the link in the OP and copied its contents into my minecraft.jar using WinRAR in %appdata%\Roaming\.minecraft\bin. Then I started Minecraft, logged in and then out to verify things still worked.
2) Got SettingsAPI from the link in the OP and repeated the above procedure.
3) Got this mod from the link in the OP and repeated the above procedure again.
At this point my minecraft functions as it used to, with no added functionality to boats. Is there something I've missed?
What you're describing sounds like a lack of memory or processing on the part of the server. Your best bet is either to free up some memory on the server (close open programs etc...) or increase the memory on the server (buy more ram). Also, as a previous poster suggested, if you're using one computer for the server and the client, it had better be powerful.
tried rebooting the computer? it could be that a stale copy of the server is still running in the background (stale meaning, its up, bound to the port, but not accessible). rebooting the server would solve this, or force closing any instances of java if youre comfy doing that.
**** FAILED TO BIND TO PORT! can be caused by a few things, but based on YOUR debug output, ^^ is the most likely cause.
Way to make me look like a moron haha (cant believe that worked). Restarted my linux server and my minecraft server started up but with errors.
Now I'm getting:
SEVERE: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/xawt/libmawt.so (Is it up to date?)
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/xawt/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1684)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1614)
at java.awt.Toolkit.<clinit>(Toolkit.java:1636)
at java.awt.Color.<clinit>(Color.java:279)
at org.dynmap.kzedmap.KzedMap.loadColorSet(KzedMap.java:351)
at org.dynmap.kzedmap.KzedMap.<init>(KzedMap.java:40)
at org.dynmap.MapManager.<init>(MapManager.java:60)
at org.dynmap.DynmapPlugin.onEnable(DynmapPlugin.java:45)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:294)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:64)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:45)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:181)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
I've tried running "apt-get install default-jre" and that's up to date. Anything else I'm missing?
I used to run two servers on two ports, one hell, one normal. If you're using bukkit you can use this plugin to teleport between servers. For this to work properly you either need to also run a proxy server or mod your client.
All in all at the moment, its more work than its worth. Hopefully Notch'll find a way to have one server be able to run hell and the normal world on the same port soon.
2011-02-04 11:53:25 [INFO] Starting minecraft server version Beta 1.2_01
2011-02-04 11:53:25 [INFO] Loading properties
2011-02-04 11:53:25 [INFO] Starting Minecraft server on *:25565
2011-02-04 11:53:25 [WARNING] **** FAILED TO BIND TO PORT!
2011-02-04 11:53:25 [WARNING] The exception was: java.net.BindException: Address already in use
2011-02-04 11:53:25 [WARNING] Perhaps a server is already running on that port?
Also I checked this post: viewtopic.php?f=1013&t=39541 which seems to indicate an issue with Debian trying to use ipv6 over ipv4 but their solution didn't work for me.
I've been running a minecraft server on my linux box for some time now. I recently just ditched my old linux distro for Debian. I didn't touch my portmaps so those stayed the same. After doing a clean install of Debian, I made sure my java was installed and up to date, copied my minecraft server back to my linux server, tried to start it up, and I'm getting the "Failed to bind to port, address already in use" error.
After seeing this I tried running lsof -i :25565 to see what was running on that port and got:
This leads me to believe that java is listening on that port, but nothing is running.
I then tried running it on 25564 as well as a number of other ports and they all come up with the same result: the failed to bind to port error.
Is there any other reason for getting this error than the port being in use, or maybe have I overlooked something?
Edit: I should note that I'm doing everything the same way as I had it before which was working. I've also disabled my firewall for the moment while I try to figure this out. My router is forwarding the same ports as before and doesn't have firewall software in it.
0
0
What you're looking for is LAMP. Google "LAMP ssh install tutorial debian" and you should find a number of resources. One nice thing with Debian is you can choose to install the LAMP packages during the installation process. I assume, however, since you're using ssh, that you don't have direct access to installing the OS.
0
0
Google is your friend:
http://www.google.com/search?ie=UTF-8&q ... l+tutorial
Hope this helps.
0
Sorry. I meant minecraft.jar, not minecraft_server.jar. Figured you'd realize I knew it was a client mod since I'm talking about the %appdata%\Roaming\.minecraft\bin directory. Previous post edited to reflect this.
0
I'm really excited to use this as it looks like a lot of fun. I tried installing it and when I ran Minecraft nothing appeared to have changed. I'm sure I did something wrong along the way, but here's what I did:
1) Got Modloader from the link in the OP and copied its contents into my minecraft.jar using WinRAR in %appdata%\Roaming\.minecraft\bin. Then I started Minecraft, logged in and then out to verify things still worked.
2) Got SettingsAPI from the link in the OP and repeated the above procedure.
3) Got this mod from the link in the OP and repeated the above procedure again.
At this point my minecraft functions as it used to, with no added functionality to boats. Is there something I've missed?
0
0
0
Way to make me look like a moron haha (cant believe that worked). Restarted my linux server and my minecraft server started up but with errors.
Now I'm getting:
I've tried running "apt-get install default-jre" and that's up to date. Anything else I'm missing?
0
If this is something you're considering seriously take a look here http://forums.bukkit.org/threads/tp-ser ... m-230.777/
I used to run two servers on two ports, one hell, one normal. If you're using bukkit you can use this plugin to teleport between servers. For this to work properly you either need to also run a proxy server or mod your client.
All in all at the moment, its more work than its worth. Hopefully Notch'll find a way to have one server be able to run hell and the normal world on the same port soon.
0
2011-02-04 11:53:25 [INFO] Starting minecraft server version Beta 1.2_01
2011-02-04 11:53:25 [INFO] Loading properties
2011-02-04 11:53:25 [INFO] Starting Minecraft server on *:25565
2011-02-04 11:53:25 [WARNING] **** FAILED TO BIND TO PORT!
2011-02-04 11:53:25 [WARNING] The exception was: java.net.BindException: Address already in use
2011-02-04 11:53:25 [WARNING] Perhaps a server is already running on that port?
Also I checked this post: viewtopic.php?f=1013&t=39541 which seems to indicate an issue with Debian trying to use ipv6 over ipv4 but their solution didn't work for me.
0
Looks like your server is out of date.
0
I've been running a minecraft server on my linux box for some time now. I recently just ditched my old linux distro for Debian. I didn't touch my portmaps so those stayed the same. After doing a clean install of Debian, I made sure my java was installed and up to date, copied my minecraft server back to my linux server, tried to start it up, and I'm getting the "Failed to bind to port, address already in use" error.
After seeing this I tried running lsof -i :25565 to see what was running on that port and got:
java 3702 root 11u IPv4 11305 TCP *:25565 (LISTEN)
This leads me to believe that java is listening on that port, but nothing is running.
I then tried running it on 25564 as well as a number of other ports and they all come up with the same result: the failed to bind to port error.
Is there any other reason for getting this error than the port being in use, or maybe have I overlooked something?
Edit: I should note that I'm doing everything the same way as I had it before which was working. I've also disabled my firewall for the moment while I try to figure this out. My router is forwarding the same ports as before and doesn't have firewall software in it.