Jump to content
Sign in to follow this  
AbouSanchez

Arma2 OA Ubuntu Server

Recommended Posts

Hi,

I got recently a IBM x3550 2CPU L5420 + 8GB, and I want to make an arma server.

I installed arma2 OA server following several sites,

But impossible to get the server from another computer in same network.

When lauching arma 2 server, I get this :

aladin@armaserver:/opt/arma2oa$ sudo ./arma2oaserver start
Starting ArmA 2 server...
aladin@armaserver:/opt/arma2oa$ nohup: redirige stderr sur stdout
aladin@armaserver:/opt/arma2oa$ sudo ./arma2oaserver status
Server should be running...
aladin@armaserver:/opt/arma2oa$ sudo ./arma2oaserver check
ArmA 2 directory: / OK
Server executable: //server ERROR!
Port number: 2302
Config file: server.cfg OK
PID file: //2302.pid
RUN file: //2302.run

Maybe it's a common issue.

Does any have an idea?

Regards

Share this post


Link to post
Share on other sites

After doing chmod, I got this :

aladin@armaserver:/opt/arma2oa$ sudo ./server start
Warning Message: No entry '.\ArmA2OA.cfg.3D_Performance'.
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
Data file too short '/opt/arma2oa/pmc\addons\music_pmc.pbo'. Expected -1959920903 B, got 18834109 B
aladin@armaserver:/opt/arma2oa$

And same than before if I type arma2oaserver...

Share this post


Link to post
Share on other sites

Hi Magaman,

there is what I get when I try without sudo :

aladin@armaserver:/opt/arma2oa$ ./arma2oaserver start
Stopping ArmA 2 server...
rm: impossible de supprimer «//2302.run»: Permission non accordée
Starting ArmA 2 server...
./arma2oaserver: ligne 34: //2302.run: Permission non accordée
aladin@armaserver:/opt/arma2oa$ nohup: redirige stderr sur stdout

Share this post


Link to post
Share on other sites

You must delete 2302.pid (if exist) and 2302.run as root as you previously launched the server with this user. Also you have missing config lines in your arma2oa.cfg, check community.bistudio.com/wiki/basic.cfg for sample configuration file.

Edited by =[TTK]= Memphis007

Share this post


Link to post
Share on other sites
= Memphis007;2237143']You must suppress ...

I understand English can be a second language' date=' but there are internet dictionaries, definition of suppress

AbouSanchez, do not run server as root, correct permissions, and or ownership of all files and folders in the ArmA2 directory for the user account you are using. Correct the arma2oa.cfg, by adding lines the error message tells you are missing. Configure the arma2oaserver script, correctly, and use it to launch server: ./arma2oaserver start|stop|restart|status|check

...Syn...

Share this post


Link to post
Share on other sites

Totally agree with Syn, the root's account is not for run applications!

If the "./arma2oaserver check" reveals an issue about "./server", make "ldd ./server".

Share this post


Link to post
Share on other sites

Hi All,

Tom, this is the output of ldd ./server :

aladin@armaserver:/opt/arma2oa$ ldd ./server
       linux-gate.so.1 =>  (0xf77da000)
       libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf76e6000)
       libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76ba000)
       libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf769e000)
       libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7699000)
       librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7690000)
       libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7672000)
       libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74cd000)
       /lib/ld-linux.so.2 (0xf77db000)

Syn, this is the permission of my folder :

aladin@armaserver:/opt/arma2oa$ ls -l
total 63996
-rwxrwxrwx 1 aladin aladin     2282 mai   26 15:10 33930_install.vdf
-rwxrwxrwx 1 aladin aladin     1752 août  22 01:06 33933_install.vdf
-rwxrwxrwx 1 aladin aladin     1449 août  22 13:43 65700_install.vdf
-rwxrwxrwx 1 aladin aladin     1459 mai   26 14:18 65720_install.vdf
-rwxrwxrwx 1 aladin aladin  5611746 sept. 29 12:23 a2oa-server-1.62.97035.tar.bz2
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:23 @ace
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:25 @acex
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:26 @acex_ru
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:26 @acex_sm
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:27 @acex_usnavy
drwxrwxrwx 7 aladin aladin     4096 sept. 29 12:27 @acre
-rw------- 1 aladin aladin      184 oct.   7 17:49 arma2oa.cfg
-rwxrwxrwx 1 aladin aladin  5185156 mai   26 12:48 arma2oa_manual.pdf
-rwxrwxrwx 1 aladin aladin       74 mai   26 12:38 arma2oa_ogg.cmd
-rwxrwxrwx 1 aladin aladin    25819 mai   26 13:01 arma2oa_patch_1_59_readme.txt
-rwxrwxrwx 1 root   root       2937 oct.   7 17:49 arma2oaserver
-rwxrwxrwx 1 root   root       2817 sept. 29 17:09 arma2oaserver.save
-rwxrwxrwx 1 aladin aladin    14269 juil. 25 18:55 arma2oa_update_162_readme.txt
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:36 baf
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:36 besetup
-rwxrwxrwx 1 aladin aladin      226 mai   26 12:38 bis.url
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:27 @brg_africa
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:27 @cba
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:27 @cba_a2
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:27 @cba_oa
-rwxrwxrwx 1 aladin aladin      454 mai   26 13:53 checkfilelist.lst
drwxrwxrwx 2 aladin aladin    12288 sept. 29 12:40 common
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:27 @dayz
-rwxrwxrwx 1 aladin aladin     3680 oct.   6 21:11 default.arma2profile
drwxrwxrwx 2 aladin aladin    12288 sept. 29 12:40 directx
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:41 dlcsetup
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:42 dll
-rwxrwxrwx 1 aladin aladin      410 oct.   6 23:15 err.txt
drwxrwxrwx 7 aladin aladin     4096 sept. 29 12:54 expansion
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:28 @fallujah
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:28 @ibr_dtowns
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:28 @ibr_plants
-rwxrwxrwx 1 root   root        351 août   3 16:13 install
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:31 @isla_duala
-rwxrwxrwx 1 aladin aladin       31 août   4 14:39 jayarma2extension.log
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:31 @jayarma2lib
-rwxrwxrwx 1 aladin aladin      121 juil.  4 23:34 jayarma2lib.log
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:31 @jayarma2lib_new
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:48 keys
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:31 @maf2extv3
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:48 missions
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:48 mpmissions
-rwxrwxrwx 1 aladin aladin 38757025 juil. 22 14:55 mpmissions.rar
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:32 @ngs_capraia
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:32 @nicosia
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:34 @ofrp
-rwxrwxrwx 1 aladin aladin        0 oct.   6 23:15 out.txt
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:49 pmc
-rwxrwxrwx 1 aladin aladin     1986 juil. 25 18:55 readme_fxaa.txt
-rwxrwxrwx 1 aladin aladin     3387 mai   26 12:38 readme_oa.txt
-rwxrwxrwx 1 aladin aladin     1930 juil. 25 18:56 readme_smaa.txt
-rwxrwxrwx 1 root   root       4089 févr.  6  2012 readme.txt
-rwxrwxrwx 1 aladin aladin     2166 mai   26 12:38 _runa2co_beta.cmd
-rwxrwxrwx 1 aladin aladin     2911 mai   26 12:38 _runa2co.cmd
-rwxrwxrwx 1 root   root   15631280 sept. 18 09:16 server
-rwxrwxrwx 1 aladin aladin     3457 oct.   6 19:45 server.cfg
-rwxrwxrwx 1 root   root      13212 sept. 29 13:41 tolower
-rwxrwxrwx 1 root   root       3137 sept. 13  2007 tolower.c
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:49 userconfig

And there is a arma2oaserver.cfg sample :

ARMA_DIR=/
CONFIG=server.cfg
CFG=
PORT=2302
PIDFILE=${ARMA_DIR}/${PORT}.pid
RUNFILE=${ARMA_DIR}/${PORT}.run
LOGFILE=${ARMA_DIR}/log.${PORT}.txt
SERVER=${ARMA_DIR}/server
MOD=@ace\;@acex\;@acex_ru\;@acex_sm\;@acex_usnavy\;@cba\;@cba2\;@cba_oa\;@ofrp\;@fallujah\;pmc\;baf\;
OTHERPARAMS='-cfg=arma2oa.cfg -cpucount=4'

Thx for your contribution mates

Share this post


Link to post
Share on other sites

Hi All,

Tom, this is the output of ldd ./server :

aladin@armaserver:/opt/arma2oa$ ldd ./server
       linux-gate.so.1 =>  (0xf77da000)
       libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf76e6000)
       libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76ba000)
       libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf769e000)
       libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7699000)
       librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7690000)
       libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7672000)
       libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74cd000)
       /lib/ld-linux.so.2 (0xf77db000)

Syn, this is the permission of my folder :

aladin@armaserver:/opt/arma2oa$ ls -l
total 63996
-rwxrwxrwx 1 aladin aladin     2282 mai   26 15:10 33930_install.vdf
-rwxrwxrwx 1 aladin aladin     1752 août  22 01:06 33933_install.vdf
-rwxrwxrwx 1 aladin aladin     1449 août  22 13:43 65700_install.vdf
-rwxrwxrwx 1 aladin aladin     1459 mai   26 14:18 65720_install.vdf
-rwxrwxrwx 1 aladin aladin  5611746 sept. 29 12:23 a2oa-server-1.62.97035.tar.bz2
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:23 @ace
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:25 @acex
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:26 @acex_ru
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:26 @acex_sm
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:27 @acex_usnavy
drwxrwxrwx 7 aladin aladin     4096 sept. 29 12:27 @acre
-rw------- 1 aladin aladin      184 oct.   7 17:49 arma2oa.cfg
-rwxrwxrwx 1 aladin aladin  5185156 mai   26 12:48 arma2oa_manual.pdf
-rwxrwxrwx 1 aladin aladin       74 mai   26 12:38 arma2oa_ogg.cmd
-rwxrwxrwx 1 aladin aladin    25819 mai   26 13:01 arma2oa_patch_1_59_readme.txt
-rwxrwxrwx 1 root   root       2937 oct.   7 17:49 arma2oaserver
-rwxrwxrwx 1 root   root       2817 sept. 29 17:09 arma2oaserver.save
-rwxrwxrwx 1 aladin aladin    14269 juil. 25 18:55 arma2oa_update_162_readme.txt
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:36 baf
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:36 besetup
-rwxrwxrwx 1 aladin aladin      226 mai   26 12:38 bis.url
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:27 @brg_africa
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:27 @cba
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:27 @cba_a2
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:27 @cba_oa
-rwxrwxrwx 1 aladin aladin      454 mai   26 13:53 checkfilelist.lst
drwxrwxrwx 2 aladin aladin    12288 sept. 29 12:40 common
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:27 @dayz
-rwxrwxrwx 1 aladin aladin     3680 oct.   6 21:11 default.arma2profile
drwxrwxrwx 2 aladin aladin    12288 sept. 29 12:40 directx
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:41 dlcsetup
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:42 dll
-rwxrwxrwx 1 aladin aladin      410 oct.   6 23:15 err.txt
drwxrwxrwx 7 aladin aladin     4096 sept. 29 12:54 expansion
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:28 @fallujah
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:28 @ibr_dtowns
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:28 @ibr_plants
-rwxrwxrwx 1 root   root        351 août   3 16:13 install
drwxrwxrwx 5 aladin aladin     4096 sept. 29 12:31 @isla_duala
-rwxrwxrwx 1 aladin aladin       31 août   4 14:39 jayarma2extension.log
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:31 @jayarma2lib
-rwxrwxrwx 1 aladin aladin      121 juil.  4 23:34 jayarma2lib.log
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:31 @jayarma2lib_new
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:48 keys
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:31 @maf2extv3
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:48 missions
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:48 mpmissions
-rwxrwxrwx 1 aladin aladin 38757025 juil. 22 14:55 mpmissions.rar
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:32 @ngs_capraia
drwxrwxrwx 6 aladin aladin     4096 sept. 29 12:32 @nicosia
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:34 @ofrp
-rwxrwxrwx 1 aladin aladin        0 oct.   6 23:15 out.txt
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:49 pmc
-rwxrwxrwx 1 aladin aladin     1986 juil. 25 18:55 readme_fxaa.txt
-rwxrwxrwx 1 aladin aladin     3387 mai   26 12:38 readme_oa.txt
-rwxrwxrwx 1 aladin aladin     1930 juil. 25 18:56 readme_smaa.txt
-rwxrwxrwx 1 root   root       4089 févr.  6  2012 readme.txt
-rwxrwxrwx 1 aladin aladin     2166 mai   26 12:38 _runa2co_beta.cmd
-rwxrwxrwx 1 aladin aladin     2911 mai   26 12:38 _runa2co.cmd
-rwxrwxrwx 1 root   root   15631280 sept. 18 09:16 server
-rwxrwxrwx 1 aladin aladin     3457 oct.   6 19:45 server.cfg
-rwxrwxrwx 1 root   root      13212 sept. 29 13:41 tolower
-rwxrwxrwx 1 root   root       3137 sept. 13  2007 tolower.c
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:49 userconfig

And there is a arma2oaserver.cfg sample :

ARMA_DIR=/
CONFIG=server.cfg
CFG=
PORT=2302
PIDFILE=${ARMA_DIR}/${PORT}.pid
RUNFILE=${ARMA_DIR}/${PORT}.run
LOGFILE=${ARMA_DIR}/log.${PORT}.txt
SERVER=${ARMA_DIR}/server
MOD=@ace\;@acex\;@acex_ru\;@acex_sm\;@acex_usnavy\;@cba\;@cba2\;@cba_oa\;@ofrp\;@fallujah\;pmc\;baf\;
OTHERPARAMS='-cfg=arma2oa.cfg -cpucount=4'

Thx for your contribution mates

Share this post


Link to post
Share on other sites

Hi All,

Following your advices, I made some changes on my conf, but I still not manage to run the server properly

Tom, this is the output of ldd ./server :

aladin@armaserver:/opt/arma2oa$ ldd ./server
  linux-gate.so.1 =>  (0xf772b000)
  libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7637000)
  libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf760b000)
  libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf75ef000)
  libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf75ea000)
  librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf75e1000)
  libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf75c3000)
  libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf741e000)
  /lib/ld-linux.so.2 (0xf772c000)

I never used this command before, I don't know what I should see...

Syn, I changed most permissions but I still do not manage to run the server properly, nore as sudo nore without, see below the output without sudo and the rights:

aladin@armaserver:/opt/arma2oa$ ./arma2oaserver start
Starting ArmA 2 server...
./arma2oaserver: ligne 34: //2302.run: Permission non accordée
aladin@armaserver:/opt/arma2oa$ nohup: redirige stderr sur stdout

aladin@armaserver:/opt/arma2oa$ ls -l
total 63996

...

-rwxrwxrwx 1 aladin aladin      295 oct.  10 12:21 arma2oa.cfg
-rwxrwxrwx 1 aladin aladin  5185156 mai   26 12:48 arma2oa_manual.pdf
-rwxrwxrwx 1 aladin aladin       74 mai   26 12:38 arma2oa_ogg.cmd
-rwxrwxrwx 1 aladin aladin    25819 mai   26 13:01 arma2oa_patch_1_59_readme.txt
-rwxrwxrwx 1 root   root       2948 oct.  10 12:24 arma2oaserver
-rwxrwxrwx 1 root   root       2817 sept. 29 17:09 arma2oaserver.save
-rwxrwxrwx 1 aladin aladin    14269 juil. 25 18:55 arma2oa_update_162_readme.txt
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:36 baf
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:36 besetup
-rwxrwxrwx 1 aladin aladin      454 mai   26 13:53 checkfilelist.lst
drwxrwxrwx 2 aladin aladin    12288 sept. 29 12:40 common
-rwxrwxrwx 1 aladin aladin     3680 oct.   6 21:11 default.arma2profile
drwxrwxrwx 2 aladin aladin    12288 sept. 29 12:40 directx
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:41 dlcsetup
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:42 dll
-rwxrwxrwx 1 aladin aladin      410 oct.   6 23:15 err.txt
drwxrwxrwx 7 aladin aladin     4096 sept. 29 12:54 expansion
-rwxrwxrwx 1 root   root        351 août   3 16:13 install
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:48 keys
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:48 missions
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:48 mpmissions
-rwxrwxrwx 1 aladin aladin 38757025 juil. 22 14:55 mpmissions.rar
-rwxrwxrwx 1 aladin aladin        0 oct.   6 23:15 out.txt
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:49 pmc
-rwxrwxrwx 1 aladin aladin     1986 juil. 25 18:55 readme_fxaa.txt
-rwxrwxrwx 1 aladin aladin     3387 mai   26 12:38 readme_oa.txt
-rwxrwxrwx 1 aladin aladin     1930 juil. 25 18:56 readme_smaa.txt
-rwxrwxrwx 1 root   root       4089 févr.  6  2012 readme.txt
-rwxrwxrwx 1 aladin aladin     2166 mai   26 12:38 _runa2co_beta.cmd
-rwxrwxrwx 1 aladin aladin     2911 mai   26 12:38 _runa2co.cmd
-rwxrwxrwx 1 root   root   15631280 sept. 18 09:16 server
-rwxrwxrwx 1 aladin aladin     3444 oct.  10 12:11 server.cfg
-rwxrwxrwx 1 root   root      13212 sept. 29 13:41 tolower
-rwxrwxrwx 1 root   root       3137 sept. 13  2007 tolower.c
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:49 userconfig

For all, there is a sample of the differents config files :

arma2oaserver :

ARMA_DIR=/
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
MOD=@ace\;@acex\;@acex_ru\;@acex_sm\;@acex_usnavy\;@cba\;@cba2\;@cba_oa\;@ofrp\;@fallujah\;pmc\;baf\;
OTHERPARAMS='-cfg=arma2oa.cfg -cpucount=4'

arma2oa.cfg :

language="English";
adapter=-1;
3D_Performance=1;
Resolution_W=800;
Resolution_H=600;
Resolution_Bpp=32;
MinBandwidth=10000000;
MaxBandwidth=2147483647;
MaxMsgSend=1024;
MaxSizeGuaranteed=1024;
MaxSizeNonguaranteed=64;
MinErrorToSend=0.0040000002;
MaxCustomFileSize=0;
Windowed=0;

Thx for such a precious help

Share this post


Link to post
Share on other sites

You have several files owned by your root user, this is wrong, as the game server is intended to be launched by "aladin".

Use : chown -R aladin:aladin /opt/arma2oa as root to correct that.

Also you can delete *.lst *.pdf *.dll *.txt *.cmd files of your folder as they aren't needed there.

Edited by =[TTK]= Memphis007

Share this post


Link to post
Share on other sites
Hi All,

Following your advices, I made some changes on my conf, but I still not manage to run the server properly

Tom, this is the output of ldd ./server :

aladin@armaserver:/opt/arma2oa$ ldd ./server
  linux-gate.so.1 =>  (0xf772b000)
  libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7637000)
  libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf760b000)
  libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf75ef000)
  libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf75ea000)
  librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf75e1000)
  libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf75c3000)
  libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf741e000)
  /lib/ld-linux.so.2 (0xf772c000)

I never used this command before, I don't know what I should see...

Syn, I changed most permissions but I still do not manage to run the server properly, nore as sudo nore without, see below the output without sudo and the rights:

aladin@armaserver:/opt/arma2oa$ ./arma2oaserver start
Starting ArmA 2 server...
./arma2oaserver: ligne 34: //2302.run: Permission non accordée
aladin@armaserver:/opt/arma2oa$ nohup: redirige stderr sur stdout

This error message is telling you, you don't have permissions to run the server with that user account.

aladin@armaserver:/opt/arma2oa$ ls -l
total 63996

...

-rwxrwxrwx 1 aladin aladin      295 oct.  10 12:21 arma2oa.cfg
-rwxrwxrwx 1 aladin aladin  5185156 mai   26 12:48 arma2oa_manual.pdf
-rwxrwxrwx 1 aladin aladin       74 mai   26 12:38 arma2oa_ogg.cmd
-rwxrwxrwx 1 aladin aladin    25819 mai   26 13:01 arma2oa_patch_1_59_readme.txt
-rwxrwxrwx 1 root   root       2948 oct.  10 12:24 arma2oaserver
-rwxrwxrwx 1 root   root       2817 sept. 29 17:09 arma2oaserver.save
-rwxrwxrwx 1 aladin aladin    14269 juil. 25 18:55 arma2oa_update_162_readme.txt
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:36 baf
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:36 besetup
-rwxrwxrwx 1 aladin aladin      454 mai   26 13:53 checkfilelist.lst
drwxrwxrwx 2 aladin aladin    12288 sept. 29 12:40 common
-rwxrwxrwx 1 aladin aladin     3680 oct.   6 21:11 default.arma2profile
drwxrwxrwx 2 aladin aladin    12288 sept. 29 12:40 directx
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:41 dlcsetup
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:42 dll
-rwxrwxrwx 1 aladin aladin      410 oct.   6 23:15 err.txt
drwxrwxrwx 7 aladin aladin     4096 sept. 29 12:54 expansion
-rwxrwxrwx 1 root   root        351 août   3 16:13 install
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:48 keys
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:48 missions
drwxrwxrwx 2 aladin aladin     4096 sept. 29 12:48 mpmissions
-rwxrwxrwx 1 aladin aladin 38757025 juil. 22 14:55 mpmissions.rar
-rwxrwxrwx 1 aladin aladin        0 oct.   6 23:15 out.txt
drwxrwxrwx 3 aladin aladin     4096 sept. 29 12:49 pmc
-rwxrwxrwx 1 aladin aladin     1986 juil. 25 18:55 readme_fxaa.txt
-rwxrwxrwx 1 aladin aladin     3387 mai   26 12:38 readme_oa.txt
-rwxrwxrwx 1 aladin aladin     1930 juil. 25 18:56 readme_smaa.txt
-rwxrwxrwx 1 root   root       4089 févr.  6  2012 readme.txt
-rwxrwxrwx 1 aladin aladin     2166 mai   26 12:38 _runa2co_beta.cmd
-rwxrwxrwx 1 aladin aladin     2911 mai   26 12:38 _runa2co.cmd
-rwxrwxrwx 1 root   root   15631280 sept. 18 09:16 server
-rwxrwxrwx 1 aladin aladin     3444 oct.  10 12:11 server.cfg
-rwxrwxrwx 1 root   root      13212 sept. 29 13:41 tolower
-rwxrwxrwx 1 root   root       3137 sept. 13  2007 tolower.c
drwxrwxrwx 4 aladin aladin     4096 sept. 29 12:49 userconfig

here all files and subfolders in the directory do not belong to the user account thats to be used to run the server. CORRECT that...

For all, there is a sample of the differents config files :

arma2oaserver :

ARMA_DIR=/
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='-cfg=arma2oa.cfg -cpucount=4 -mod=@ace;@acex;@acex_ru;@acex_sm;@acex_usnavy;@cba;@cba2;@cba_oa;@ofrp;@fallujah;pmc;baf'

no idea why everyone wants bloat the launch script with a mod line, when thats what OTHERPARAMS is there for. Also, the server reads arma2oa.cfg by default, you don't need to add that line. and if you have a quad core cpu, the server also correctly detects cores.

arma2oa.cfg :

language="English";
adapter=-1;
3D_Performance=1;
Resolution_W=800;
Resolution_H=600;
Resolution_Bpp=32;
MinBandwidth=10000000; line not needed, per BIS Devs
MaxBandwidth=2147483647; You really have 2Gbps upload?
MaxMsgSend=1024; this setting is per client, at max this will allow you to send 8Mbps to 1 client...
MaxSizeGuaranteed=1024; Recommended by BIS Devs to be left default
MaxSizeNonguaranteed=64; Recommended by BIS Devs to be left default
MinErrorToSend=0.0040000002;
MaxCustomFileSize=0;
Windowed=0;

Thx for such a precious help

There are still an awful lot of files in there, I'm not at home to compare to my server. Once you resolve the permissions, make sure to run the install. Remove BAF, and PMC dirs, per BIS DEV's the PMC, BAF Lite are already in Addons.

...Syn...

Edited by VisceralSyn

Share this post


Link to post
Share on other sites

ARMA_DIR=/

CONFIG=server.cfg

CFG=

OTHERPARAMS='-cfg=arma2oa.cfg -cpucount=4'

should be:

ARMA_DIR=/home/aladin ?

CONFIG=server.cfg

CFG=arma2oa.cfg

OTHERPARAMS='-cpucount=4'

Also if running mods cba has to be 1st.

=@cba\;@cba_a2\;@cba_oa\;@ace\;@acex\;@acex_ru\;@acex_sm\;@acex_usnavy\;@ofrp\;@fallujah\;pmc\;baf

not sure about pmc and baf. and no \; on the end

some files are owned by root those need to be changed.

Share this post


Link to post
Share on other sites

Warning Message: No entry '.\ArmA2OA.cfg.Resolution_Bpp'.

Warning Message: '/' is not a value

Hello!

I think some of the error messages are due that most missions and mods are created under Windows platform. I did some light testing with Vmware player and created Centos 6.3 64 bit environment. I copied the Arma2OA environment from my Windows workstation to Centos ext4 partition and tried to get it working. Quite many errors when starting the server. Note that I did have full BAF, ACR and PMC installed.

My second test was to create second DOS (vfat) disk and I allocated this to Windows XP under vmware. I installed Arma2, Arma2OA, patch 1.62 and ACR lite to that installation. Next I moved this disk from XP to Centos and mounted it as /arma, uid=arma, gid=arma.

Many of the warning errors vanished. I also had FDFmod installed on both environment and the error messages I gave also vanished. Some random missions started right away.

Can arma2oaserver handle file and directory names within mission file or mod file, if they are created on Windows, and they contain uppercase characters? I assume it can not. There needs to be some kind of standardization layer under windows, when creating file or directory and this layer should handle file name conversion under Linux, too. Like having little-endian or big endian-data.

As an workaround, you can just create a small vfat partition and install all arma stuff in it. At least you get rid of a lot of warnings.

Comments?

BTW: How about that bash script at dev-heaven to get rid of the C-script and need to have full c compiler on Linux arma2oa server?

Share this post


Link to post
Share on other sites

That particular error message says the config file, has not been configured.

Missions can be made on mars, makes no difference.

...Syn...

Share this post


Link to post
Share on other sites

Hi All,

I made some improvements since.

First of all, I managed to launch ./server :

aladin@armaserver:/opt/arma2oa$ ./server
16:20:19 Dedicated host created.
16:20:20 BattlEye Server: Initialized (v1.162)
16:20:20 Host identity created.
ArmA 2 OA Console version 1.62 : port 2302

Then I got everything OK when I do ./arma2oaserver check :

aladin@armaserver:/opt/arma2oa$ ./arma2oaserver check
ArmA 2 directory: /opt/arma2oa OK
Server executable: /opt/arma2oa/server OK
Port number: 2302
Config file: server.cfg OK
PID file: /opt/arma2oa/2302.pid
RUN file: /opt/arma2oa/2302.run

but I still have issues by doing ./arma2oaserver start :

aladin@armaserver:/opt/arma2oa$ ./arma2oaserver start
Stopping ArmA 2 server...
Starting ArmA 2 server...
aladin@armaserver:/opt/arma2oa$ nohup: redirige stderr sur stdout

I still do not find the server on the Internet list, I'm investigating but maybe it is viewable cause I saw some connected briefly to it.

Regards,

Abou Sanchez

Share this post


Link to post
Share on other sites

When you run './arma2oaserver start', make sure you don't already have a server running. You can use top, to check, and kill the other running server, if you have one already running.

...Syn...

Share this post


Link to post
Share on other sites

Hi All,

Thx for your contribution.

Server is running now and viewable from outside.

./arma2oaserver is still not running properly, but ./server is already nice.

I'll try to resolve it by myself, it will be a good exercise.

I'll update the post when found for next (if there is still) guys.

Share this post


Link to post
Share on other sites

Hi all, i have perhaps the same problem.

I launch my server on an Ubuntu Server, but nothing work.

       linux-gate.so.1 =>  (0xf7709000)
       libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7610000)
       libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf75e4000)
       libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf75c8000)
       libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf75c3000)
       librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf75ba000)
       libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf759c000)
       libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf73f2000)
       /lib/ld-linux.so.2 (0xf770a000)

server.cfg :

hostname = "pouet Serveur 1";

password = "";

passwordAdmin = "blurp";

reportingIP = "armedass.master.gamespy.com";

logFile = "logs/server.log";

motd[] = {

"Good morning ! France !",

"",

"amusez-vous !"

};

motdInterval = 5;

checkfiles[] = {};

maxPlayers = 32;

kickDuplicate = 1;

verifySignatures = 0;

equalModRequired = 0;

voteMissionPlayers = 64;

voteThreshold = 1;

disableVoN = 1;

vonCodecQuality = 0;

persistent = 1;

onUserConnected = "";

onUserDisconnected = "";

doubleIdDetected = "";

regularCheck = "";

onUnsignedData = "kick (_this select 0)";

onHackedData = "kick (_this select 0)";

onDifferentData = "";

BattlEye = 1;

class Missions {};

i have one file in the mpmission directory (WarfareV2_071LiteCO.Chernarus.pbo), but when i go in the Arma2 client server interface, i can't move in the mission player's list, i have only a black screen, with at top-rigth, in red, my nickname and the

Share this post


Link to post
Share on other sites

I am interested in how this goes... I already have a server running server 2008 and currently found a cheap 2nd hand HP Proliant DL380 G5 2U Server 2x Xeon Quad 3.16GHz which I want to use Ubuntu.... It should be a challenge to setup.

Share this post


Link to post
Share on other sites
I am interested in how this goes... I already have a server running server 2008 and currently found a cheap 2nd hand HP Proliant DL380 G5 2U Server 2x Xeon Quad 3.16GHz which I want to use Ubuntu.... It should be a challenge to setup.

Not really. It's been done before, it's well doable with a little support from the forums. I missed this thread completely previously, but AbouSanchez had ARMA_DIR=/ in the first line, which should have been ARMA_DIR=/opt/arma2oa

I would expect that tanaka didn't run tolower, because the linux server can't deal with uppercase letters, and the mission name listed is showing uppercase letters, so effectively there are no missions for the linux server to run. That doesn't explain why he had a black screen though, so more info would be needed to figure out what else might be wrong.

Share this post


Link to post
Share on other sites

Well, the server didn't find any suitable missions to run then, been there, done that ;)

Was completely off my mind just then, (wrongly) I recon they had followed the basics, cause the whole server setup process is deeply explained in several threads. Most important change now is the latest GCC libs.

Share this post


Link to post
Share on other sites

well it is not a easy as you think... after following the instructions I am getting the error..

Data file too short '/opt/arma2/pmc\addons\provinggrounds_pmc.pbo'. Expected 1909187668 B, got 38997194 B

I am trying it on Unbuntu server 12.04. Text only...no GUI installed.

I have deleted and recopied so many times... I am thinking about spending the cash for Micro$soft server...

Share this post


Link to post
Share on other sites
well it is not a easy as you think... after following the instructions I am getting the error..

Data file too short '/opt/arma2/pmc\addons\provinggrounds_pmc.pbo'. Expected 1909187668 B, got 38997194 B

I am trying it on Unbuntu server 12.04. Text only...no GUI installed.

I have deleted and recopied so many times... I am thinking about spending the cash for Micro$soft server...

Save the cash for now. You should not upload the DLC folders to your server. Remove the whole PMC folder (and any other official DLC installations such as BAF you may have uploaded) and try again.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×