Hi, I have posted in the spigot help forums and haven't gotten an answer yet after a few days, so I am posting this here.
I am trying to start up a server on my Ubuntu(Linux) laptop, using Spigot. I already ran Buildcraft, and moved on to installing and running Spigot. I have also extracted the spigot executable, in another folder.
Then, following instructions, I created a script file(.sh) inside of the spigot file(which was created by running the spigot executable), and moved on to the next step, where I opened a terminal and input the command chmod +x start.sh.
However, when I executed the command in the terminal, I ran into an error I haven't had any luck fixing: "chmod: cannot access ‘start.sh’: No such file or directory"
I've tried changing the file name to it's directory path, but I get the same error!
If anyone can help, please do! It would be much appreciated!
I recently moved on from Windows to Linux, so I am still figuring things out. When I ran BuildTools for the weirdest reason it put everything in the home directory while it was sitting in Documents, which must have caused this. But I am still confused about where do you see my file path in the terminal window? Maybe it's obvious and I'm just being stupid, haha. Thanks for responding!
After I ran those commands, I ran into yet another error. 'Tis the life of a coder.. Anyway, I'm not sure if I'm supposed to post this here or create another thread, but as this is directly linked to everything above I'll go ahead and post it here.
After I followed your steps that all worked beautifully, and ran the command I was having trouble with in the first place, I then moved onto the next step of installing spigot, where I ran the command "./start.sh" in the terminal.
When I ran it, out came the next pesky error, "Error: Unable to access jarfile spigot.jar". I couldn't find any file named "spigot.jar" so I tried the spigot1.1.something.jar file, I've tried changing the properties to allow the jar to run as executable, and moving it into the actual folder. Is it possible there is a second spigot.jar I haven't seen yet, or that the other file didn't unpack properly?
That was what I was supposed to do, but it specifically asks for "spigot.jar" not "spigot.1.1.x.jar", which is the only spigot related executable I have.
Hi, I have posted in the spigot help forums and haven't gotten an answer yet after a few days, so I am posting this here.
I am trying to start up a server on my Ubuntu(Linux) laptop, using Spigot. I already ran Buildcraft, and moved on to installing and running Spigot. I have also extracted the spigot executable, in another folder.
Then, following instructions, I created a script file(.sh) inside of the spigot file(which was created by running the spigot executable), and moved on to the next step, where I opened a terminal and input the command chmod +x start.sh.
However, when I executed the command in the terminal, I ran into an error I haven't had any luck fixing: "chmod: cannot access ‘start.sh’: No such file or directory"
I've tried changing the file name to it's directory path, but I get the same error!
If anyone can help, please do! It would be much appreciated!
try right clicking on the file scroll down to propities and change the permissions there
In your terminal window, it looks like you're still sitting in the home directory. Of course it won't work.
Type:
cd Documents (press ENTER)
cd Amaz (press TAB to auto complete then ENTER)
cd spigot-1.10.2 (press ENTER)
Then you should be able to chmod +x start.sh
Or, since you're obviously unfamiliar with terminal, you can skip all that and do as lcswolf said.
It worked! Thanks a ton!
I recently moved on from Windows to Linux, so I am still figuring things out. When I ran BuildTools for the weirdest reason it put everything in the home directory while it was sitting in Documents, which must have caused this. But I am still confused about where do you see my file path in the terminal window? Maybe it's obvious and I'm just being stupid, haha. Thanks for responding!
After I ran those commands, I ran into yet another error. 'Tis the life of a coder.. Anyway, I'm not sure if I'm supposed to post this here or create another thread, but as this is directly linked to everything above I'll go ahead and post it here.
After I followed your steps that all worked beautifully, and ran the command I was having trouble with in the first place, I then moved onto the next step of installing spigot, where I ran the command "./start.sh" in the terminal.
When I ran it, out came the next pesky error, "Error: Unable to access jarfile spigot.jar". I couldn't find any file named "spigot.jar" so I tried the spigot1.1.something.jar file, I've tried changing the properties to allow the jar to run as executable, and moving it into the actual folder. Is it possible there is a second spigot.jar I haven't seen yet, or that the other file didn't unpack properly?
Looks like you have extracted your spigot jar
That was what I was supposed to do, but it specifically asks for "spigot.jar" not "spigot.1.1.x.jar", which is the only spigot related executable I have.
In the start up script change the spigot.jar to what ever your server jar is. There is no need to extract your server jar
I could have sworn it said for me to, but I was wrong!
I know how to fix it i posted it to you on Curse in the Minecraft forum but ill post it here too :
In the Start file replace spigot.jar with THE EXACT same name as the JAR file you want to run that seems for you to be spigot-1.10.2.jar
Then it should rund fine
Pro_Cake_Forum and Icswolf thanks for those replies, they both worked! Woohoo!
Remember Text files that is opening a JAR File needs always to have the EXACT same name as the JAR file inside of it or it wont open it
Yeah I knew that my brain was just being a dum dum, I have another question/problem maybe you can help me out with! http://www.minecraftforum.net/forums/support/server-support/2750241-start-sh-not-running-terminal-when-run-instead