Well I was running a server on my dedicated server using putty and I did that command screen sh minecraft.sh and it generated the world files and such but I wanted to move the files over to a new folder so I deleted all the world files and everything else and then I closed putty and reopend and tried to run screen sh minecraft.sh on my directory I wanted to run in but its said Failed to Bind Port Is there something wrong? Anyone can help? anyone? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Open up your .sh file and make sure it's configured correctly, some variables may have changed with the deletion/replacement of the world. Also, "Failed to bind to port" normally happens when the port is already occupied, make sure you haven't defined the port twice.
This is my sh file java -Xmx8G -jar craftbukkit.jar But I think its because I did Screen and then I closed putty so it might be running
Yeah, kill the server (kill -9) and try again. .sh files are shell scripts used to run stuff, not .jar files
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Thats what happen when i do kill -9
You need the process id Kill -9 <process id> If you type: vncserver (or whatever your server launch command is) into your console, it should tell you "This process is already running blah blah the process id is: 00000 <- This is the id you kill.
ok you need to close the server... login to putty type in screen -rd then type stop .....to stop your server ......they you can open your server back up by navigating to the folder and using screen ./minecraft.sh
stop should be a command for your bukkit server it should stop the server.........alternatively when your in the screen you can try cntrl +c although that is more violent