Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Can't get OA Server working on Ubuntu root

  1. #1

    Can't get OA Server working on Ubuntu root

    Hi there

    I thought it was a nice idea to rent a root server and install arma2oa on it. That way i have the motivation to learn linux and host my own arma2co server. Learning linux works, but the server doesn't...

    I uploaded my Arma2CO folder via ftp and downloaded the 1.60 dedicated server file for linux (not the beta one). This is where it gets strange. When i enter ./install it says that it is installing version 1.57. I downloaded the from other mirrors and tried again but it always says version 1.57. Ok, i thought, maybe thats an error on the devs side... who knows.

    I edited the arma2oaserver like this:
    Spoiler:


    My server.cfg looks like this:
    Spoiler:


    My arma2oa.cfg looks like this:
    Spoiler:


    Now when i start the server with "./arma2oaserver start" i get a lot of "No entry" errors.

    My logfile looks like this:
    Spoiler:


    One other thing: How do i create a text box in here? Seems a lot better than working with spoilers...

  2. #2
    Private First Class
    Join Date
    Apr 9 2012
    Location
    Massachusetts
    Posts
    21
    you need to load a mission at the end of the server.cfg.

    // MISSIONS CYCLE (see below)
    class Missions
    {
    class COOP_01
    {
    template = "you mission name";// omit the .pbo suffix
    difficulty = "regular";// difficulty: recruit, regular, veteran or mercenary (see CfgDifficulties in the main game config)
    };
    };

  3. #3
    Ok, tried that and entered the filename of the mission without the .pbo but i get the same errors

  4. #4
    I have this to my linux server :

    Code:
    ARMA_DIR=/home/xxx/arma2arrowhead/
    CONFIG=server.cfg
    CFG=arma2oa.cfg
    PORT=2302
    PIDFILE=${ARMA_DIR}/${PORT}.pid
    RUNFILE=${ARMA_DIR}/${PORT}.run
    LOGFILE=${ARMA_DIR}/log.${PORT}.txt
    SERVER=${ARMA_DIR}/server
    OTHERPARAMS=-cpucount=2

  5. #5
    Private First Class
    Join Date
    Apr 9 2012
    Location
    Massachusetts
    Posts
    21
    Quote Originally Posted by Wolf5 View Post
    I have this to my linux server :

    Code:
    ARMA_DIR=/home/xxx/arma2arrowhead/
    CONFIG=server.cfg
    CFG=arma2oa.cfg
    PORT=2302
    PIDFILE=${ARMA_DIR}/${PORT}.pid
    RUNFILE=${ARMA_DIR}/${PORT}.run
    LOGFILE=${ARMA_DIR}/log.${PORT}.txt
    SERVER=${ARMA_DIR}/server
    OTHERPARAMS=-cpucount=2

    OTHERPARAMS='-cpucount=2'

    ---------- Post added at 12:01 ---------- Previous post was at 11:58 ----------

    also no caps. run ./tolower

  6. #6
    Ok, now i got only few error messages left....

    WATCHDOG (17147): [Mo 23. Jul 21:15:13 CEST 2012] Starting server (port 2302)...
    Warning Message: No entry '.\ArmA2OA.cfg.3D_Performance'.
    Warning Message: '/' is not a value
    Warning Message: No entry '.\ArmA2OA.cfg.adapter'.
    Warning Message: '/' is not a value
    Warning Message: No entry '.\ArmA2OA.cfg.Resolution_Bpp'.
    Warning Message: '/' is not a value
    No entry '.\ArmA2OA.cfg.3D_Performance'.
    21:15:29 Dedicated host created.
    21:15:30 Cannot start host on port 2302.


    any ideas?

  7. #7
    Arma2oa.cfg is missing or wrong path in Arma2oaserver

  8. #8
    Quote Originally Posted by Wolf5 View Post
    Arma2oa.cfg is missing or wrong path in Arma2oaserver
    AFAIK thats the default name wich is loaded if you dont specify another file with cfg="" param.
    Although on a linux machine it has to be all lower case -> arma2oa.cfg and has to be in arma2oaserver and also the file has to have the exact same name.
    You could rename the file to arma2oa.cfg and delete the entry in arma2oaserver.
    Last edited by basedow; Jul 24 2012 at 13:45.

  9. #9
    Sadly, if the arma2oaserver script is left default, and someone merely adds:

    Code:
    CFG=arma2oa.cfg
    But does not edit this line:

    Code:
    ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} ${OTHERPARAMS}
    Then the server should read the arma2oa.cfg that should be in the ArmA2 OA root directory. If its in caps, the server will not read it, if the permissions are incorrect, the server will not read it. The 'CFG' line does not need to be added to the launch script, since the server reads it upon launch.

    However, if these 3 lines in the file, all have '0' or are not defined, you can get the above errors as well

    Code:
    3D_Performance
    adapter
    Resolution_Bpp
    Most likely reason for this error is a server already running on 2302:

    Code:
    21:15:29 Dedicated host created.
    21:15:30 Cannot start host on port 2302.
    ...Syn...
    Last edited by VisceralSyn; Jul 24 2012 at 15:04. Reason: Dang gumbed typos....

  10. #10
    Private First Class
    Join Date
    Apr 9 2012
    Location
    Massachusetts
    Posts
    21
    Here's my cfg:

    language="English";
    adapter=-1;
    3D_Performance=1;
    Resolution_W=800;
    Resolution_H=600;
    Resolution_Bpp=32;
    MinBandwidth=4000000;
    MaxBandwidth=100000000;
    MaxMsgSend=512;
    MaxSizeGuaranteed=512;
    MaxSizeNonguaranteed=256;
    MinErrorToSend=0.001;
    MinErrorToSendNear=0.0099999998;
    MaxCustomFileSize=160000;
    Windowed=0;

    As far as the port goes, if your using the linux firewall open port 2302-2305

Page 1 of 2 12 LastLast

Similar Threads

  1. Ubuntu dedicated server showing as comptuer name? (logs)
    By sk82712 in forum ARMA 2 & OA - Servers & Administration
    Replies: 2
    Last Post: Apr 5 2011, 20:12
  2. Arma2OA Ubuntu not working?
    By elcubano in forum ARMA 2 & OA - Servers & Administration
    Replies: 3
    Last Post: Feb 8 2011, 04:11
  3. Ubuntu 10.4 dedicated server problems
    By rtb in forum ARMA 2 & OA - MULTIPLAYER
    Replies: 13
    Last Post: May 27 2010, 16:26
  4. Replies: 11
    Last Post: May 20 2009, 09:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •