The way I debug the CGI is:

- get the scheduler request file (sched_request_*.xml) from a client
  for which the scheduler RPC is failing,
  and put it in the project's cgi-bin directory
- gdb cgi
- r < request_file

If it's a permissions problem, you could do the last 2 steps
logged in as the Apache user.

-- David

On 01-Jun-2014 3:18 AM, Christian Beer wrote:
Hi Nicolas,

are you by any chance using a plan_class_spec.xml file for this test?
I'm currently troubleshooting a similar problem with rebirther from the
bitcoinutopia project.

Everything is fine until we add the <opencl/> tag to the opencl_ati_101
plan_class in the plan_class_spec.xml

Regards
Christian

Am 28.05.2014 01:49, schrieb Nicolas Rakover:
Hi all,

I've set up a project on the Debian VM, but I'm having problems delivering
tasks to clients. When a client makes a scheduler request, something goes
wrong with the CGI binary. I've tracked things down and have the following
clues:

- my apache error.log file outputs the following for each client request:
      Premature end of script headers: cgi

- nothing shows up at all on the scheduler logs. It looks like the
scheduler isn't being called at all

- however, I can run the CGI binary just fine from GDB, and things show up
in scheduler.log indicating that this works fine

Any idea what could be going on or where I should look next?

Thanks,
Nico


_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to