Cuberite Forum
Server setup on Mac - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Server setup on Mac (/thread-137.html)



Server setup on Mac - balresch - 05-03-2011

Hi guys!

I am pretty new to this business and am running on mac, so i hope there is somebody here who can help me out..

When i start the server, it shows me the following in console:
Code:
Last login: Tue May  3 14:54:14 on ttys000
balreschs-iMac:~ balresch$ /Users/balresch/Desktop/MCServer/MCServer ; exit;
[14:57:52] --- Started Log ---
[14:57:52] WARNING cEvent: Could not create unnamed semaphore, fallback to named.
/============================\
|   Minecraft Alpha Server   |
|  Created by Kevin Bansberg |
|           A.K.A.           |
|         FakeTruth          |
| Monsters by Alex Sonek     |
|           A.K.A. Duralex   |
\============================/
More info: WWW.MC-SERVER.ORG
           WWW.AE-C.NET
           WWW.RBTHINKTANK.COM
email: faketruth@gmail.com

[14:57:52] Starting up server.
[14:57:52] Port 25565 has been bound, server is open for connections
[14:57:52] -- Loading Groups --
[14:57:52] -- Done Loading Groups --
[14:57:52] --Loading recipes--
[14:57:52] Could not open file for recipes: recipes.txt
[14:57:52] --Loading furnace recipes--
[14:57:52] Could not open file for recipes: furnace.txt
[14:57:52] cWorld::cWorld()
[14:57:52] ERROR READING FROM FILE genmap.bin
[14:57:52] Loading spawn area
[14:57:52] Loaded 0.00
[14:57:52] Loaded 7.69
[14:57:52] Loaded 15.38
[14:57:52] Loaded 23.08
[14:57:52] Loaded 30.77
[14:57:52] Loaded 38.46
[14:57:52] Loaded 46.15
[14:57:52] Loaded 53.85
[14:57:52] Loaded 61.54
[14:57:52] Loaded 69.23
[14:57:52] Loaded 76.92
[14:57:52] Loaded 84.62
[14:57:52] Loaded 92.31
[14:57:52] --Loading plugins--
[14:57:52] WARNING: Can't find settings.ini, so can't load any plugins.
[14:57:52] --Done loading plugins--
Error: Must have both settings.ini and monsters.ini to configure attributes
    using default attributes
[14:57:52] WARNING cEvent: Could not create unnamed semaphore, fallback to named.
[14:57:52] ServerListenThread
[14:57:52] WARNING cEvent: Could not create unnamed semaphore, fallback to named.
[14:57:52] ServerTickThread
It seems like the files (e.g. recipes.txt) cannot be read, even with being in the same folder. How can i fix this? xD

Thanks in advance!


RE: Server setup on Mac - distroyed123 - 05-04-2011

(05-03-2011, 11:03 PM)balresch Wrote: Hi guys!

I am pretty new to this business and am running on mac, so i hope there is somebody here who can help me out..

When i start the server, it shows me the following in console:
Code:
Last login: Tue May  3 14:54:14 on ttys000
balreschs-iMac:~ balresch$ /Users/balresch/Desktop/MCServer/MCServer ; exit;
[14:57:52] --- Started Log ---
[14:57:52] WARNING cEvent: Could not create unnamed semaphore, fallback to named.
/============================\
|   Minecraft Alpha Server   |
|  Created by Kevin Bansberg |
|           A.K.A.           |
|         FakeTruth          |
| Monsters by Alex Sonek     |
|           A.K.A. Duralex   |
\============================/
More info: WWW.MC-SERVER.ORG
           WWW.AE-C.NET
           WWW.RBTHINKTANK.COM
email: faketruth@gmail.com

[14:57:52] Starting up server.
[14:57:52] Port 25565 has been bound, server is open for connections
[14:57:52] -- Loading Groups --
[14:57:52] -- Done Loading Groups --
[14:57:52] --Loading recipes--
[14:57:52] Could not open file for recipes: recipes.txt
[14:57:52] --Loading furnace recipes--
[14:57:52] Could not open file for recipes: furnace.txt
[14:57:52] cWorld::cWorld()
[14:57:52] ERROR READING FROM FILE genmap.bin
[14:57:52] Loading spawn area
[14:57:52] Loaded 0.00
[14:57:52] Loaded 7.69
[14:57:52] Loaded 15.38
[14:57:52] Loaded 23.08
[14:57:52] Loaded 30.77
[14:57:52] Loaded 38.46
[14:57:52] Loaded 46.15
[14:57:52] Loaded 53.85
[14:57:52] Loaded 61.54
[14:57:52] Loaded 69.23
[14:57:52] Loaded 76.92
[14:57:52] Loaded 84.62
[14:57:52] Loaded 92.31
[14:57:52] --Loading plugins--
[14:57:52] WARNING: Can't find settings.ini, so can't load any plugins.
[14:57:52] --Done loading plugins--
Error: Must have both settings.ini and monsters.ini to configure attributes
    using default attributes
[14:57:52] WARNING cEvent: Could not create unnamed semaphore, fallback to named.
[14:57:52] ServerListenThread
[14:57:52] WARNING cEvent: Could not create unnamed semaphore, fallback to named.
[14:57:52] ServerTickThread
It seems like the files (e.g. recipes.txt) cannot be read, even with being in the same folder. How can i fix this? xD

Thanks in advance!


post screenshots of what the file directory looks like, the first level, where the server executable file is.



RE: Server setup on Mac - FakeTruth - 05-04-2011

Quote:balreschs-iMac:~ balresch$ /Users/balresch/Desktop/MCServer/MCServer ; exit;
You're not starting the server from within the MCServer directory. First move ( 'cd' ) to the MCServer directory, then do ./MCServer


RE: Server setup on Mac - distroyed123 - 05-05-2011

(05-04-2011, 08:50 AM)FakeTruth Wrote:
Quote:balreschs-iMac:~ balresch$ /Users/balresch/Desktop/MCServer/MCServer ; exit;
You're not starting the server from within the MCServer directory. First move ( 'cd' ) to the MCServer directory, then do ./MCServer

that too, rofl.Tongue if the directory was correct i was guna tell him to do that next


RE: Server setup on Mac - Redbeard1475 - 05-29-2011

What directory exactly should the MCserver folder be in. I am getting the same errors exactly, and obviously cant log in.


RE: Server setup on Mac - FakeTruth - 05-29-2011

Please post your log, and you should actually be able to log in, regardless of whether MCServer is able to read files


RE: Server setup on Mac - Tim - 05-29-2011

here: http://mc-server.org/wiki/doku.php?id=install you can see how to install on linux, which is similar to max since unix and linux are very similar. What i suppose you are missing is changing to the server directory.

example of what should be done:
extract server files from the compressed file you downloaded to a location (for this example it will be in a directory called "MCserver" in the home directory)

open up terminal and type:
Code:
cd ~/MCserver
(the "~" means your users home directory - equivalent of /Users/your_username)
to change to the right directory

then you can type
Code:
ls
which will list the contents of the directory. If its the right one then go right ahead and try to run the server. If you cant see the server files, go back to step one.Tongue

Hope this helps Smile