Pages: [1]
  Print  
Author Topic: Server Wont Start CentOS  (Read 20296 times)
Raijin
Nub


Cakes 0
Posts: 14


« 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
----- FS_Startup -----
Current search path:
/home/arena//.openarena/baseoa
/home/arena/oa/baseoa/pak6-patch088.pk3 (711 files)
/home/arena/oa/baseoa/pak6-patch085.pk3 (559 files)
/home/arena/oa/baseoa/pak6-misc.pk3 (229 files)
/home/arena/oa/baseoa/pak5-TA.pk3 (139 files)
/home/arena/oa/baseoa/pak4-textures.pk3 (1753 files)
/home/arena/oa/baseoa/pak2-players.pk3 (669 files)
/home/arena/oa/baseoa/pak2-players-mature.pk3 (231 files)
/home/arena/oa/baseoa/pak1-maps.pk3 (100 files)
/home/arena/oa/baseoa/pak0.pk3 (1042 files)
/home/arena/oa/baseoa

----------------------
5433 files in pk3 files
execing default.cfg
com_zoneMegs will be changed upon restarting.
execing maps.cfg
execing q3config_server.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 127.0.0.1
IP: 123.45.67.89
Opening IP socket: 123.45.67.89:27960
tty console mode disabled
tty console mode disabled

(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.
Logged
GrosBedo
Member


Cakes 20
Posts: 710


« Reply #1 on: March 11, 2012, 11:18:51 PM »

Are you using oa_ded to launch your server?
Logged
Raijin
Nub


Cakes 0
Posts: 14


« Reply #2 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.
Logged
GrosBedo
Member


Cakes 20
Posts: 710


« Reply #3 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.
Logged
Raijin
Nub


Cakes 0
Posts: 14


« Reply #4 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
Logged
andrewj
Member


Cakes 24
Posts: 584



« Reply #5 on: March 12, 2012, 05:04:30 AM »

does it work when you don't use screen?
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #6 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.
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
GrosBedo
Member


Cakes 20
Posts: 710


« Reply #7 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..
Logged
Raijin
Nub


Cakes 0
Posts: 14


« Reply #8 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.
Logged
Raijin
Nub


Cakes 0
Posts: 14


« Reply #9 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
----- FS_Startup -----
Current search path:
/home/arena//.openarena/baseoa
/home/arena/oa/baseoa/pak6-patch088.pk3 (711 files)
/home/arena/oa/baseoa/pak6-patch085.pk3 (559 files)
/home/arena/oa/baseoa/pak6-misc.pk3 (229 files)
/home/arena/oa/baseoa/pak5-TA.pk3 (139 files)
/home/arena/oa/baseoa/pak4-textures.pk3 (1753 files)
/home/arena/oa/baseoa/pak2-players.pk3 (669 files)
/home/arena/oa/baseoa/pak2-players-mature.pk3 (231 files)
/home/arena/oa/baseoa/pak1-maps.pk3 (100 files)
/home/arena/oa/baseoa/pak0.pk3 (1042 files)
/home/arena/oa/baseoa

----------------------
5433 files in pk3 files
execing default.cfg
com_zoneMegs will be changed upon restarting.
execing maps.cfg
execing q3config_server.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 127.0.0.1
IP: 123.45.67.89
Opening IP socket: 123.45.67.89:27960

When ran without screen. And nothing goes into my logs.txt
Logged
GrosBedo
Member


Cakes 20
Posts: 710


« Reply #10 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.
Logged
Raijin
Nub


Cakes 0
Posts: 14


« Reply #11 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:

ioq3+oa 1.36_SVN1910M linux-x86_64 Dec 25 2011
----- FS_Startup -----
Current search path:
/home/arena//.openarena/baseoa
/home/arena/oa/baseoa/pak6-patch088.pk3 (711 files)
/home/arena/oa/baseoa/pak6-patch085.pk3 (559 files)
/home/arena/oa/baseoa/pak6-misc.pk3 (229 files)
/home/arena/oa/baseoa/pak5-TA.pk3 (139 files)
/home/arena/oa/baseoa/pak4-textures.pk3 (1753 files)
/home/arena/oa/baseoa/pak2-players.pk3 (669 files)
/home/arena/oa/baseoa/pak2-players-mature.pk3 (231 files)
/home/arena/oa/baseoa/pak1-maps.pk3 (100 files)
/home/arena/oa/baseoa/pak0.pk3 (1042 files)
/home/arena/oa/baseoa

----------------------
5433 files in pk3 files
execing default.cfg
com_zoneMegs will be changed upon restarting.
execing maps.cfg
execing q3config_server.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 127.0.0.1
IP: IP
Opening IP socket: IP:27960
/map oasago2
]
Logged
GrosBedo
Member


Cakes 20
Posts: 710


« Reply #12 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 /
Logged
Raijin
Nub


Cakes 0
Posts: 14


« Reply #13 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?
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #14 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! Smiley
« Last Edit: March 13, 2012, 12:48:39 AM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Raijin
Nub


Cakes 0
Posts: 14


« Reply #15 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! Smiley

Thanks for that. One last question

Code:
Sending heartbeat to dpmaster.deathmask.net
NET_SendPacket: Operation not permitted

What does that mean.
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #16 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 "_".
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
GrosBedo
Member


Cakes 20
Posts: 710


« Reply #17 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
NET_SendPacket: Operation not permitted

What does that mean.

A heartbeat is an UDP packet that allows your server to be visible in the master listing (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.
Logged
grey matter
Member


Cakes 8
Posts: 381

>9k


« Reply #18 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.
Logged

This space is for rent.
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #19 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.
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Raijin
Nub


Cakes 0
Posts: 14


« Reply #20 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.
Logged
Pages: [1]
  Print  
 
Jump to: