Hi, I am install domjudge on centos 6. I have some problem: 1. I can not find how to edit grup when try find file contain GRUB_CMDLINE_LINUX_DEFAULT
2. When I try run bin/judgedaemon, It show error:
[Jul 22 07:39:41.424] judgedaemon[21360]: Judge started on laptrinh [DOMjudge/5.3.2]
[Jul 22 07:39:41.428] judgedaemon[21360]: Registering judgehost on endpoint http://localhost/domjudge/api
[Jul 22 07:39:41.439] judgedaemon[21360]: error: Error while executing curl POST to url http://localhost/domjudge/api/judgehosts: couldn't connect to host
I try to change localhos to main domain in restapi.secret file but it have same error:
[Jul 22 08:05:24.360] judgedaemon[23100]: Judge started on laptrinh [DOMjudge/5.3.2]
[Jul 22 08:05:24.365] judgedaemon[23100]: Registering judgehost on endpoint http://ictu.olp.cachhoc.net/domjudge/api
[Jul 22 08:06:27.374] judgedaemon[23100]: error: Error while executing curl POST to url http://ictu.olp.cachhoc.net/domjudge/api/judgehosts: couldn't connect to host
Please help me fix 2 bug. Thanks!
They are not bugs.
1. cd to /etc then grep -r . -e "GRUB_CMDLINE_LINUX_DEFAULT" 2. let's check your webserver (nginx, apache) is working
On Sun, Jul 22, 2018, 19:19 Nguyễn Văn Quân nguyenvanquan7826@gmail.com wrote:
Hi, I am install domjudge on centos 6. I have some problem:
- I can not find how to edit grup when try find file contain
GRUB_CMDLINE_LINUX_DEFAULT
- When I try run bin/judgedaemon, It show error:
[Jul 22 07:39:41.424] judgedaemon[21360]: Judge started on laptrinh [DOMjudge/5.3.2]
[Jul 22 07:39:41.428] judgedaemon[21360]: Registering judgehost on endpoint http://localhost/domjudge/api
[Jul 22 07:39:41.439] judgedaemon[21360]: error: Error while executing curl POST to url http://localhost/domjudge/api/judgehosts: couldn't connect to host
I try to change localhos to main domain in restapi.secret file but it have same error:
[Jul 22 08:05:24.360] judgedaemon[23100]: Judge started on laptrinh [DOMjudge/5.3.2]
[Jul 22 08:05:24.365] judgedaemon[23100]: Registering judgehost on endpoint http://ictu.olp.cachhoc.net/domjudge/api
[Jul 22 08:06:27.374] judgedaemon[23100]: error: Error while executing curl POST to url http://ictu.olp.cachhoc.net/domjudge/api/judgehosts: couldn't connect to host
Please help me fix 2 bug. Thanks!
-- _________________________ Name: Nguyen Van Quan Come from: Bac Ninh, Viet Nam Email: nguyenvanquan7826@gmail.com Blog: nguyenvanquan7826.com Phone: +84.96.567.7826 <096%20567%2078%2026> _______________________________________________ DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel