DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
709 stars 248 forks source link

DOMjudge doesn't run the Submissions #150

Closed nielswiles closed 9 years ago

nielswiles commented 9 years ago

Hi, I have another question. After I submit a solution, the "result" keeps "PENDING" and doesn't change. I checked the logs and nothing new appeared. I hope there is a solution for this. Thanks DOMjudge.

eldering commented 9 years ago

Did you start a judgedaemon process and is that running?

nielswiles commented 9 years ago

When I run judgedaemon, it look like this: ./judgedaemon [Nov 16 23:03:57] judgedaemon[17850]: Judge started on vultr [DOMjudge/4.0.4] [Nov 16 23:03:57] judgedaemon[17850]: Not using cgroups. Using cgroups is highly recommended. See the manual for details. [Nov 16 23:03:57] judgedaemon[17850]: error: Error while executing curl POST to url http://localhost/domjudge/api/judgehosts: http status code: 404, response:



404 Not Found

Not Found

The requested URL /domjudge/api/judgehosts was not found on this server.


Apache/2.2.15 (CentOS) Server at 108.61.160.191 Port 9090

By the way, I can't see any /etc/default/grub or update-grub command in the cgroups docs. And when I run ./configure and make build, It has error: make[1]: * [submit] Error 1 make[1]: Leaving directory `/domjudge/submit' make: * [build] Error 1

eldering commented 9 years ago

404 means page not found. Are you running the webserver on the same host, and is the url correct?

Also, please next time ask questions via the mailinglist (or on IRC if you like), the issue tracker is meant for bugs, feature requests and such.

Jaap

nielswiles commented 9 years ago

Hi, Where should I ask in the mailinglist? And by the way I solved the above problems by reinstall DOMjudge but is there anyway to judgedaemon run in background? When I want to compile the submissions, I have to connect to server and run ./judgedaemon all the times. I have added etc/sudoers-domjudge to /etc/sudoers.d/

thijskh commented 9 years ago

Good that it is solved. See http://domjudge.org/development under "Mailinglists" for information on where to send questions.

There's an init script in https://github.com/DOMjudge/domjudge-packaging/blob/master/debian/domjudge-judgehost.init that should work with some changes. We're working on moving that to the main distribution (#145).