I spent the weekend trying to set up the Contest Management System (CMS) used during IOI 2012 and 2013 for the coming Malaysia Computing Olympiad (MCO). After some tinkering, I manage to get the CMS to work, and we plan to have a trial soon.
I am using v1.0.1 of CMS (get a copy here) on Ubuntu 12.04 LTS. Take note that if you are using v1.0.1, then you must use the 32-bit version of Ubuntu (or any other OS). The documentation is very complete, but there are some tiny problems that I have to figure out myself.
$ git clone https://github.com/cms-dev/con_test.git
$ cmsYamlImporter con_test
token_gen_timefor individual task is not reflected.
cmsResourceService -a, you need to run
cmsRankingWebServer &, or
nohup cmsRankingWebServer &on actual production server.
cmsResourceService -a, all the child processes restart over and over again, as mentioned here, kill the
cmsResourceService, then run
ps auxand look for the entry for
cmsLogService. Take note how the how line looks like. Most likely, it is something like
/usr/bin/python2 /usr/local/bin/cmsLogService. Now check your
cms.confaround line 143, make sure each component matches what you see in
ps aux. Most likely you will have to change