[OJ-AP] OnlineJudge Sandbox Error after updates

9 views
Skip to first unread message

Tom Hill

unread,
Apr 26, 2010, 11:53:34 AM4/26/10
to Sunner Moodle Plugins
My students are getting status error:
Internal Error (Sandbox error. Report to admin please.)
after update to 1.1.1

From 1.0, I copied 1.1. onlinejudge folder to ../mod/assignment/type

Logged in as admin.
went to ../admin/index.php

An sql table updated.

Next, copied 1.1.1 onlinejudge to same ../mod/assignment/type

When I logged in as admin no script ran.

To restore original function, I copied 1.0 onlinejudge folder back,
and 1.0 is working.

--
You received this message because you are subscribed to the Google Groups "Sunner Moodle Plugins" group.
To post to this group, send email to sunner-moo...@googlegroups.com.
To unsubscribe from this group, send email to sunner-moodle-pl...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sunner-moodle-plugins?hl=en.

Zhigang Sun

unread,
Apr 26, 2010, 8:04:47 PM4/26/10
to sunner-moodle-plugins
Sorry for the inconvenience.

Since 1.1.1 doesn't change the sandbox, the problem is a little weird.

First check your syslog. If it is the sandbox problem, there should be many "sand: ------------result code:255------------" in syslog. 

If no 255 code in syslog, check the permissions of onlinejudge/sandbox/sand and onlinejudge/languages/*.sh. They must be readable and executable to apache. 

The weird thing is that 1.1.1 uses these executable file in the same way with 1.0
--
哈尔滨工业大学(Harbin Institute of Technology)
孙志岗(Sun Zhigang)
http://sunner.cn
Reply all
Reply to author
Forward
0 new messages