Tmux issue
I get this now and again have to kill TMUX to get the server to restart
http://pastebin.com/WTGswpKi
./arma3server details
./arma3server debug
I am having a very similar issue myself while running this script. The server will start up fine if I use the startup command manually (by switching into /arma3server/serverfiles/) but when using the script I get the following "tmux errror
Logs: ./arma3server start: http://pastebin.com/jKJjVNPZ ./arma3server details: http://pastebin.com/u0c0fX72 ./arma3server debug: http://pastebin.com/k9131KPA
It might be a problem with /dev/pts being mounted to your container (based on your root filesystem being a loopback device).
Does your system have any problem with starting a generic tmux session?
Just issue tmux, Then type 'exit'.
I now get this error, I wont run Debug because it breaks my mods...... [ .... ] Starting arma3-server: no server running on /tmp/tmux-1003/default [ FAIL ] Starting arma3-server: Unable to start BPTanoaExile1.0Revive|Advancemods|Tanks|
http://pastebin.com/5ZsYheXv Details...
Also How do you get it to restart using a crontab? everytime i try to run it, i get errors about tmux I've tried restart as well my crontab http://pastebin.com/wyZw7Nxq
Here is how you do crontabs : https://github.com/dgibbs64/linuxgsm/wiki/Automation
Edit : For your other issue, i don't know. Any logs ?
script log http://pastebin.com/v7Rra6gp the console log shouldn't matter since it wont actually start the server.......
funny thing is i had it running 1 second before that happen all i did was issue the restart command
No server console logs generated since it fails to start ? Take note that i'm trying to help without having ever made an Arma3 server. I know more about LGSM than Arma3.
I just saw your start parameters, they seem to be on several lines. Is that an issue with pastebin's formatting, or is it really like that ? I'd simplify the start parameters and try again to see if it's due to that first. Starting with debug function would help too to isolate a possible issue with tmux.
thats a paste bin issue.. it wouldn't have a console log because it never gets to the point of the start command, it fails way before then. it had logs right before i restarted the arma server. The debug functions kills my mods, then I therefor would have to reinstall them to my box.
This is definitely a problem with tmux rather than LGSM. However what is causing the issue I dont know. So you wont get much of an output from logs apart from teh error you get given from tmux. I recommend Googling the error "protocol version mismatch (client 8, server 7)" and see what comes up.
@dgibbs64 The problem evolved, i suppose after what Cedar said. Now it's "no server running on /tmp/tmux-1003/default" I'm just thinking about it : what if you got a ghost tmux session running preventing the new one from opening ?
ps auxn | grep tmux
ps auxn | grep arma3
I didn't have either running.
a reinstall fixes it 3rd time now.
but as far as crontabs go still doesn't work gives me an error..
this paste bin is from my mail logs from the crontabs
http://pastebin.com/bXS3BeZr doesn't make sense since I can run the command and it works...
Did you fix your crontabs as i suggested in the first place ? Your syntax is not what we suggest, and all those "stop/start"... The "restart" function would be way more efficient as it does the exact same thing, but without any delay.
yes, I did. I attempted to use root as well and now my regular account is locked out of starting the server great.............
What do you mean locked out ? Can you show your user and root cronjobs ? Also, is it now working correctly, cronjobs appart ?
If I could get the server running then it would be working but since, Tried to get root to issue the command It now has locked me out of executing the ./arma3server
root cron http://pastebin.com/V7BAei1Z /var/spool/mail/ log http://pastebin.com/AcBtEied
I have since deleted the user cronjob but still have the /var/spool/mail/ for said user and the cronjobs were copied and pasted from the example linked above but with my settings http://pastebin.com/CG3vL8S1
I get this when I am the user trying to start the server..
bash-4.2$ ./arma3server start bash: ./arma3server: Permission denied I have all the files Chmod 777 so I know any one could execute it.
Your cronjobs seem fine now.
You possibly messed up permissions: Who owns arma3server and other files ?
ls -al
Arma3server user does.. which i dont understand why it would all of a sudden say that user doesn't. if I chmod 0777 everything that has to do with the server it would allow everyone and their mother to edit/run/view so I dont see how that would change it.
bash-4.2$ ./arma3server start bash: ./arma3server: Permission denied
Doesn't look like you're logged to the user, otherwise it would be something like
arma3server$ ./arma3server start
It is logged in as arma3server. http://pastebin.com/YGdrCqNh
Its worked 99% of the time since I started the server minus the hiccups.
That "-bash-4.2$" is kinda disturbing.
Show us your output of :
ls -al /home/arma3server
And ls -al /home/arma3server/lgsm/functions