quark-zju / ljudge

a backend tool for an online judge system
Other
66 stars 15 forks source link

lrun exited with non-zero (1) #17

Closed dinggz1982 closed 4 years ago

dinggz1982 commented 4 years ago

正确安装了,但测评报错lrun exited with non-zero : { "compilation": { "log": "", "success": true }, "testcases": [ { "error": "lrun exited with non-zero (1)", "result": "INTERNAL_ERROR" }, { "error": "lrun exited with non-zero (1)", "result": "INTERNAL_ERROR" } ] }

dinggz1982 commented 4 years ago

解决了,安装lrun之前要先安装libseccomp-devel,我的centos系统,故运行:yum install libseccomp-devel. 安装完后用lrun --version看看,显示: libseccomp support: yes debug support: yes 这样再安装ljudge,就可以正常运行了。 如果显示: libseccomp support: no debug support: yes 就要重新安装lrun,我是重置了系统。

quark-zju commented 4 years ago

也可以通过 ljudge --check 来排查问题。