GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.31k stars 821 forks source link

[arma3server] Arma 3 Server RPT Log Missing #259

Closed KeanePW closed 9 years ago

KeanePW commented 9 years ago

Hi,

Just a quick bug report here.

The Arma 3 Server RPT Log is missing.

New machine, fresh install - RPT log is always missing.

This is a useful log to read for debugging any issues with the server.

Regards

dgibbs64 commented 9 years ago

Do you have any documentation I could use or info on this as I dont run an Arma 3 server. Thank you

KeanePW commented 9 years ago

Sure. Click here it's the official wiki for arma 3: https://community.bistudio.com/wiki/Arma_3_Dedicated_Server and then ctrl + f "rpt".

I'd expect the log to be located in: /home/arma3server/serverfiles/arma3.rpt (Debug Log, automatically created every time the arma3server is started)

Here are all the files in my serverfiles folder:

arma3server@RS158:~/serverfiles$ ll total 1293928 drwxrwxr-x 13 arma3server arma3server 4096 Jan 4 14:18 ./ drwxr-xr-x 10 arma3server arma3server 4096 Jan 7 05:00 ../ drwxrwxr-x 4 arma3server arma3server 4096 Jan 4 13:57 84785a6519ff04173bd09b447965ca1a61d23c11/ drwxrwxr-x 3 arma3server arma3server 4096 Jan 4 14:13 @life_server/ drwxrwxr-x 2 arma3server arma3server 20480 Jan 4 13:57 addons/ -rw-rw-r-- 1 arma3server arma3server 2654 Jan 4 17:52 arma3-server.cfg -rw-rw-r-- 1 arma3server arma3server 2496 Jan 4 13:58 arma3-server.cfg.default -rwxrwxr-x 1 arma3server arma3server 29070104 Jan 4 13:57 arma3server -rwxrwxr-x 1 arma3server arma3server 3892 Jan 4 13:57 arma3server_readme.txt -rw-rw-r-- 1 arma3server arma3server 272 Jan 4 17:57 basic.cfg drwxrwxr-x 3 arma3server arma3server 4096 Jan 4 14:16 battleye/ -rw------- 1 arma3server arma3server 1265676288 Jan 4 14:18 core drwxrwxr-x 3 arma3server arma3server 4096 Jan 4 13:57 curator/ drwxrwxr-x 2 arma3server arma3server 4096 Jan 4 13:57 dta/ drwxrwxr-x 3 arma3server arma3server 4096 Jan 4 14:18 extDB/ -rw-rw-r-- 1 arma3server arma3server 9152876 Jan 4 14:13 extDB.so -rw-rw-r-- 1 arma3server arma3server 1263 Jan 6 20:55 extdb-conf.ini drwxrwxr-x 3 arma3server arma3server 4096 Jan 4 13:57 heli/ drwxrwxr-x 3 arma3server arma3server 4096 Jan 4 13:57 kart/ drwxrwxr-x 2 arma3server arma3server 4096 Jan 4 13:57 keys/ -rw-rw-r-- 1 arma3server arma3server 2496 Jan 4 13:58 lgsm-default.cfg -rwxrwxr-x 1 arma3server arma3server 4240813 Jan 4 13:57 libsteam.so -rwxrwxr-x 1 arma3server arma3server 66686 Jan 4 13:57 libsteam_api.so -rwxrwxr-x 1 arma3server arma3server 185243 Jan 4 13:57 libtier0_s.so -rwxrwxr-x 1 arma3server arma3server 231443 Jan 4 13:56 libvstdlib_s.so drwxrwxr-x 2 arma3server arma3server 4096 Jan 5 22:07 mpmissions/ -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 14:15 netlog_arma3server_11487.log -rw-rw-r-- 1 arma3server arma3server 12288 Jan 4 14:04 netlog_arma3server_7310.log -rwxrwxr-x 1 arma3server arma3server 1633 Jan 4 13:57 readme_jemalloc.txt -rwxrwxr-x 1 arma3server arma3server 8 Jan 4 13:50 steam_appid.txt -rwxrwxr-x 1 arma3server arma3server 16220219 Jan 4 13:57 steamclient.so* arma3server@RS158:~/serverfiles$ pwd /home/arma3server/serverfiles arma3server@RS158:~/serverfiles$

I've checked the log folder for the server manager and its not in there either.

I hope this helps!

dgibbs64 commented 9 years ago

Just found this http://feedback.arma3.com/view.php?id=19945 which should mean that the logs you are looking for are located in the console log "log/console" as all the servers output from the terminal is output to console logs. Let me know if this is correct. Thanks

KeanePW commented 9 years ago

Hi,

Thank you so much for your help. You're epic man. I found the log folder and proceeded to the console folder, and it does indeed hold files but the log files are empty.

arma3server@RS158:~/log/console$ ll total 8 drwxrwxr-x 2 arma3server arma3server 4096 Jan 7 07:24 ./ drwxrwxr-x 4 arma3server arma3server 4096 Jan 4 13:58 ../ -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 13:58 arma3-server-console-04-01-2015-13-59-01.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 14:15 arma3-server-console-04-01-2015-14-15-23.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 14:16 arma3-server-console-04-01-2015-14-16-07.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 14:19 arma3-server-console-04-01-2015-14-19-18.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 14:21 arma3-server-console-04-01-2015-14-21-28.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 14:25 arma3-server-console-04-01-2015-14-25-12.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 14:40 arma3-server-console-04-01-2015-14-40-08.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 14:44 arma3-server-console-04-01-2015-14-44-37.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 14:46 arma3-server-console-04-01-2015-14-46-18.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 15:09 arma3-server-console-04-01-2015-15-09-44.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 15:18 arma3-server-console-04-01-2015-15-18-38.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 15:28 arma3-server-console-04-01-2015-15-28-04.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 22:06 arma3-server-console-04-01-2015-22-06-22.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 4 22:09 arma3-server-console-04-01-2015-22-09-01.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 05:00 arma3-server-console-05-01-2015-05-00-01.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 05:00 arma3-server-console-05-01-2015-12-57-01.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 12:59 arma3-server-console-05-01-2015-12-59-01.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 22:07 arma3-server-console-05-01-2015-22-07-56.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 22:10 arma3-server-console-05-01-2015-22-10-41.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 22:20 arma3-server-console-05-01-2015-22-20-22.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 22:31 arma3-server-console-05-01-2015-22-31-51.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 22:40 arma3-server-console-05-01-2015-22-40-39.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 22:42 arma3-server-console-05-01-2015-22-42-11.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 5 22:45 arma3-server-console-05-01-2015-22-45-38.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 6 05:00 arma3-server-console-06-01-2015-05-00-01.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 6 05:00 arma3-server-console-06-01-2015-20-50-13.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 6 20:57 arma3-server-console-06-01-2015-20-57-00.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 6 20:59 arma3-server-console-06-01-2015-20-59-33.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 6 21:46 arma3-server-console-06-01-2015-21-46-16.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 7 05:00 arma3-server-console-07-01-2015-05-00-01.log -rw-rw-r-- 1 arma3server arma3server 0 Jan 7 05:00 arma3-server-console-07-01-2015-07-24-01.log arma3server@RS158:~/log/console$ pwd /home/arma3server/log/console arma3server@RS158:~/log/console$

dgibbs64 commented 9 years ago

No problem. Check your tmux version please

tmux -V
KeanePW commented 9 years ago

arma3server@RS158:~$ tmux -V tmux 1.8

Sometimes I do see feedback about tmux (I redacted any IP/server name):

arma3server@RS158:~$ /home/arma3server/arma3server restart [ .... ] redacted|LinuxAltisLifeRPGModServer/home/arma3server/functions/fn_stopserver: line 15: fn_tmuxcheck: command not found [ OK ] redacted|LinuxAltisLifeRPGModServer [ .... ] redacted|LinuxAltisLifeRPGModServer/home/arma3server/functions/fn_startserver: line 21: fn_tmuxcheck: command not found [ OK ] redacted|LinuxAltisLifeRPGModServer arma3server@RS158:~$ /home/arma3server/arma3server monitor [ OK ] Checking session: OK [ OK ] Querying port: redacted:2303 : OK

Scarsz commented 9 years ago

Don't worry about fn_tmuxcheck not found errors, just a small, non-critical error in the scripts coding; this might be version dependent on the script version you're using though. Remove the functions folder and redownload the script, this likely wont fix your error but it might get rid of the tmuxcheck errors.

KeanePW commented 9 years ago

Thanks here are a few similar errors noticed, just for your information.

Backup

Backup created: backups/arma3-server-2015-01-07-214729.tar.gz

/home/arma3server/functions/fn_backupserver: line 59: fn_printcompletenl: command not found

arma3server@RS158:~$

Restart

/home/arma3server/functions/fn_stopserver: line 15: fn_tmuxcheck: command not found

/home/arma3server/functions/fn_startserver: line 21: fn_tmuxcheck: command not found

Console

Press "CTRL+b d" to exit console. /home/arma3server/functions/fn_console: line 17: fn_printwarningnl: command not found

Scarsz commented 9 years ago

Have you tried updating the script? I looked into the related coding and as far as I could see it should be working.

dgibbs64 commented 9 years ago

Yeah it doesn't make sense to me as I am not having this issue. It may just be that the arma3server file needs updating.

KeanePW commented 9 years ago

When I used this on a 64-Bit system there were no tmux errors for me either. They only occurred on my 32-Bit installation. Ubuntu 14.04 always. I don't use VMware/VDS installations for game servers, only real machines - dedicated servers. The script files are the latest, I deleted the functions folder as requested, and the new functions were downloaded. The error has disappeared from the monitor function, so whatever you changed there has worked, however the other functions stated above still have the warning error messages. As you said these warnings do not stop the function from taking place, it's just nicer to not see errors. I would fix them myself, but everything works so there is no need. I consider it only a low priority cosmetic change, but I report it to you guys as you may not want errors showing.

dgibbs64 commented 9 years ago

I will have to load my VM with Ubuntu 14.04 x 32 and try to replicate the issue. Your Tmux version is good. If lower than tmux 1.6 console log does not work because the required feature does not exist.

A few people have had the command not found issue with fn_printwarningnl however the function does exist in fn_messages file and I don't get the issue when testing. Maybe Ubuntu 14.04 x32 will help.

KeanePW commented 9 years ago

What exactly needs to be updated? Previously in this thread I read it's just the functions folder, and perhaps the arma3server file? That file I've not updated, as it's got my configuration in and I don't want to re-install the server just to fix one file. If I need to update the one main file, how do I do that without removing anything else? I want my server to stay online. Thank you all for your input.

dgibbs64 commented 9 years ago

Easiest thing to do is compare the current arma3server file with the new one. Copy all your changes across and overwrite the current one. Recent updates only change the functions in the file and not configuration. Eventually I will move everything out of that file so it never needs to be updated. Remember to backup your server and only do it when the server is empty so you can test.

KeanePW commented 9 years ago

Got all my logs (they're in netlog files). Got all the updates (that solved any errors). Can't wait for the update where it's easy to update the main file. It was pretty easy anyway, didn't even need to stop my server. Just renamed my old file, downloaded new, made edits to the file and ran the commands I need. Everything is working as expected. This is an awesome script.

dgibbs64 commented 9 years ago

Good stuff. I like to think its pretty awesome :+1: I will close this issue now its fixed :)

Scarsz commented 9 years ago

Glad everything is working as it should. :)

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.