Pages: [1]
  Print  
Author Topic: OpenArena Server on Ubuntu 12.04 Headless Server  (Read 18467 times)
phoenter
Ok i've posted twice!


Cakes 0
Posts: 2


« on: August 30, 2012, 01:55:48 AM »

Hi,

I am trying to get Openarena to work without GUI on a Ubuntu headless server 12.04. I have install openerena-server (from the ubuntu repository) and done what I think is the usual configuration. I note that  there is no openarena-server start-up script created in the /etc/init.d directory. When I run openarena from the commandline as an ordinary user, to listen on the default port I get:

$openarena-server +set fs_game baseoa +set dedicated 1  +set net_port 27960

No SSE support on this machine
----- FS_Startup -----
Current search path:
/home/seanboc/.openarena/baseoa
/usr/lib/games/openarena/baseoa
/usr/lib/games/openarena/baseoa/pak6-patch085.pk3 (559 files)
/usr/lib/games/openarena/baseoa/pak6-misc.pk3 (229 files)
/usr/lib/games/openarena/baseoa/pak5-TA.pk3 (139 files)
/usr/lib/games/openarena/baseoa/pak4-textures.pk3 (1753 files)
/usr/lib/games/openarena/baseoa/pak2-players.pk3 (669 files)
/usr/lib/games/openarena/baseoa/pak2-players-mature.pk3 (231 files)
/usr/lib/games/openarena/baseoa/pak1-maps.pk3 (100 files)
/usr/lib/games/openarena/baseoa/pak0.pk3 (1042 files)

----------------------
4722 files in pk3 files
execing default.cfg
com_zoneMegs will be changed upon restarting.
execing q3config_server.cfg
execing autoexec.cfg
fs_game is write protected.
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 192.168.1.15
IP: 192.168.122.1
IP6: ::1
IP6: fe80::216:d3ff:fe3a:5434%eth0
Opening IP socket: 192.168.1.15:27960

For now I am trying to setup a dedicated=1 server for an internal LAN and then connect to the wider world later on
.


The contents of my default.cfg are:

sets dedicated 1
sets ".Admin" "My name"
sets ".e-mail" "My email"
sets ".Location" "My location"
sets ".OS" "My OS"

However, I cannot connect from a desktop to this server on the lcoal LAN. No firewalls are in place and i have run wireshark to see the UDP traffic. Can anyone help with debugging my problem as I am clearly a novice with openarena server installation.

TIA
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #1 on: August 30, 2012, 03:03:58 AM »

Are you sure you loaded a map? (/map <mapname>) Server is actually running only when a map is loaded. Also check you effectively have some player slots available (sv_maxclients controls how many players -including bots- your server will accept... default value is 8).

Generic infos/help useful while creating a server:
(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/Manual/Multiplayer

PS: it appears you are using the old 0.8.5 release (I don't see pak6-patch088.pk3 in your log). Consider upgrading to 0.8.8 (adding the corresponding .pk3 file is enough, but also replacing 0.8.1/0.8.5 executables with those from 0.8.8 is advisable).
You may also download OpenArena "manually" (official release), instead of using Ubuntu Repository (possibly modified release).
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Download_mirrors
« Last Edit: August 30, 2012, 03:24:32 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.
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #2 on: August 30, 2012, 09:11:33 AM »

openarena-server +set fs_game baseoa +set dedicated 1  +set net_port 27960

Something like this should work:
Code:
openarena-server +set fs_game baseoa +set dedicated 1  +set net_port 27960 +map aggressor 

In most cases even should be enough to get started:
Code:
openarena-server +map aggressor
the "map" command is the only mandatory one to start a server (although it may be located in a exec command instead)
Logged

There are nothing offending in my posts.
phoenter
Ok i've posted twice!


Cakes 0
Posts: 2


« Reply #3 on: August 30, 2012, 10:07:19 AM »

Upgrading and setting the right map sorted the problem. Thank you.
Logged
Pages: [1]
  Print  
 
Jump to: