Post by *Nastyhotshots* on Nov 4, 2013 18:26:00 GMT
Strange thing happened today after rebooting the linux box. Lost all permissions for the server launch commands. So I had to do the chmod a+x for each binary. First time thats happened. Secondly, I can not figure out why the linux is not showing the correct disc space available. It goes under 1 gig available space sometimes when there is over 100 gig free on the actual drive. I have googled this but yet to figure it out.
I am also wondering if there is a way to write a startup script for each server so once its rebooted all servers start without me having to manually launch each one from the terminal within the games individual directory. Thats quit time consuming, even more so if I have to alter permissions for the binaries.
Well that sounds like a pile of gobblie gook but I hope u know what I am getting at.
Last thing, there is a lot of files I have deleted over the last few weeks in the trash folder. How do I delete those to free up space can not access it for some reason.
Not to sure why permissions changed, have you done a big update of server maybe. I know there must be away of setting this up so all servers restart on reboot or restart when games server stopss running. i found this not to sure if it is what you want
Once the server.cfg file is setup, you are ready to run the server itself. To start the server up, all you need to do is run a command line like this:
nohup quake3 +set dedicated 1 +exec server.cfg &
That will bring the server up. Now people can connect to your server. For people who can't watch the server 24/7 you can use a cronjob with a script to keep the server up. Below is an example of a script you could possibly use:
This script you could either put in your $home/bin or somewhere on the server, and have cron run it every 5 to 10 minutes by adding this line in a cron file:
Post by *Nastyhotshots* on Nov 12, 2013 15:24:03 GMT
Not totally sure what went on but my ports went funny, not working one minute then working the next. I have done a clean wipe of server and reinstalled everything. Things seem to be OK now just cant figure out why the teamspeak ports don't work even though I have open 9987, 10011, 30033 all of which are used and needed by the teamspeak server. Also confused as to why the Linux does not show correct available space on drive. The drive was new, unused only 150 gig but enough for this purpose. Windows 7 installed and all updated for that then Linux installed through windows. When u go into windows file manage shows the correct available space which is no where near what Linux does. I will get my head around it. cheers for the good informative reply.
Post by *NastyJoBb3r* on Nov 12, 2013 23:27:29 GMT
Hi Linux may only show the partition it is installed on. I will look to see if I can find out why this us happening. I know when I have done a windows, linux dual install you have yo have a partition which has nothing on it yo install linux to. Once it is installed you cab see the Windows files.