HELP!!!

  • 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

John Blaze

New Member
Jul 29, 2019
14
0
0
Hey, I made a server and i can't get it to work. For some reason whenever i try to open it is says it can't find FTBServer-1.6.4-965.jar and then tells me to press any key to exit.
Please Help.
Thanks.
-John
 

Wagon153

New Member
Jul 29, 2019
3,148
-3
1
He is the the server tech support ;)

Report threads in wrong location will get them moved and not double posted ;)
Thank you. :)
Hey, I made a server and i can't get it to work. For some reason whenever i try to open it is says it can't find FTBServer-1.6.4-965.jar and then tells me to press any key to exit.
Please Help.
Thanks.
-John
What does your server start script read?
 

Francis Baster

New Member
Jul 29, 2019
295
0
0
Hey, I made a server and i can't get it to work. For some reason whenever i try to open it is says it can't find FTBServer-1.6.4-965.jar and then tells me to press any key to exit.
Please Help.
Thanks.
-John

It sounds like your server start script is telling Java to launch a .jar that doesn't exist. Check that the name of the .jar in your start script matches the .jar in your server folder.
 

John Blaze

New Member
Jul 29, 2019
14
0
0
Do you guys mean this.


Last login: Tue Feb 25 17:34:04 on console

Johns-MacBook-Pro:~ johnblaze$ /Users/johnblaze/Desktop/My\ Stuff/modpacks^Monster^1_0_9^MonsterServer/ServerStart.bat ; exit;

Error: Unable to access jarfile FTBServer-1.6.4-965.jar

/Users/johnblaze/Desktop/My Stuff/modpacks^Monster^1_0_9^MonsterServer/ServerStart.bat: line 2: pause/Users/johnblaze/Desktop/modpacks^Monster^1_0_9^MonsterServer/FTBServer-1.6.4-965.jar: No such file or directory

logout



[Process completed][DOUBLEPOST=1393477824][/DOUBLEPOST]
It sounds like your server start script is telling Java to launch a .jar that doesn't exist. Check that the name of the .jar in your start script matches the .jar in your server folder.

Im really new to this stuff could you tell me how to do that.
 

Francis Baster

New Member
Jul 29, 2019
295
0
0
Try using the ServerStart.sh file to start your server instead of the ServerStart.bat file. bat files are generally only used in Windows, while you appear to be using Mac. If that doesn't work, upload the contents of the ServerStart.sh file to pastebin.com and share the link with us here.
 

John Blaze

New Member
Jul 29, 2019
14
0
0
Last login: Thu Feb 27 15:30:32 on ttys000

Johns-MacBook-Pro:~ johnblaze$ /Users/johnblaze/Desktop/My\ Stuff/modpacks^Monster^1_0_9^MonsterServer/ServerStart.sh ; exit;

Error: Unable to access jarfile Users/johnblaze/Desktop/modpacks^Monster^1_0_9^MonsterServer/FTBServer-1.6.4-965.jar

logout



[Process completed][DOUBLEPOST=1393494013][/DOUBLEPOST]
Last login: Thu Feb 27 15:30:32 on ttys000

Johns-MacBook-Pro:~ johnblaze$ /Users/johnblaze/Desktop/My\ Stuff/modpacks^Monster^1_0_9^MonsterServer/ServerStart.sh ; exit;

Error: Unable to access jarfile Users/johnblaze/Desktop/modpacks^Monster^1_0_9^MonsterServer/FTBServer-1.6.4-965.jar

logout



[Process completed]
oh sorry I forgot to put it in paste bin
 

John Blaze

New Member
Jul 29, 2019
14
0
0
sorry have no idea how to use paste bin

java -Xms2048m -Xmx2048m -XX:permSize=256m -jar Users/sashagontcharov/Desktop/modpacks^Monster^1_0_9^MonsterServer/FTBServer-1.6.4-965.jar

heres what you wanted i hope[DOUBLEPOST=1393499756][/DOUBLEPOST]don't know why there a face
 

Francis Baster

New Member
Jul 29, 2019
295
0
0
Try editing it so that it says this instead:
Code:
java -Xms2048m -Xmx2048m -XX:PermSize=256m -jar FTBServer-1.6.4-965.jar
 

Francis Baster

New Member
Jul 29, 2019
295
0
0
Basically the problem is that the jar file that your StartScript.sh is telling Java to open simply doesn't exist. Before, it had an absolute path which was pointing to the wrong folder. By specifying a relative path, which is just the file name by itself, it will now work but only if you change directory to the "modpacks^Monster^1_0_9^MonsterServer" folder first. So the procedure is like this:

From the Mac terminal window type these two commands:
Code:
cd /Users/johnblaze/Desktop/My\ Stuff/modpacks^Monster^1_0_9^MonsterServer
./ServerStart.sh

Starting the ServerStart.sh file by clicking on it should also work.

Of course, you need to make sure that there is a file named "FTBServer-1.6.4-965.jar" inside your "modpacks^Monster^1_0_9^MonsterServer" folder, or both methods are doomed to fail.