Arma 2 Server Control Panel

Posted by on Apr 28, 2012 in Informational, Project | 0 comments

Arma 2 Server Control Panel

I’ve long searched for an easy to use, graphical interface for my Arma II server. I’ve searched high and low, but cannot find a control panel that is not part of some larger system like gameCP.  I am building this project to fill a very needed function.  When I get the project to the point where I would like to release it I will post links to my Jenkins CI for daily builds.  The program is Java and should run on any operating system.

Read More

Arma 2 Linux Server Wont List or Show Missions

Posted by on Apr 28, 2012 in Informational | 0 comments

Arma 2 Linux Server Wont List or Show Missions

I recently ran into a simple issue that I should have solved almost instantly, but for some reason it took me some time troubleshooting to find the solution. I recently upgraded from Arma 2 Linux Server 1.10 to 1.11. Because of the upgrade, I decided it would be wise to copy fresh game files from my client to the server. After transferring my game files and running the installer I then copied my custom maps to the MPMissions folder. I added the missions to my map list and loaded up my game. When I loaded the server it just sat there loading, so I tried using map vote. Map vote didn’t list the maps either. Frustrated I checked everything regarding my config files and other server files. It then hit me, the game files I copied are mixed case, and Linux file names are case sensitive. In the README file it said there was no need for what I call “decapitalrification”, I should have known better. I changed all the folders to their respective lower case and then everything worked great.

Problem: Arma II server not showing or loading mission files

Solution: Make sure ALL folders in your Arma II directory are lower case, MPMisisons should be mpmissions.

Hope this helps someone out who may have this same issue. If you want to play on my Arma II server, just look for BOSS – EVOLUTION in the server list.

Read More

WordPress error 500 after cpanel transfer

Posted by on Mar 15, 2012 in Informational | 0 comments

WordPress error 500 after cpanel transfer

I recently moved my webserver. After installing cpanel on the new server I used the account transfer tool within WHM to transfer all of my cpanel accounts from the old server. This process took about 2 hours and ran smoothly as it has before. After waiting for DNS to propagate, and a bit of tweaking, I loaded up Cedarboy.com in my browser and was caught off guard when I saw the dreaded

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@cedarboy.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

I felt like pulling my hair out, as I have a dozens of other sites on WordPress that were throwing the same error!

After fiddling with the EasyApache config and such I still had the same error. I tried what others suggested and removed .htaccess files from my folders, still nothing. After seeing on random google searches that related issues were suPHP, I thought to go check my PHP settings. Looking at it it seemed ‘off’ from my other server’s configuration. I noticed by default PHP 5 Handler was set to suphp instead of the old default – and my old server’s configuration of dso. I changed it to dso and all of my sites were up and running again. Since I had not configured my server for suphp or suEXEC it was freaking out and wouldn’t give permissions to run the php files in my web directories. Now that dso is enabled once again I am happy as a clam and posting about the solution -typical.

tl;dr Goto  Main >> Service Configuration >> Configure PHP and SuExec

Change PHP 5 Handler to “dso”

Good to go!

For more information on what the differences are, checkout the doc (always a good thing) on what the easyapache settings do :)

Hope I helped someone as equally frustrated.

Later days!

Read More

Motorola Xoom

Posted by on Feb 4, 2012 in Informational | 0 comments

Motorola Xoom

Got my Motorola Xoom today! I have been looking at them for quite some time because when I held one for the first time it just felt so sturdy. I LOVE things that feel sturdy and reliable. This applies to guns, phones, laptops… the list goes on. If something feels cheap to me I really don’t want to use it.

After charging it up and booting it up for the first time I got the itch. You know what I’m talking about. The best way to break in a new Android device is to void the Warranty and ROOT IT!

I found some handy tuts that covered the ins and outs of simple rooting:

http://forum.xda-developers.com/showthread.php?t=1477024
http://wiki.rootzwiki.com/Motorola_Xoom#Unlocking_the_Bootloader_.28All_Models.29

The rooting went along smoothly and I was up and toying with all my favorite apps.

Now to see if I can make a smooth looking interface for my http://cedarboy.com/informational/ultimate-carputer/!

Anywho, I’m going to play with it some more and maybe do some programming. Later Days!

Read More

Converting a physical computer into a vBox dream machine

Posted by on Nov 10, 2011 in Informational | 0 comments

Converting a physical computer into a vBox dream machine

Back in the day it was an adventure to image a system and restore it on a virtual box image. Those days are gone now that vBox now supports images from VMWare. Using the VMWare converter, you can simply use a magical wizard and have a fully functional vBox server.

To start, download the converter from VMWare on the machine you want to convert. (Yes, you’ll have to register):

VMware vCenter Converter Standalone 5.0
http://www.vmware.com/products/converter/get.html

Read More

My DIY UAV – Drone project

Posted by on Mar 27, 2011 in Informational, Project | 0 comments

My DIY UAV – Drone project

I was browsing around the web regarding beyond sight flying of R/C airplanes and I came across DIYDrones.com . This site is an amazing resource regarding amature DIY Drones. After looking through the site I made the jump and decided to do my own little project.

First I need a plane of course. I want something with a huge wingspan, something that can glide under low power. I browsed the ever popular nitroplanes.com and found a totally appropriate plane.  (http://www.nitroplanes.com/mq9.html)

I’m ordering it later this week and will post details as this project goes on. Videos will be done via QIK – in the webcam section.

http://diydrones.com

http://www.nitroplanes.com/mq9.html

Read More

Backing up with robo copy

Posted by on Feb 20, 2011 in Informational | 1 comment

Written below is a simple script I wrote to backup files using RoboCopy along with BLAT and 7zip to zip the log file and send it with an email confirmation. It is very basic and i’m sure there are other ways to do this, but I wanted to have some fun. It requires robocopy, 7zip and BLAT to work correctly.

REQUIRED PROGRAMS:
7zip command line tool:
http://www.7-zip.org/download.html

BLAT emailer:
http://www.blat.net/

After downloading 7zip and BLAT just throw the executables in your c:\windows\system32 folder so they can be accessed easily. I know this isnt the best way to go about it, if you would rather not put them in the system32 folder simply prefix the commands with their respective location.

@echo off

rem LET GET SOME THINGS OUT OF THE WAY BEFORE THE GOOD STUFF

rem SETS THE DATE VARIABLE

set mm=%DATE:~4,2%
set dd=%DATE:~7,2%
set yyyy=%DATE:~10,4%

rem date variable to use for anything you want the date inserted: %yyyy%-%mm%-%dd%

rem ***********************************************************************
rem SET THE BACKUP SOURCE AND DESTINATION DIRECTORIES
rem ***********************************************************************

set source1=C:\
set destination1=e:\

set source2=C:\
set destination2=e:\

set source3=C:\
set destination3=e:\

set source4=D:\
set destination4=E:\

set source5=D:\
set destination5=E:\

set source6=D:\
set destination6=e:\

set source7=D:\
set destination7=E:\

set source8=D:\
set destination8=E:\

set source9=D:\
set destination9=E:\

set source10=D:\
set destination10=E:\

set source11=D:\
set destination11=E:\

set source12=D:\
set destination12=E:\

rem ************************************************************************
rem LOG FILE SETTINGS
rem ************************************************************************

rem ROOT FILE LOCATOIN
set dir="e:"

rem ************************************************************************
rem EMAIL SETTINGS -- REQUIRES BLAT EMAILER http://blat.net
rem ************************************************************************

rem SUBJECT
set subj=BACKUP LOG FOR %yyyy%-%mm%-%dd%

rem RECIPIENT EMAIL
set recip=test@tester.com

rem FROM EMAIL ACCOUNT
set emailadd=mail@mail.com

rem SMTP SERVER
set smtps=mail.mail.com

rem SMTP USERNAME
set smtpu=mail@mail.com

rem SMTP PASSWORD
set smtpp=emailpass

rem ***********************************************************************

echo GENERATING LOG FOLDER > con

mkdir %dir%\logs\%yyyy%-%mm%-%dd%

echo THE PROCESS IS ABOUT TO START... > con

msg * /TIME:1 THE PROCESS IS ABOUT TO START...

msg * /TIME:1 BACKUP STARTING...

echo STARTING BACKUP...

rem ***********************************************************************
rem Robocopy backups
rem ***********************************************************************

robocopy "%source1%" "%destination1%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source2%" "%destination2%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source3%" "%destination3%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source4%" "%destination4%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source5%" "%destination5%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source6%" "%destination6%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source7%" "%destination7%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source8%" "%destination8%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source9%" "%destination9%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source10%" "%destination10%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source11%" "%destination11%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"
robocopy "%source12%" "%destination12%" /E /R:5 /W:2 /log+:"%dir%/logs/%yyyy%-%mm%-%dd%/backup.txt"

rem ***********************************************************************

echo BACKUP COMPLETE! > con

rem BACKUP IS COMPLETE, NOW WE NEED TO ZIP AND SEND THE LOG FILE

rem THIS CREATES THE EMAIL WITH THE ATTACHED LOG FILE

echo GENERATING EMAIL... > con
echo BACKUP COMPLETE FOR %yyyy%-%mm%-%dd%, attached is the log file for the operation. > %dir%\logs\%yyyy%-%mm%-%dd%\email.txt
echo COMPRESSING LOG FILE... > con

rem ***********************************************************************
rem zips the log file, because its probably huge
rem ***********************************************************************

7za a -tzip %dir%\logs\%yyyy%-%mm%-%dd%_log.zip %dir%\logs\%yyyy%-%mm%-%dd%

echo SENDING LOG FILE > con

blat %dir%\logs\%yyyy%-%mm%-%dd%\email.txt -attach %dir%\logs\%yyyy%-%mm%-%dd%_log.zip -to %recip% -f %emailadd% -s "%subj%" -server %smtps% -u %smtpu% -pw %smtpp%

echo BACKUP OPERATION COMPLETE! >con
msg * /TIME:5 BACKUP OPERATION COMPLETE! Email sent to %recip%


Read More