First of all, please do keep replies going to the list.
On 11-11-15 12:51, adi ansyah wrote:
> yes, i'm using domjudge live image, domjudge-live_2015-08-23 with
> domjudge version 5.0.0.
Ok, strange. I've just tested that live image and Java submissions
compile fine here.
> did i need to check the chroot too?
No, sorry, that's not relevant for compiler errors.
> here is the log :
[...]
>
> the full log is attached.
> thx
Unfortunately the logs don't show any useful errors. Could you please
look on the domjudge-live image under
/var/lib/domjudge/judgings/domjudge-live-0/endpoint-default
There should be subdirectories of the form cX-sYY-jZZ for each
submission/judging there. Check in the webinterface what one of the java
compiler-errror's submission and judging ID is and please send a zip
file of that directory. The files compile.{out,tmp,meta} may contain
some clues as to what goes wrong.
Jaap
> On Wed, Nov 11, 2015 at 8:24 PM, Jaap Eldering <jaap@jaapeldering.nl
> > DOMjudge-devel@domjudge.org <mailto:DOMjudge-devel@domjudge.org>> <mailto:jaap@jaapeldering.nl>> wrote:
>
> Hi Adi Ansyah,
>
> First, which version of DOMjudge are you using? Is this on the live
> image?
>
> If not, did you build a chroot environment with the script
> dj_make_chroot and enable it in etc/judgehost-config.php? See the
> documentation: https://www.domjudge.org/docs/admin-manual-8.html#ss8.1
>
> Finally, to trace down the problem, please send us the judgedaemon log
> file, which should be located under
> $PREFIX/domjudge/judgehost/log/judge.$HOSTNAME.log
>
> Jaap
>
>
> On 11-11-15 07:34, adi ansyah wrote:
> > i ask my friends to try a testing contest with Hello world as the
> > question problem.
> > i find that every single "java" code is rejected with message
> > "compiler-error".
> > but no problem when they upload C code.
> >
> > here is the java code :
> >
> > public class hello {
> >
> > public static void main(String[] args) {
> > System.out.println("Hello world!");
> > }
> >
> > }
> >
> > here is the error message as admin :
> >
> >
> > Compilation unsuccessful
> >
> > Compiling aborted after 1 seconds, compiler output:
> > /usr/sbin/runguard: warning: timelimit exceeded (hard wall time):
> aborting command
> > /usr/sbin/runguard: warning: command terminated with signal 15
> > /usr/sbin/runguard: warning: timelimit exceeded (soft wall time)
> >
> >
> >
> > _______________________________________________
> > DOMjudge-devel mailing list
> > https://www.domjudge.org/mailman/listinfo/domjudge-devel
> >
>
> _______________________________________________
> DOMjudge-devel mailing list
> DOMjudge-devel@domjudge.org <mailto:DOMjudge-devel@domjudge.org>
> https://www.domjudge.org/mailman/listinfo/domjudge-devel
>
>