Why is this happening?



  • What is this. Why is it happening?

    Server is starting...
    
    ---------Running Pre-Flight, this might take a moment or two...---------
    
    Warning, your max perm gen size is not set or less than 128mb. It is recommended you restart Java with the following argument: -XX:MaxPermSize=128M
    Please see http://www.spigotmc.org/wiki/changing-permgen-size/ for more details and more in-depth instructions.Loading libraries, please wait...
    [16:24:44 INFO]: Starting minecraft server version 1.10.2
    [16:24:45 INFO]: Loading properties>
    [16:24:45 INFO]: Default game type: SURVIVAL
    [16:24:45 INFO]: This server is running CraftBukkit version git-Spigot-72c2605-709783c (MC: 1.10.2) (Implementing API version 1.
    10.2-R0.1-SNAPSHOT)>
    [16:24:45 INFO]: Unable to find file banned-players.json, creating it.>
    [16:24:45 INFO]: Unable to find file banned-ips.json, creating it.
    [16:24:45 INFO]: Unable to find file ops.json, creating it.
    [16:24:45 INFO]: Unable to find file whitelist.json, creating it.
    [16:24:45 INFO]: Server Ping Player Sample Count: 12
    
    [16:24:45 INFO]: Using 4 threads for Netty based IO>
    [16:24:45 INFO]: Debug logging is disabled>
    
    [16:24:45 INFO]: Generating keypair>
    [16:24:45 INFO]: Starting Minecraft server on 108.51.108.247:25565
    [16:24:45 INFO]: Using epoll channel type
    [16:24:45 WARN]: **** FAILED TO BIND TO PORT!
    
    [16:24:45 WARN]: The exception was: java.io.IOException: Error during bind(...): Cannot assign requested address
    >
    [16:24:45 WARN]: Perhaps a server is already running on that port?
    [16:24:45 INFO]: Stopping server
    [16:24:45 INFO]: Saving players
    [Scales] [WARNING] This server has been detected as crashed by the management daemon. Restarting now...
    
    ---------Running Pre-Flight, this might take a moment or two...---------
    
    Warning, your max perm gen size is not set or less than 128mb. It is recommended you restart Java with the following argument: -XX:MaxPermSize=128M
    Please see http://www.spigotmc.org/wiki/changing-permgen-size/ for more details and more in-depth instructions.Loading libraries, please wait...
    [16:24:54 INFO]: Starting minecraft server version 1.10.2
    [16:24:54 INFO]: Loading properties>
    [16:24:54 INFO]: Default game type: SURVIVAL
    [16:24:54 INFO]: This server is running CraftBukkit version git-Spigot-72c2605-709783c (MC: 1.10.2) (Implementing API version 1.10.2-R0.1-SNAPSHOT)
    [16:24:54 INFO]: Debug logging is disabled
    [16:24:54 INFO]: Server Ping Player Sample Count: 12
    
    [16:24:54 INFO]: Using 4 threads for Netty based IO>
    [16:24:54 INFO]: Generating keypair
    [16:24:55 INFO]: Starting Minecraft server on 108.51.108.247:25565
    [16:24:55 INFO]: Using epoll channel type
    [16:24:55 WARN]: **** FAILED TO BIND TO PORT!
    [16:24:55 WARN]: The exception was: java.io.IOException: Error during bind(...): Cannot assign requested address
    [16:24:55 WARN]: Perhaps a server is already running on that port?
    >
    [16:24:55 INFO]: Stopping server>
    [16:24:55 INFO]: Saving players>
    [Scales] [WARNING] This server has been detected as crashed by the management daemon. The restart process is being skipped due to the frequency at which this server is crashing (< 60 seconds between crashes).```


  • The server log says it: there is already another server running on that port.

    It's possible that you've restarted Scales without stopping the servers running on the server first. Scales does not automatically start/stop servers before stopping itself causing this problem.

    Log into the node with an account that has access to Sudo. Then use the following command:

    sudo ps aux | grep java | grep pp-
    

    You'll get an output similar to the following:

    scott@bhs1:~$ sudo ps aux | grep java | grep pp-
    root      5125  0.0  0.1  51004  3388 pts/0    Ss+  Oct29   0:00 su -s /bin/bash -l pp-demose_gl7rq -c cd ./public && java -Xms1024M -Xmx1024M -server -jar server.jar
    pp-demo+  5127  0.0  0.1  19788  3352 ?        Ss   Oct29   0:00 -su -c cd ./public && java -Xms1024M -Xmx1024M -server -jar server.jar
    pp-demo+  5128  2.3 32.7 3080692 654720 ?      Sl   Oct29  58:06 java -Xms1024M -Xmx1024M -server -jar server.jar
    

    The bottom line is the executable for your Minecraft server as it contains the launch command. The second field (in this case "5128") is the PID you can use to stop the server manually.

    Enter the following command (edit for your output)

    sudo kill 5128
    

    Then try starting your server again.



  • @ScottStevens How do I log into my node?



  • @jeomaster

    You would log into the Shell via SSH just like you did to set up Scales.



  • @ScottStevens I didn't get that output. Literally it just went to the next line ask for another cmd.



  • Can you post the output of :

    sudo ps aux | grep 25565
    


  • @See86

    //Here yah go...
    joel     13702  0.0  0.0   9496  2184 pts/0    S+   00:27   0:00 grep --color=auto 25565
    

    Not to sure what this all means though. I'm quite new. :(



  • Can you try a different port for your server



  • @See86 I will try. Though I have a new issue. Now the server wont even start.


Log in to reply
 

Looks like your connection to PufferPanel Community was lost, please wait while we try to reconnect.