Jump to content
Sign in to follow this  
maruk

Arma II Linux Server 1.04 Public Alpha

Recommended Posts

Iam not, whole addons folder is on server, it has 100 files, exactly as my folder in win.. I realy dont know :confused: :mad:

Share this post


Link to post
Share on other sites

No I change all capital letters to small thru FTP.

When I start tolower it show this:

bohemia_interactive$ ./tolower

No file-names were converted

Share this post


Link to post
Share on other sites
No I change all capital letters to small thru FTP.

When I start tolower it show this:

bohemia_interactive$ ./tolower

No file-names were converted

Try to change capital letters by './install' instead of by FTP.

Share this post


Link to post
Share on other sites

I've one question to those who are running the linux server:

Did you manage to adjust the AI difficult? My adjustment to player.arma2profile seem to get ignored.

Share this post


Link to post
Share on other sites

No bug report these dayes, It seems that the beta version or final version will come out soon.

Share this post


Link to post
Share on other sites
I've one question to those who are running the linux server:

Did you manage to adjust the AI difficult? My adjustment to player.arma2profile seem to get ignored.

check my previous post out:

http://forums.bistudio.com/showpost.php?p=1477143&postcount=46

you got to point your server to the profile file, by the name ("host" in my case) and the profile path-.

Share this post


Link to post
Share on other sites

Could I please just seek some clarification on case sensitivity? If I set every file and every folder name to lower case will it work?

Share this post


Link to post
Share on other sites

Any ideas how to fix this shit? And please dont tell me that I dont have addons folder on my server or that I should start tolower. I spend all night uploading corrupted addons on my server...

Thanks very much for help

8:33:10 Roles assigned.

8:33:10 Reading mission ...

Warning: preNLOD format in object ca\misc\garbage_paleta.p3d

109/10/11, 8:33:13 Critical: Destroying running thread!

Segmentation fault

Share this post


Link to post
Share on other sites
Could I please just seek some clarification on case sensitivity? If I set every file and every folder name to lower case will it work?

linux is always case sensitiv. so it should work if you got everything in lower case.

Any ideas how to fix this shit? And please dont tell me that I dont have addons folder on my server or that I should start tolower. I spend all night uploading corrupted addons on my server...

Thanks very much for help

8:33:10 Roles assigned.

8:33:10 Reading mission ...

Warning: preNLOD format in object ca\misc\garbage_paleta.p3d

109/10/11, 8:33:13 Critical: Destroying running thread!

Segmentation fault

seems like your server is running...otherwise you wont be able to start a mission. does this happen with every mission or is it one specific?

Share this post


Link to post
Share on other sites

To: Dr Pulp

Yes the server is running, but its useless to have a server when u cant play missions.

And yes its always same, I can choose any mission and the error is same.

Share this post


Link to post
Share on other sites

Rodman it will be looked into but not today so don't worry :)

Share this post


Link to post
Share on other sites

We just got notified by our provider that the linux server is spamming the internet with UDP tickets. It seems to send directly to 255.255.255.255, so to everyone.

server.cfg:

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

arma2server:

${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE}

If this is not an error from our configuration, then this error is major and should get fixed immediately!

Can anyone monitor the network activity of their linux server for UDP packages?

Edit: Last lines of log:

18:42:12 Player xxx disconnected.
WATCHDOG (11775): [Mi 11. Nov 17:01:13 CET 2009] Starting server (port 2310)...
Cannot register unknown string STR_USRACT_NETWORK_DS_INTERFACE
Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_CORE
Cannot register unknown string STR_ADDON_ACTIONS_INSTALL_MOD
Cannot register unknown string STR_ADDON_ACTIONS_PLAY_MISSION
Cannot register unknown string STR_ADDON_ACTIONS_TRY_ENTITY
Cannot register unknown string STR_ADDON_ACTIONS_TRY_WEAPON
Cannot register unknown string STR_MSG_ADDON_NOT_FOUND
Cannot register unknown string STR_MSG_ADDON_CANNOT_OPEN
Cannot register unknown string STR_MSG_ADDON_UNKNOWN_PRODUCT
17:01:17 Dedicated host created.
Warning Message: No entry 'bin\config.bin/CfgCoreData.textureLine3D'.
Warning Message: '/' is not a value
17:01:18 Host identity created.

The server process created a segfault, but stayed active. The watch dog thought that the server is down and started a new one.

Edited by i0n0s

Share this post


Link to post
Share on other sites
We just got notified by our provider that the linux server is spamming the internet with UDP tickets. It seems to send directly to 255.255.255.255, so to everyone.

...

Can anyone monitor the network activity of their linux server for UDP packages?

I can see this aswell using the ArmA II 1.04.59962 Linux server. I used a simple iptables firewall rule to log traffic directed at 255.255.255.255:

# iptables -I OUTPUT -p udp -d 255.255.255.255 -j LOG

Then, I watched the end of the system log as the ArmA II server was running:

# tail -f /var/log/messages
...
...
Nov 11 21:09:21 compy386 kernel: IN= OUT=eth0 SRC=xxx.xxx.xxx.xxx DST=255.255.255.255 LEN=33 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=2302 DPT=27900 LEN=13
...
...

From that we can tell that there is outgoing traffic from port 2302 to port 27900, destination 255.255.255.255.

I don't know if A2 is supposed to do that, but one could stop those packages by issuing

# iptables -A OUTPUT -p udp --sport 2302 --dport 27900 -d 255.255.255.255 -j DROP

Edited by Killswitch

Share this post


Link to post
Share on other sites
I can see this aswell using the ArmA II 1.04.59962 Linux server.
I've tried both tcpdump and the iptables logging to verify, but I cannot reproduce this behaviour on either of two servers. I do get traffic to port 27900 from my server, but it's directed towards IP address 207.38.11.182 (arma2pc.master.gamespy.com)

Port 27900 seems to be gamespy related (heartbeat). Kind of odd this is broadcasted instead of directed to a specific IP address.

My reportingIP entry in the server config is as follows:

reportingIP     =       "";

Perhaps you could check to see if changing it makes any difference.

Share this post


Link to post
Share on other sites
Port 27900 seems to be gamespy related (heartbeat). Kind of odd this is broadcasted instead of directed to a specific IP address.

My reportingIP entry in the server config is as follows:

reportingIP     =       "";

Perhaps you could check to see if changing it makes any difference.

Port 27900 is GameSpy "master port". It would be really nice to know the problem is reproducable if and only if the reportingIP is set.

---------- Post added at 10:50 AM ---------- Previous post was at 10:41 AM ----------

Any ideas how to fix this shit?

Warning: preNLOD format in object ca\misc\garbage_paleta.p3d

109/10/11, 8:33:13 Critical: Destroying running thread!

Segmentation fault

This warning seems to be crucial. We will look at it.

Share this post


Link to post
Share on other sites
Port 27900 is GameSpy "master port". It would be really nice to know the problem is reproducable if and only if the reportingIP is set.
I've done some more tests, and it seems that the 255.255.255.255 broadcast occurs if the host set in reportingIP isn't resolvable. That includes using nonsensical values such as

// Invalid host name
reportingIP="<>";

// Non-existing host
reportingIP="does.not.exist";

Now, yesterday evening when I tried this, even the valid "arma2pc.master.gamespy.com" host name caused the problem, but that may have been a DNS problem. (At that time, I didn't verify to see if the server could resolve the arma2pc.master.gamespy.com address). Moments ago, I re-did the test and when you use the arma2pc host name, no such broadcasts occur. Also, using the empty string for reportingIP is fine aswell.

Hypothesis: is 255.255.255.255 some form of fallback/default address used case of DNS, connectivity or other problems with the hostname given in reportingIP?

Edited by Killswitch

Share this post


Link to post
Share on other sites
To: Dr Pulp

Yes the server is running, but its useless to have a server when u cant play missions.

And yes its always same, I can choose any mission and the error is same.

Is it always Warning: preNLOD format in object ca\misc\garbage_paleta.p3d ???

The same model? What mission are you playing? What mods are you using?

We better repro steps to follow.

Can you also send us the md5sum of your misc.pbo file? (md5sum ./addons/misc.pbo)

Edited by Bebul
more info needed

Share this post


Link to post
Share on other sites

Problem solved, I have uploaded the misc.pbo againg and now its working.

Share this post


Link to post
Share on other sites

trying to start the server, and getting:

11:26:31 Dedicated host created.

Warning Message: No entry 'bin\config.bin/CfgCoreData.textureLine3D'.

Warning Message: '/' is not a value

11:26:33 Cannot start host on port 2302.

Ports are open, if I change the port to 2303, it does manage to create an identity but of course not appearing in the lobby.

Update:

Right ignore the above, its now loading however when I attempt to join is crashes the server. No error message.

Edited by PuG

Share this post


Link to post
Share on other sites
Update:

Right ignore the above, its now loading however when I attempt to join is crashes the server. No error message.

You'll need the beta mod folder from your Windows ArmA II installation aswell. The Linux server executable is of a later build than the stock 1.04 data files you have in the normal Addons and Dta folders. You can use this modified start script to launch the Linux server with the beta mod folder: arma2server-beta. So, in short:

  1. In Windows, install the latest beta
  2. Transfer the contents of the "beta" mod folder to your Linux server.
  3. On the Linux server, download the modified start script:
    wget http://www.zeus-community.net/tmp/arma2server-beta


  4. Make sure the script is set as executable:
    chmod +x arma2server-beta


  5. Make sure all file names are in lower-case letters:
    ./tolower


  6. Launch the Linux server using the modified start script.
    ./arma2server-beta


This will start the Linux server with "-mod=beta" and things should now work.

Share this post


Link to post
Share on other sites

Thanks for the quick reply.

Assume once using the beta mod on the server, only players updated themselves can join?

Right ive managed to get it loading a standard mission (without beta content) problem is now its not reading the mpmissions directory, its looking for "MPMissions". If I rename to match the case doesn't take effect.

Cannot open file 'MPMissions\Krasnostav_Armoured.Chernarus.pbo'

Critical:Destroying running thread!

Will carry on trying, and if not go to the beta.

Thanks

---------- Post added at 01:24 PM ---------- Previous post was at 01:04 PM ----------

Also I don't have ./tolower as script in the arma2 linux server package.

Edited by PuG

Share this post


Link to post
Share on other sites
Also I don't have ./tolower as script in the arma2 linux server package.
Do you have tolower.c in your arma2 folder? Try
make tolower

or

gcc -O -o tolower tolower.c

Share this post


Link to post
Share on other sites

ive got tolower.c, im getting allot of errors when running the gcc -O -o tolower tolower.c command or make.

tolower.c:11:19: error: stdio.h: No such file or directory
tolower.c:12:20: error: stdlib.h: No such file or directory
tolower.c:13:23: error: sys/types.h: No such file or directory
tolower.c:14:22: error: sys/stat.h: No such file or directory
tolower.c:15:20: error: dirent.h: No such file or directory
tolower.c:16:20: error: unistd.h: No such file or directory
tolower.c:17:20: error: string.h: No such file or directory
tolower.c:18:19: error: ctype.h: No such file or directory
tolower.c: In function 'convertDirectory':
tolower.c:25: error: 'DIR' undeclared (first use in this function)
tolower.c:25: error: (Each undeclared identifier is reported only once
tolower.c:25: error: for each function it appears in.)
tolower.c:25: error: 'dir' undeclared (first use in this function)
tolower.c:29: error: storage size of 'st' isn't known
tolower.c:34: warning: incompatible implicit declaration of built-in function 'strcpy'
tolower.c:35: warning: incompatible implicit declaration of built-in function 'strlen'
tolower.c:39: warning: assignment makes pointer from integer without a cast
tolower.c:40: error: dereferencing pointer to incomplete type
tolower.c:41: error: dereferencing pointer to incomplete type
tolower.c:42: error: dereferencing pointer to incomplete type
tolower.c:43: error: dereferencing pointer to incomplete type
tolower.c:46: error: dereferencing pointer to incomplete type
tolower.c:58: error: 'S_IWUSR' undeclared (first use in this function)
tolower.c:68: warning: incompatible implicit declaration of built-in function 'printf'
tolower.c:79: warning: incompatible implicit declaration of built-in function 'printf'
tolower.c: In function 'main':
tolower.c:93: warning: incompatible implicit declaration of built-in function 'printf'

I converted to lowercase using a script.

Must be missing alot of libs, not too keen on installing them either.

Edited by PuG

Share this post


Link to post
Share on other sites

Sounds like youre missing some neccesary packages.

try "sudo apt-get install build-essential"

or equivalent for whatever distro you run.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×