Problem How do I host a FTB server on a Mac?

  • 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

YepImRobbie

New Member
Jul 29, 2019
1
0
0
I have been willing to host a FTB server for my friend and I, but to no success; no instructions have been clear, if I could be informed of a clear set of instructions which do work - it would be greatly appreciated.

The reason I can't run the server is because it says this:
Code:
Computer:~ MyComputer$ /Users/MyName/Desktop/FTBBetaAServer/Server\ Start\ 1GB.bat ; exit;
Unable to access jarfile FTB-Beta-A.jar
logout

I'm really sorry if you see one of these threads over and over again - but no youtube video explains it, nor do the instructions stand clear.
 

Noah Beall

New Member
Jul 29, 2019
2
0
0
Well, this didnt work for me but it might for u. double click the server .jar in your folder not the XGB.bat[DOUBLEPOST=1359307139][/DOUBLEPOST]for instance "FTB_beta or whaterer." open that
 

Moosey2323

New Member
Jul 29, 2019
6
0
0
Hover over the start.bat file and click (not double click) so it is "highlighted". Then change the name to Server_Start.command

Then click the new named file (not double click) so it is "highlighted again". And go over to file, open with, textedit. Then follow the command instructions below.

You can adjust the ram where it says 1G and 1G. (GB) also put your jar name (mindcrack) (direwolf) (FTB-Beta-A) where it says your_jar_name_here

#!/bin/bash
cd "$( dirname "$0" )"
java -Xms1G -Xmx1G -jar your_jar_name_here.jar -o true


After this is done you need to open terminal. Make sure your folder with the server files is on your desktop. Then type the following command. (Make sure you put the folder name in)

cd ~/Desktop/FolderName (then click enter)

Now you need to enter another command. (MAKE SURE YOU PUT A SPACE AFTER "x")

chmod +x (Then drag your Server_Start.command file into terminal, and click enter. Now you are ready. Just double click the Server_Start.command file when you want to start up your server.
 
  • Like
Reactions: Jeffrey

ethanoshra

New Member
Jul 29, 2019
1
0
0
I am having the exact same problem. I did exactly what you said, but then I get this:

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] Atum missing - MFR Atum Compat not loading

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] BackTools missing - MFR BackTools Compat not loading

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] Biomes O' Plenty missing - MFR Biomes O' Plenty Compat not loading

2014-01-12 17:22:37 [INFO] [ForgeModLoader] Chococraft is not available; MFR Chococraft Compat not loaded

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] ExtraBiomesXL missing - MFR ExtraBiomesXL Compat not loading

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] Magical Crops missing - MFR Compat: Magical Crops not loading

2014-01-12 17:22:40 [WARNING] [ForgeModLoader] Pam's HC base missing - MFR Pam HC Compat not loading

2014-01-12 17:22:40 [WARNING] [ForgeModLoader] Pam's Weee! Flowers missing - MFR Pam Weee! Flowers Compat not loading

2014-01-12 17:22:40 [WARNING] [ForgeModLoader] RedPowerWorld missing - MFR RedPower2 Compat not loading

2014-01-12 17:22:40 [WARNING] [ForgeModLoader] Sufficient Biomes missing - MFR Sufficient Biomes Compat not loading

2014-01-12 17:22:41 [WARNING] [ForgeModLoader] XyCraft missing - MFR Xycraft Compat not loading

2014-01-12 17:22:46 [INFO] [ForgeModLoader] [PfF]: Injecting vanilla crops into ore dictionary.

2014-01-12 17:22:57 [INFO] [STDERR] java.lang.OutOfMemoryError: PermGen space

2014-01-12 17:22:58 [INFO] [Minecraft-Server] Stopping server

2014-01-12 17:22:58 [INFO] [STDERR] java.net.SocketException: Socket closed

2014-01-12 17:22:58 [INFO] [Minecraft-Server] Saving worlds

2014-01-12 17:22:59 [INFO] [STDERR] at java.net.PlainSocketImpl.socketAccept(Native Method)

2014-01-12 17:22:59 [INFO] [STDERR] at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:439)

2014-01-12 17:23:01 [INFO] [STDERR] at java.net.ServerSocket.implAccept(ServerSocket.java:468)

2014-01-12 17:23:01 [INFO] [STDERR] at java.net.ServerSocket.accept(ServerSocket.java:436)

2014-01-12 17:23:01 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:80)


It looks like there is no memory for permgen, because the start code does not specify any permgen memory. I have looked up solutions but they all require using the standard start code. However, when I use the standard start code, I get this 'unable to access jarfile' error.

I'm going around in circles, and if someone could help me that would be great. Thank you!
 

Moosey2323

New Member
Jul 29, 2019
6
0
0
I am having the exact same problem. I did exactly what you said, but then I get this:

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] Atum missing - MFR Atum Compat not loading

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] BackTools missing - MFR BackTools Compat not loading

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] Biomes O' Plenty missing - MFR Biomes O' Plenty Compat not loading

2014-01-12 17:22:37 [INFO] [ForgeModLoader] Chococraft is not available; MFR Chococraft Compat not loaded

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] ExtraBiomesXL missing - MFR ExtraBiomesXL Compat not loading

2014-01-12 17:22:37 [WARNING] [ForgeModLoader] Magical Crops missing - MFR Compat: Magical Crops not loading

2014-01-12 17:22:40 [WARNING] [ForgeModLoader] Pam's HC base missing - MFR Pam HC Compat not loading

2014-01-12 17:22:40 [WARNING] [ForgeModLoader] Pam's Weee! Flowers missing - MFR Pam Weee! Flowers Compat not loading

2014-01-12 17:22:40 [WARNING] [ForgeModLoader] RedPowerWorld missing - MFR RedPower2 Compat not loading

2014-01-12 17:22:40 [WARNING] [ForgeModLoader] Sufficient Biomes missing - MFR Sufficient Biomes Compat not loading

2014-01-12 17:22:41 [WARNING] [ForgeModLoader] XyCraft missing - MFR Xycraft Compat not loading

2014-01-12 17:22:46 [INFO] [ForgeModLoader] [PfF]: Injecting vanilla crops into ore dictionary.

2014-01-12 17:22:57 [INFO] [STDERR] java.lang.OutOfMemoryError: PermGen space

2014-01-12 17:22:58 [INFO] [Minecraft-Server] Stopping server

2014-01-12 17:22:58 [INFO] [STDERR] java.net.SocketException: Socket closed

2014-01-12 17:22:58 [INFO] [Minecraft-Server] Saving worlds

2014-01-12 17:22:59 [INFO] [STDERR] at java.net.PlainSocketImpl.socketAccept(Native Method)

2014-01-12 17:22:59 [INFO] [STDERR] at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:439)

2014-01-12 17:23:01 [INFO] [STDERR] at java.net.ServerSocket.implAccept(ServerSocket.java:468)

2014-01-12 17:23:01 [INFO] [STDERR] at java.net.ServerSocket.accept(ServerSocket.java:436)

2014-01-12 17:23:01 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:80)


It looks like there is no memory for permgen, because the start code does not specify any permgen memory. I have looked up solutions but they all require using the standard start code. However, when I use the standard start code, I get this 'unable to access jarfile' error.

I'm going around in circles, and if someone could help me that would be great. Thank you!
What pack are you using?
 

Benny Albrecht

New Member
Jul 29, 2019
2
0
0
I have a similar problem:
2014-01-26 09:32:05 [INFO] [STDERR] java.lang.OutOfMemoryError: PermGen space
2014-01-26 09:32:05 [INFO] [STDERR] at java.lang.ClassLoader.defineClass1(Native Method)
2014-01-26 09:32:05 [INFO] [STDERR] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
2014-01-26 09:32:05 [INFO] [STDERR] at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
2014-01-26 09:32:05 [INFO] [STDERR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
2014-01-26 09:32:05 [INFO] [STDERR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
2014-01-26 09:32:05 [INFO] [STDERR] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
2014-01-26 09:32:05 [INFO] [STDERR] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
2014-01-26 09:32:05 [INFO] [STDERR] at java.security.AccessController.doPrivileged(Native Method)
2014-01-26 09:32:05 [INFO] [STDERR] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
2014-01-26 09:32:05 [INFO] [STDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:160)
2014-01-26 09:32:05 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
2014-01-26 09:32:05 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
2014-01-26 09:32:05 [INFO] [STDERR] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:500)
2014-01-26 09:32:05 [INFO] [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
2014-01-26 09:32:05 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2014-01-26 09:32:05 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2014-01-26 09:32:05 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192)
2014-01-26 09:32:05 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172)
2014-01-26 09:32:05 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-26 09:32:05 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2014-01-26 09:32:05 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2014-01-26 09:32:05 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2014-01-26 09:32:05 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2014-01-26 09:32:06 [INFO] [Minecraft-Server] Stopping server
2014-01-26 09:32:07 [INFO] [STDERR] java.net.SocketException: Socket closed
2014-01-26 09:32:07 [INFO] [Minecraft-Server] Saving worlds
2014-01-26 09:32:07 [INFO] [STDERR] at java.net.PlainSocketImpl.socketAccept(Native Method)
2014-01-26 09:32:07 [INFO] [STDERR] at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
2014-01-26 09:32:07 [INFO] [STDERR] at java.net.ServerSocket.implAccept(ServerSocket.java:462)
2014-01-26 09:32:07 [INFO] [STDERR] at java.net.ServerSocket.accept(ServerSocket.java:430)
2014-01-26 09:32:07 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:80)
2014-01-26 09:32:07 [INFO] [Minecraft-Server] Closing listening thread
2014-01-26 09:32:07 [INFO] [ForgeModLoader] The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded.
2014-01-26 09:32:07 [INFO] [ForgeModLoader] The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded.
2014-01-26 09:32:08 [INFO] [STDERR] Exception in thread "Server thread" java.lang.OutOfMemoryError: PermGen space
2014-01-26 09:32:09 [INFO] [STDERR] at java.lang.Class.getDeclaredFields0(Native Method)
2014-01-26 09:32:09 [INFO] [STDERR] at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
2014-01-26 09:32:09 [INFO] [STDERR] at java.lang.Class.getDeclaredField(Class.java:1880)
2014-01-26 09:32:09 [INFO] [STDERR] at cpw.mods.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:78)
2014-01-26 09:32:09 [INFO] [STDERR] at cpw.mods.fml.relauncher.ReflectionHelper.setPrivateValue(ReflectionHelper.java:136)
2014-01-26 09:32:09 [INFO] [STDERR] at cpw.mods.fml.common.ObfuscationReflectionHelper.setPrivateValue(ObfuscationReflectionHelper.java:104)
2014-01-26 09:32:09 [INFO] [STDERR] at cpw.mods.fml.common.FMLCommonHandler.handleServerStopped(FMLCommonHandler.java:471)
2014-01-26 09:32:09 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:532)
2014-01-26 09:32:09 [INFO] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

I am trying to make a ftb unleashed server and i followed your steps Mossey2323
please help me!!! thanks.
 

oppositeZERO

New Member
Jul 29, 2019
64
0
0
I am trying to make a ftb unleashed server and i followed your steps Mossey2323
please help me!!! thanks.

Change this :
Code:
java -Xms1G -Xmx1G -jar your_jar_name_here.jar -o true

To this:
Code:
java -Xms1G -Xmx1G -XX:PermSize=128m -jar your_jar_name_here.jar -o true

So in summary add this to your JVM Arguments:
Code:
-XX:PermSize=128m

Cheers
 

Benny Albrecht

New Member
Jul 29, 2019
2
0
0
I tried it again and now its says:
2014-01-26 10:02:52 [WARNING] [ForgeModLoader] Atum missing - MFR Atum Compat not loading
2014-01-26 10:02:52 [WARNING] [ForgeModLoader] BackTools missing - MFR BackTools Compat not loading
2014-01-26 10:02:52 [WARNING] [ForgeModLoader] Biomes O' Plenty missing - MFR Biomes O' Plenty Compat not loading
2014-01-26 10:02:52 [INFO] [ForgeModLoader] Chococraft is not available; MFR Chococraft Compat not loaded
2014-01-26 10:02:52 [WARNING] [ForgeModLoader] ExtraBiomesXL missing - MFR ExtraBiomesXL Compat not loading
2014-01-26 10:02:52 [WARNING] [ForgeModLoader] Magical Crops missing - MFR Compat: Magical Crops not loading
2014-01-26 10:02:54 [WARNING] [ForgeModLoader] Pam's HC base missing - MFR Pam HC Compat not loading
2014-01-26 10:02:54 [WARNING] [ForgeModLoader] Pam's Weee! Flowers missing - MFR Pam Weee! Flowers Compat not loading
2014-01-26 10:02:54 [WARNING] [ForgeModLoader] RedPowerWorld missing - MFR RedPower2 Compat not loading
2014-01-26 10:02:54 [WARNING] [ForgeModLoader] Sufficient Biomes missing - MFR Sufficient Biomes Compat not loading
2014-01-26 10:02:55 [WARNING] [ForgeModLoader] XyCraft missing - MFR Xycraft Compat not loading
2014-01-26 10:02:56 [INFO] [ForgeModLoader] [PfF]: Injecting vanilla crops into ore dictionary.

Please help me out guys!!![DOUBLEPOST=1390727599][/DOUBLEPOST]never mind it works!!! Thank you so much oppositeZERO!!! your my hero!