FAILED TO BIND THE PORT (Linux)

Discussion in 'Bukkit Help' started by buggermenot, Oct 13, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    buggermenot

    I have the following problem with my openSUSE 12.1!
    I want to host a Bukkit Server on this machine.
    My problem is he does not start the server!
    Here is a log of my server:

    195 recipes
    27 achievements
    >11:02:29 [WARNING] Failed to log to server.log
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(libgcj.so.13)
    at java.io.File.getParent(libgcj.so.13)
    at java.io.File.mkdirs(libgcj.so.13)
    at java.io.File.mkdirs(libgcj.so.13)
    at net.minecraft.server.ConsoleLogManager.init(ConsoleLogManager.java:86)
    erver.init(DedicatedServer.java:43)dS
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    11:02:29 [INFO] Starting minecraft server version 1.3.2
    11:02:29 [INFO] Loading properties
    11:02:29 [INFO] Default game type: SURVIVAL
    11:02:29 [INFO] Generating keypair
    11:02:30 [INFO] Starting Minecraft server on *:25565
    11:02:30 [WARNING] **** FAILED TO BIND TO PORT!
    11:02:30 [WARNING] The exception was: java.lang.NoSuchMethodError: method java.net.ServerSocket.setPerformancePreferences with signature (III)V was not found.
    11:02:30 [WARNING] Perhaps a server is already running on that port?

    Can you help me??
    Thanks in advance!
     
  2. Not sure if you have already fixed this.
    Open the shell and type 'fuser -n tcp 25565'.

    You should get something like this.
    25565/tcp: 17169

    The 17169 is the pidnumber, your will be different than the one I posted here.

    Then just use 'kill -9 pidnumber' where the pidnumber is replaced by the one you have.

    Hope this helps.
     
  3. Offline

    TnT

    As ibab eluded to, you seem to have another server, or possibly application, using port 25565 already.
     
  4. Offline

    buggermenot

    If I "fuser-n tcp 25565" Add the, then I get no response from the server! fuser.jpg
    And then if I want to start the server then comes the same thing again! Faild.jpg
    If I have to take the picture without root then please say!
    anderer port.jpg
    And at a different port!
     
  5. Offline

    TnT

    What version of Java?
     
  6. Offline

    buggermenot

    Can you tell me how to retrieve the java version?
     
  7. Offline

    TnT

    Type:
    java -version
     
  8. Offline

    buggermenot

    "java version" 1.5.0 "
    gij (GNU libgcj) version 4.7.1 20120723 [gcc-4_7-branch revision 189773]

    Copyright (C) 2007 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. "

    If my version is too old what do I need to do (I'm a noob in this)
     
  9. Offline

    Gunnerrrrr

    I run a liunx server and this is what I do, but don't quote me because I could be wrong for you.

    Open the shell and type htop then hit f9 and scroll up to SIGKILL and hit enter, then it should work.

    Again, this is just what I do, so not sure I'm right for you.
     
  10. Offline

    buggermenot

    It still does not!
    I have (almost) all tasks closed but there is the same message!
    I still have no idea how I bring the server to run.
     
  11. Offline

    Gunnerrrrr

    Try this.
    Open the MAIN folder on your server, then type shutdown -r now
    That will kill it and reboot. But it kills everything.
     
Thread Status:
Not open for further replies.

Share This Page