sample_work_generator is not running

Message boards : Server programs : sample_work_generator is not running
Message board moderation

To post messages, you must log in.

AuthorMessage
Huiping Yao

Send message
Joined: 21 Jun 08
Posts: 27
China
Message 18363 - Posted: 11 Jul 2008, 14:18:20 UTC

hi,everyone

I have set up BOINC Server project successfully using test app, but when add wrapper/worker according to
http://boinc.berkeley.edu/trac/wiki/WrapperApp, after bin/status finding that Daemon sample_worker_generator is not running.
and the messages in sample_work_generator.log is as follows:

[2008/07/11 21:35:01] Executing command: sample_work_generator -d 3
Unrecognized XML in SCHED_CONFIG::parse: cgi_url
Skipping: http://192.168.151.75/boinc080710_cgi/
Skipping: /cgi_url
Unrecognized XML in SCHED_CONFIG::parse: disable_account_creation
Skipping: 0
Skipping: /disable_account_creation
Unrecognized XML in SCHED_CONFIG::parse: log_dir
Skipping: /var/www/boinc_projects/log_debian
Skipping: /log_dir
Unrecognized XML in SCHED_CONFIG::parse: app_dir
Skipping: /var/www/boinc_projects/apps
Skipping: /app_dir
Unrecognized XML in SCHED_CONFIG::parse: host
Skipping: debian
Skipping: /host
Unrecognized XML in SCHED_CONFIG::parse: show_results
Skipping: 1
Skipping: /show_results
2008-07-11 21:35:02.2927 [normal ] Starting
2008-07-11 21:35:02.2928 [debug ] Making 49 jobs
Too few input files given; need at least 2
process_wu_template: -112
2008-07-11 21:35:02.2932 [CRITICAL] can't make job: -112

is it because the sample_work_generator.c which is suitable for uppercase? Or anyther reasons?

Any idea is appreciated.
ID: 18363 · Report as offensive
Kunsheng Chen

Send message
Joined: 3 Jun 08
Posts: 40
United States
Message 18593 - Posted: 17 Jul 2008, 19:27:48 UTC - in response to Message 18363.  

Have you ever modified the code inside sample_work_generator or just copy the executable files from boinc source? The templates name inside the sample_work_generator.C might be different from the ones you are using.

Try to write your own sample_work_generator and it will work.

Also you could run './bin/sample_work_generator' inside project directory to see more information than looking into the log.


hope it helps.
ID: 18593 · Report as offensive
Profile Ananas

Send message
Joined: 27 Jun 06
Posts: 305
Germany
Message 18630 - Posted: 19 Jul 2008, 2:08:12 UTC

One hint that might help :

XML tags that contain single values need to be in a separate line each and have to be contained in a single line.

BOINC will not handle additional line feeds within an XML tag and it will have trouble with multiple tags in one line.
ID: 18630 · Report as offensive

Message boards : Server programs : sample_work_generator is not running

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.