Title: Server Wont Start CentOS Post by: Raijin on March 11, 2012, 10:55:52 PM I'm trying to set up an OA 0.8.8 server on my CentOS 6 VPS
but I keep getting an error when trying to start it. Here is the feed in my logs.txt Code: ioq3+oa 1.36_SVN1910M linux-x86_64 Dec 25 2011 (123.45.67.89 is an example, not my server's real IP) My question is how do I enable tty console mode? Using CentOS 6. Title: Re: Server Wont Start CentOS Post by: GrosBedo on March 11, 2012, 11:18:51 PM Are you using oa_ded to launch your server?
Title: Re: Server Wont Start CentOS Post by: Raijin on March 11, 2012, 11:21:45 PM Are you using oa_ded to launch your server? Yes, using oa_ded.x86_64 as my systen is 64 bit. Title: Re: Server Wont Start CentOS Post by: GrosBedo on March 11, 2012, 11:24:44 PM Frankly, I don't know what this error means, someone else may help you better than me.
Meanwhile, you could also try to launch your server with one more argument Code: +set developer 1 This should show some more debug informations. Title: Re: Server Wont Start CentOS Post by: Raijin on March 11, 2012, 11:30:27 PM Frankly, I don't know what this error means, someone else may help you better than me. Meanwhile, you could also try to launch your server with one more argument Code: +set developer 1 This should show some more debug informations. This is currently how I start my server (contents of file "oa_start.sh") Code: screen -A -m -d -S oa ~/oa/oa_ded.x86_64 +set fs_basepath ~/oa +set fs_game bas$me baseoa +set dedicated 2 +set net_ip 123.45.67.89 +set net_port 27960 Title: Re: Server Wont Start CentOS Post by: andrewj on March 12, 2012, 05:04:30 AM does it work when you don't use screen?
Title: Re: Server Wont Start CentOS Post by: Gig on March 12, 2012, 06:24:06 AM I don't know about CentOS... are you sure the basepath you specified is correct, and points to your OA installation directory?
And this sounds strange, to me "+set fs_game bas$me baseoa"... are you sure there isn't a typo or similar? If you don't specify fs_game, I think it should use "baseoa" automatically... and if you are using a mod called "bas$me", why is there that "baseoa"? I don't know if it is possible/advisable to use spaces or special characters in mod folder names. Title: Re: Server Wont Start CentOS Post by: GrosBedo on March 12, 2012, 06:57:12 AM @Gig: it seems to me to be a copy/past bug, the $ being the shell indicator, then "me baseoa" an extract of "fs_game baseoa".
@Raijin: as andrewj try it without a screen, and also please check the following bug report, maybe you're suffering from the same bug: https://bugzilla.icculus.org/show_bug.cgi?id=4346 As a workaround you can try to set +map in the commandline as suggested in this bugreport. Anyway, the patch to this bug should have be merged in OA 0.8.8 binaries.. Title: Re: Server Wont Start CentOS Post by: Raijin on March 12, 2012, 07:58:21 AM does it work when you don't use screen? I will try that out as soon as I get home. I don't know about CentOS... are you sure the basepath you specified is correct, and points to your OA installation directory? And this sounds strange, to me "+set fs_game bas$me baseoa"... are you sure there isn't a typo or similar? If you don't specify fs_game, I think it should use "baseoa" automatically... and if you are using a mod called "bas$me", why is there that "baseoa"? I don't know if it is possible/advisable to use spaces or special characters in mod folder names. Yes ~/oa/ is the basepath of oa. I changed it from ~/openarena-0.8.8/ This is the tutorial I was following: http://dmitriy.us/blog/3/setting-up-an-openarena-server-on-ubuntu-linux/ @Gig: it seems to me to be a copy/past bug, the $ being the shell indicator, then "me baseoa" an extract of "fs_game baseoa". @Raijin: as andrewj try it without a screen, and also please check the following bug report, maybe you're suffering from the same bug: https://bugzilla.icculus.org/show_bug.cgi?id=4346 As a workaround you can try to set +map in the commandline as suggested in this bugreport. Anyway, the patch to this bug should have be merged in OA 0.8.8 binaries.. I'll try it without screen as soon as I'm home again, as well as check out the buy report in more detail. Title: Re: Server Wont Start CentOS Post by: Raijin on March 12, 2012, 10:18:11 AM It seems to get stuck at this point
Code: ioq3+oa 1.36_SVN1910M linux-x86_64 Dec 25 2011 When ran without screen. And nothing goes into my logs.txt Title: Re: Server Wont Start CentOS Post by: GrosBedo on March 12, 2012, 01:00:46 PM Did you set a map in your config? Try in your console to type /map oasago2 for example.
Title: Re: Server Wont Start CentOS Post by: Raijin on March 12, 2012, 01:32:33 PM Did you set a map in your config? Try in your console to type /map oasago2 for example. After issuing that, I get this in response "]". Code:
Title: Re: Server Wont Start CentOS Post by: GrosBedo on March 12, 2012, 02:47:43 PM Since you're typing directly in the dedicated console, please just issue this command:
Code: map oasago2 Without the prior / Title: Re: Server Wont Start CentOS Post by: Raijin on March 12, 2012, 04:03:32 PM Since you're typing directly in the dedicated console, please just issue this command: Code: map oasago2 Without the prior / This seems to have worked! Thanks for all the help man. I can now connect to my server. Can you help me figure out any commands I need to know? Title: Re: Server Wont Start CentOS Post by: Gig on March 12, 2012, 05:36:53 PM Some commands...
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Manual/Multiplayer (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Command_console (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Configuration_examples Have a nice reading! :) Title: Re: Server Wont Start CentOS Post by: Raijin on March 12, 2012, 06:12:42 PM Some commands... (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Manual/Multiplayer (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Command console (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Configuration examples Have a nice reading! :) Thanks for that. One last question Code: Sending heartbeat to dpmaster.deathmask.net What does that mean. Title: Re: Server Wont Start CentOS Post by: Gig on March 13, 2012, 12:52:35 AM I don't know. Maybe CentOS requires to setup firewall or some kind of permission to allow a program to use network? I don't know CentOS...
PS: I fixed two of the links above, I forgot the "_". Title: Re: Server Wont Start CentOS Post by: GrosBedo on March 13, 2012, 03:43:37 AM Remember to add "map xxxx" at the end of your server's config, this is a weird behaviour of servers but you necessarily need to load a map before the server really works.
Code: Sending heartbeat to dpmaster.deathmask.net What does that mean. A heartbeat is an UDP packet that allows your server to be visible in the master listing (http://dpmaster.deathmask.net/?game=openarena) (and the in-game browser). It seems that, as Gig suggested, you probably need to tweak your firewall, or something else in your system, because something does not allow those packets to be sent. Title: Re: Server Wont Start CentOS Post by: grey matter on March 13, 2012, 12:25:41 PM Code: tty console mode disabled This just means that the stdin you provided to oa_ded does not seem to be a proper tty (e.g. if you do oaded < /dev/null or similar). Code: NET_SendPacket: Operation not permitted Are you using some restrictive SELinux setup or similar? If you don't want or need your server listed on the masterserver(s), then just use +set dedicated 1 instead. Title: Re: Server Wont Start CentOS Post by: Gig on March 13, 2012, 04:19:08 PM Heartbeat begins with a udp packet from your machine (source port 27960) to the master server (destination port 27950), then there are some replies.
Some more info here: (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Manual/Multiplayer in the part about firewalls and testing. Title: Re: Server Wont Start CentOS Post by: Raijin on March 13, 2012, 08:25:48 PM Oh, alright, it's not important to me to have my server listed. This is more of a private server.
But if anyone in this thread would like to play on my server feel free to ask. |