Unable to access jarfile on Linux

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

TheJohnBoat

New Member
Jul 29, 2019
2
0
0
I keep getting this error message when i try to start my FTB Unleashed server up:

Error: Unable to access jarfile ftbserver.jar

This happens when i try to run the serverstart.sh in the folder where all the files are located. Just a note i am running Ubuntu. Any help on how to fix this?
 

Eggo

New Member
Jul 29, 2019
1
0
0
I had the same issue. Only way I know to get around it is to open terminal and change the directory to the folder you put the server files in, then run serverstart.sh.

This is what I typed into the terminal. You'll need to change the directory to reflect where you put your server files.
Code:
cd /home/dustyoldcomputer/desktop/FTB
Then..
Code:
serverstart.sh
 

TheJohnBoat

New Member
Jul 29, 2019
2
0
0
When I typed in this command:

cd '/home/luke/Desktop/Minecraft server'

then,

sh serverstart.sh

I got this error message,

sh: 0: Can't open serverstart.sh

Anything else I could try?
 

oppositeZERO

New Member
Jul 29, 2019
64
0
0
You need to execute the startup.sh in the folder where it is located which will be wherever you put it.

It wont be in "cd '/home/luke/Desktop/Minecraft server'" unless you specifically put it there.

Have a think where it might be, and I may be able to help.

Did you just extract the content of the zip in your root folder, or did you create a user and place the files in their directory?

Also do ls to see whats in the folder you're in then you can do cd and the folder name to open that folder and cd .. to go back.

Also make sure the jarfile name matches the name inside the bash script.

Cheers
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
Make sure the ServerStart.sh is actually executable by entering
Code:
chmod +x ServerStart.sh
then ./ServerStart.sh or sh ServerStart.sh