steq 0 Posted May 15, 2012 Hi Guys! i was wondering if anyone is nice enough to help me? I am trying to set up a server on my ubuntu box and I can seem to see the server at all. I basically have followed this guide: doubleyadoubleyadoubleya.apollon-domain.co.uk/?p=221 Everything appears to be working ok and when i start the server i receive: ~/arma2$ sudo ./arma2oaserver start Starting ArmA 2 server... nohup: redirecting stderr to stdout mike@mike-XH61X000-100:~/arma2$ sudo ./arma2oaserver status Server should be running... mike@mike-XH61X000-100:~/arma2$ sudo ./arma2oaserver check ArmA 2 directory: / OK Server executable: // OK Port number: 2302 Config file: server.cfg OK PID file: //2302.pid RUN file: //2302.run I have opened ports on my router 2302 - 2305 I have not idea where to look for problems? I dont even see a local server under the LAN area in game. Are there any log files that I can look at? Cheers Mike Share this post Link to post Share on other sites
HitmanFF 6 Posted May 15, 2012 By default logging is done to file log.2302.txt . This should provide some information whether the server is starting (or errors are coming up instead). If that is looking OK, you could try checking whether the server is actually up on the ubuntu box: ps -p `cat 2302.pid` You could also check with netstat: netstat -pan | grep 2302 This way you'll get an indication whether the process is running or not. Share this post Link to post Share on other sites
=wfl= sgt bilko 10 Posted May 15, 2012 (edited) You should check your config file. Following line has to be there for the A2OA server to show up in public list: reportingIP = "arma2oapc.master.gamespy.com"; Make sure you have uncommented the correct one (and not the line for arma2pc) Btw, not sure why you do the "sudo" trick (which simplified means that the command following will be run as root). I assume you installed as a normal users (and permissions are set correct for that user). Log on as that user and just: ./arma2oaserver start Then type: ps x If server is running it should return a few rows out of one would be similar to: 3260 pts/0 Sl 0:21 ./server -server -config=server.cfg -port=2302 -pid=./2302.pid -cpucount=2 Unless you changed port in arma2oaserver, server will default to listening to ports: tcp 2302,2304,2305 (so tcp 2302-2305 should be ok). Edited May 15, 2012 by =WFL= Sgt Bilko Share this post Link to post Share on other sites
Overlord 0 Posted May 16, 2012 htop will also show you running processes, like M$ task manager. I'm not sure if your box name can effect server, if my memory don't fail me OFP server didn't like capital letters or digits in computer name. If I'm wrong, I'm sure it's corrected pretty fast by others :) Check the file arma2oaserver.2302.txt for any errors. Should look like this if the server starts correctly: 16:49:42 Dedicated host created.16:49:44 Host identity created. ArmA 2 OA Console version 1.60 : port 2402 - Sockets and like this when stopped: WATCHDOG (27015): [sun Mar 18 19:20:09 CET 2012] Server shutdown intentional, watchdog terminating Error messages is typically like this: WATCHDOG (26655): [sun Mar 18 18:58:44 CET 2012] Starting server (port 2402)...WATCHDOG (26564): [sun Mar 18 18:58:44 CET 2012] Server died, waiting to restart... WATCHDOG (26564): [sun Mar 18 18:58:49 CET 2012] Starting server (port 2402)... If you know server IP, you can try connecting by remot-option. If you're able to log in and play, it's just the reporting IP issue. Share this post Link to post Share on other sites
steq 0 Posted May 16, 2012 Hi guys, thanks very much for your replies. So my arma2oa.cfg file was reporting to arma2pc.master.gamespy.com and not arma2oapc.master.gamespy.com so i have changed that. Thanks for the tip. So I ran: netstat -pan | grep 2302, looks like nothing is binding to the port. I cant even see the server locally on LAN or remote. My knowledge of ubuntu is really basic so its gotta be something that i have not done correctly, or a software firewall that i dont know about. I cant see any arma2oaserver.2302.txt or any other log files, so its not working at all yet. I will redo all my config files and report back again. :) Again, cheers for the help lads. ta Mike Share this post Link to post Share on other sites
Overlord 0 Posted May 16, 2012 Better check if AA2 runs at all. Try start server without sudo ./, just use ./. And then check if server run. Wanna post/PM your config files? That might give us a (better) clue. Share this post Link to post Share on other sites
steq 0 Posted May 17, 2012 No it didnt run. I have installed windows on the box now, and im going to try again. :) Share this post Link to post Share on other sites