Jump to content
Sign in to follow this  
cyberwarriorsonline

Getting two errors when trying to start server, quick fixes.

Recommended Posts

I've troubleshooted so much today it's amazing. So here we go - Quick and easy.

Issue #1:

jordan@jordanserver:~/arma2arrowhead$ sudo ./arma2oaserver check
ArmA 2 directory:  OK
Server executable: /server ERROR!
Port number: 2302
Config file:  OK
PID file: /2302.pid
RUN file: /2302.run

Issue #2:

jordan@jordanserver:~/arma2arrowhead$ ./server
Data file too short '/home/jordan/arma2arrowhead/pmc\addons\ca_pmc.pbo'. Expected 1234612782 B, got 115987 B
Segmentation fault (core dumped)

Share this post


Link to post
Share on other sites

Issue #1:

Make sure the server binary has the required permissions. (

chmod +x server

should do the trick )

Issue #2:

Data file seems to be corrupt. Try reuploading the file specified in the error message.

Share this post


Link to post
Share on other sites

#1: The suggested command you say - does not fix the issue.

I believe it has something to do related to the reason why when I start my server I cannot locate my server in public host names but only locate it on the remote function.

#1.1: Also, when I use the command "./server" I recieve a odd message related to gamespy, I believe that all this is related (Gamespy, not being found on net, ./arma2oaserver check issue)

./server useage

jordan@jordanserver:~/arma2arrowhead$ ./server
10:54:28 Dedicated host created.
Obsolete class Animations defined in bin\config.bin/RscCompass/
Obsolete class Animations defined in bin\config.bin/RscWatch/
10:54:28 BattlEye Server: Initialized (v1.170)
10:54:28 Host identity created.
ArmA 2 OA Console version 1.62 : port 2302
Warning Message: No challenge value was received from the master server.
GameSpy QR2 error: 5, No challenge value was received from the master server.

#2: Apparently you don't put the PMC / BAF files on your server, I removed those directories and success.

Edited by CyberWarriorsOnline

Share this post


Link to post
Share on other sites

Could you post the content of your server.cfg? And I have a server running WITH BAF/PMC files on it. It seems like on of your uploaded files where corrupt/not completely uploaded. But I think it should wok without BAF/PMC. Mokouton

Share this post


Link to post
Share on other sites

#1 - You have to edit the arma2oaserver file and put the correct path to you arma installation, if you leave as default it will run the binary from root directory:

Default arma2oaserver:

ARMA_DIR=
SERVER=${ARMA_DIR}/server

... will execute /server

Example with ARMA_DIR set in arma2oaserver:

ARMA_DIR=/home/jordan/arma2arrowhead
SERVER=${ARMA_DIR}/server

... will execute /home/jordan/arma2arrowhead/server

And on a side note, you should not run any game server as root (sudo blablabla).

#2 - The recommendation is to NOT upload BAF/PMC folders to server.

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  

×