Author Topic: Mac Server Creation Problems.  (Read 6529 times)

frazzler

  • Posts: 231
  • Turrets: +10/-1390
Mac Server Creation Problems.
« on: December 29, 2009, 11:09:25 pm »
Can someone post a reliable source for creating a server on the mac? Here's where my problems begin: http://tremulous.net/forum/index.php?topic=4124.msg185523#msg185523

I cannot seem to get the second CD command correct. I copy and paste it directly from the guide, and even tried typing it differently in the console with no success. Apparently my tremded.ub, game.qvm, maprotation and server.cfg files do not exist. Yet I am able to find them right in the base folder. I am often hit with error messages like:
Code: [Select]
Last login: Wed Dec 30 02:07:13 on ttys000
kl100707s-macbook-pro:~ user-kl707$ ./tremded.ub +set dedicated 2 +exec server.cfg
-bash: ./tremded.ub: No such file or directory

I use a macbook Pro, the new ones of 09.

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Mac Server Creation Problems.
« Reply #1 on: December 30, 2009, 04:58:05 am »
That is a reliable source you've got there, try
Code: [Select]
sudo tremded +set dedicated 2 +exec server.cfg +set net_port 12321then port forward port 12321 in your router.

Best Regards,
Kiwi

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Mac Server Creation Problems.
« Reply #2 on: December 30, 2009, 04:59:47 am »
don't EVER run tremded as root
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

frazzler

  • Posts: 231
  • Turrets: +10/-1390
Re: Mac Server Creation Problems.
« Reply #3 on: December 30, 2009, 06:01:21 pm »
Wait, was I doing it wrong, or was what Kiwi said to do wrong.

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Mac Server Creation Problems.
« Reply #4 on: January 01, 2010, 09:36:12 pm »
Kevlarman is saying not to run tremded as root because it is a huge security risk, which is is.  But I used sudo until I got it to work, then I figured out the permission problems which isn't wise.  :P

Just use
Code: [Select]
tremded +set dedicated 2 +exec server.cfg +set net_port 12321and be careful about setting your permissions right.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Mac Server Creation Problems.
« Reply #5 on: January 01, 2010, 09:42:20 pm »
If you don't use root at all then the permissions shouldn't be a problem.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Mac Server Creation Problems.
« Reply #6 on: January 01, 2010, 09:48:31 pm »
If you don't use root at all then the permissions shouldn't be a problem.
:p fair enough, but I didn't quite do that did I..

frazzler

  • Posts: 231
  • Turrets: +10/-1390
Re: Mac Server Creation Problems.
« Reply #7 on: January 02, 2010, 10:30:50 am »
OooOookay then. I'm still not sure on how to create a server though.

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Mac Server Creation Problems.
« Reply #8 on: January 02, 2010, 03:17:31 pm »
Where are you running into problems?  That website you posted is very good.  Follow along with the instructions there, and post any specific problems that you may encounter.
Best Regards,
Kiwi

frazzler

  • Posts: 231
  • Turrets: +10/-1390
Re: Mac Server Creation Problems.
« Reply #9 on: January 03, 2010, 08:53:21 pm »
Here's the main problems:
Code:

mv: tremded.ub: No such file or directory
mv: game.qvm: No such file or directory
cp: Tremulous.app/Contents/MacOS/libSDL-1.2.0.dylib: No such file or directory
mv: maprotation.cfg: No such file or directory
mv: Server Commands: No such file or directory
kl100707s-macbook-pro:~ user-kl707$ /game.qvm
-bash: /game.qvm: No such file or directory
kl100707s-macbook-pro:~ user-kl707$


Although they quite obviously exist, otherwise I would not be able to run Tremulous. They all are in the base folder except for Server Commands. This is from using that 'groove' fellows guide that I downloaded. When using the regular guide in the thread, I follow all the steps successfully until I reach that second CD command with all the +'s in it. In which case This:
Code:

 Last login: Wed Dec 30 02:07:13 on ttys000
kl100707s-macbook-pro:~ user-kl707$ ./tremded.ub +set dedicated 2 +exec server.cfg
-bash: ./tremded.ub: No such file or directory

occurs.

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Mac Server Creation Problems.
« Reply #10 on: January 03, 2010, 11:11:07 pm »
Quote
-bash: ./tremded.ub: No such file or directory

You need to be IN that directory to use the ./ shortcut. Otherwise you have to give the full path to the binary or file. Same goes for all your empty move commands (mv). You have to give a source and target path.

frazzler

  • Posts: 231
  • Turrets: +10/-1390
Re: Mac Server Creation Problems.
« Reply #11 on: January 04, 2010, 12:33:57 pm »
and that means?

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Mac Server Creation Problems.
« Reply #12 on: January 04, 2010, 08:31:44 pm »
Try reading over the instructions more carefully, it should tell you to goto a specific directory when you run commands, make sure you do that.
Best Regards,
Kiwi